|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
TransformedDistribution
TransformedDistribution[expr, x
dist]
represents the transformed distribution of expr where the random variable x follows the distribution dist.
TransformedDistribution[expr, {x1, x2, ...}
dist]
represents the transformed distribution of expr where
follows the multivariate distribution dist.
TransformedDistribution[expr, {x1
dist1, x2
dist2 , ...}]
represents a transformed distribution where
,
, ... are independent and follow the distributions
,
, ....
Details and OptionsDetails and Options
can be entered as x EscdistEsc dist or
. - TransformedDistribution will simplify to known special distributions whenever possible.
- TransformedDistribution can be used with such functions as Mean, CDF, and RandomVariate, etc.
ExamplesExamplesopen allclose all
Basic Examples (3)Basic Examples (3)
Simple transformations of random variables:
| In[1]:= |
| Out[1]= |
| In[2]:= |
| Out[2]= |
| In[3]:= |
| Out[3]= |
| In[4]:= |
| Out[4]= |
Transformed distributions can be used like any other distribution:
| In[1]:= |
| Out[1]= |
| In[2]:= |
| Out[2]= | ![]() |
| In[3]:= |
| Out[3]= |
| In[4]:= |
| Out[4]= |
Shift a discrete distribution:
| In[1]:= |
| Out[1]= |
| In[2]:= |
| Out[2]= | ![]() |
| In[3]:= |
| Out[3]= |
New in 8
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »


