TransformedDistribution

TransformedDistribution[expr, xDistributeddist]
represents the transformed distribution of expr where the random variable x follows the distribution dist.

TransformedDistribution[expr, {x1, x2, ...}Distributeddist]
represents the transformed distribution of expr where follows the multivariate distribution dist.

TransformedDistribution[expr, {x1Distributeddist1, x2Distributeddist2 , ...}]
represents a transformed distribution where , , ... are independent and follow the distributions , , ....

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples (3)Basic Examples (3)

Simple transformations of random variables:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=

Transformed distributions can be used like any other distribution:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=

Shift a discrete distribution:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
New in 8
New to Mathematica? Find your learning path »
Have a question? Ask support »