Distributed

Distributed[x, dist]
or asserts that the random variable x is distributed according to the probability distribution dist.

Distributed[{x1, x2, ...}, dist]
or asserts that the random vector is distributed according to the multivariate probability distribution dist.

DetailsDetails

  • can be entered as x EscdistEsc dist or .
  • is a symbolic object used in functions such as Probability and Expectation.
  • The probability distribution dist can be any symbolic probability distribution specification.

ExamplesExamplesopen allclose all

Basic Examples (3)Basic Examples (3)

Compute the probability of an event in a symbolic probability distribution:

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

Obtain the numerical value directly using NProbability:

In[3]:=
Click for copyable input
Out[3]=

Compute the expectation of a function in a multivariate probability 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]=

Mean and variance for the distribution obtained by transformation of a random variable:

In[1]:=
Click for copyable input
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 »