[R] Simulating Gaussian Mixture Models
chenxh007 at gmail.com
Mon Jun 23 05:06:41 CEST 2008
First, simulate a uniform r.v on [0,1] and then cast it to binary label
according to your underlying mixing probability;
Second, simulate a Gaussian r.v. in above selected component.
Of course, you can vecterize the two steps to simply your code.
Peng Jiang 写道:
> Is there any package that I can use to simulate the Gaussian Mixture
> Model , which is a mixture modeling method that is widely used in
> statistical learning theory.
> I know there is a mclust, however, I think it is a little bit
> different from my problem.
> Thanks very much..
> Peng Jiang
> Ph.D. Candidate
> Antai College of Economics & Management
> Department of Mathematics
> Shanghai Jiaotong University (Minhang Campus)
> 800 Dongchuan Road
> 200240 Shanghai
> P. R. China
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help