Re: [R] simulating Gaussian Mixture Method

2008-06-15 Thread Bill.Venables
June 2008 3:48 PM To: R-help@r-project.org Subject: [R] simulating Gaussian Mixture Method Hi, I have a mixture pdf which has three components, each satisfies the 6 dimension normal distribution. I use mvrnorm() from the MASS library to generate 1000 samples for each component and I a

Re: [R] simulating Gaussian Mixture Method

2008-06-15 Thread Moshe Olshansky
the first one if X < p1, the second one if p1 <= X < p1+p2 and the third one if X >= p1+p2. --- On Mon, 16/6/08, Peng Jiang <[EMAIL PROTECTED]> wrote: > From: Peng Jiang <[EMAIL PROTECTED]> > Subject: [R] simulating Gaussian Mixture Method > To: R-help@r-projec

[R] simulating Gaussian Mixture Method

2008-06-15 Thread Peng Jiang
Hi, I have a mixture pdf which has three components, each satisfies the 6 dimension normal distribution. I use mvrnorm() from the MASS library to generate 1000 samples for each component and I add them to get the random samples which satisfies with the mixture distribution. I us