Hi, Chen, I don't know how you are doing it. however, per my limited knowledge, it is easy with flexmix package.
On Thu, Apr 3, 2008 at 6:26 AM, Hung-Hsuan Chen (Sean) <[EMAIL PROTECTED]> wrote: > Dear R users: > I am wondering how to ask for *fixed* number of distributions under > parameterized Gaussian mixture model. > > I know that em() and some related functions can predict the > parameterized Gaussian mixture model. However, there seems no > parameter to decide number of distributions to be mixed (if we known > the value in advance). > > That is, assume I know the (mixed)data is from 3 different > distributions. The output, however, may indicate that number of > distributions that form the data is 4. How can I assign number of > distributions is 3 in advance? > > Thanks a lot for your help. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- =============================== WenSui Liu ChoicePoint Precision Marketing Phone: 678-893-9457 Email : [EMAIL PROTECTED] Blog : statcompute.spaces.live.com ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.