Skip to content
Prev 25973 / 398502 Next

Mixture of Multivariate Gaussian Sample Data

Hey, I am confused about how to generate the sample data from a mixture of
Multivariate Gaussian ditribution.
For example, there are 2 component Gaussian with prior
probability of 0.4 and 0.6,
the means and variances are
u1=[1 1]', Cov1=[1 0;0 1]
and
u2=[-1 -1]', Cov2=[1 0;0 1]
repectively.

So how can I generate a sample of 500 data from the above mixture
distribution?

Thanks.

Fred