Is it possible to see the step-by-step calculation done by TransformProduct function in MathStatica package?
1 Answer
The mathStatica package has an option called VerboseMode
which, if activated, states:
VerboseMode[On]
VerboseMode is now On: integrals sent off to Mathematica will be shown.
Generally, this works as stated. As an example, if you have a random variable $X$ with pdf $f(x)$:
and seek say the $r^{\text{th}}$ order statistic, with VeboseMode on
, then Mathematica returns:
.. showing each integral performed by Mathematica, the assumptions used, and the result of each integral.
In the case of the TransformProduct
function that the OP asks about, this does not currently work as advertised. I am not sure if this is an oversight, or if because there can be so many integrals involved, and that the way they are combined is not obvious to the end-user, that it might not be ultimately helpful. To illustrate, let us suppose we have 2 random variables, $X$ with pdf $f(x)$:
and $Y$ with pdf $g(y)$:
and we seek the pdf of the product $X Y$:
There are so many integrals involved, which are then added and combined in various ways, that providing the integral inputs and outputs might not be valuable.
At the same time, if VerboseMode
states that it shows the integrals performed by Mathematica, then I think the function should do what it says ... and this is something that should, I think, be rectified in a future release.
packages
tag with over 450 postings attributed to same. Do you also want to shut down all questions about Combinatorica,or the Groebner basis packages, or the dozens of Wolfram add-on packages, etc? $\endgroup$