MarginalDistribution

MarginalDistribution[dist,k]

represents a univariate marginal distribution of the k coordinate from the multivariate distribution dist.

MarginalDistribution[dist,{k1,k2,}]

represents a multivariate marginal distribution of the {k1,k2,} coordinates.

Details

• The distribution dist can be either a discrete or continuous multivariate distribution.
• For a discrete multivariate distribution dist with PDF , the PDF of MarginalDistribution[dist,{k1,,km}] is given by where ξ={xk1,,xkm}.
• For a continuous multivariate distribution dist with PDF , the PDF of MarginalDistribution[dist,{k1,,km}] is given by where ξ={xk1 ,,xk m }.
• MarginalDistribution can be used with such functions as Mean, CDF, and RandomVariate, etc.

Examples

open allclose all

Basic Examples(3)

One-dimensional marginal distributions:

 In[1]:=
 Out[1]=
 In[2]:=
 Out[2]=

Two-dimensional marginal distributions:

 In[1]:=
 Out[1]=
 In[2]:=
 Out[2]=

Marginal distributions can be used like any other distribution:

 In[1]:=
 Out[1]=
 In[2]:=
 Out[2]=
 In[3]:=
 Out[3]=