# 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 all close all

## Basic Examples(3)

One-dimensional marginal distributions:

 In:= Out= In:= Out= Two-dimensional marginal distributions:

 In:= Out= In:= Out= Marginal distributions can be used like any other distribution:

 In:= Out= In:= Out= In:= Out= ## Neat Examples(1)

Introduced in 2010
(8.0)
|
Updated in 2016
(10.4)