Re: [R] normal mixture model

2009-07-27 Thread cindy Guo
Hi, Christian, Yes, it works. Thank you very much. It's really helpful. Cindy On Mon, Jul 27, 2009 at 5:39 AM, Christian Hennig wrote: > Hi Cindy, > > you need the summary function > >> mclustsummary <- summary(mclustBICoutputobject,data) >> > to get all the information. Some (like best model)

Re: [R] normal mixture model

2009-07-27 Thread Christian Hennig
Hi Cindy, you need the summary function mclustsummary <- summary(mclustBICoutputobject,data) to get all the information. Some (like best model) is given if you just print out the summary object. Some other information (like estimated parameter values) are accessible as components of the summar

Re: [R] normal mixture model

2009-07-26 Thread cindy Guo
Hi, Christian, Thank you for the reply. I just tried. Does the function mclustBIC only give the best model, or does it also do EM to get the cluster means and variances according to the best model it picks? I didn't find it. Is there a way to automatically select the best number of components and

Re: [R] normal mixture model

2009-07-26 Thread Christian Hennig
You can use mclustBIC in package mclust (uses the BIC for deciding about the number of components and hierarchical clustering for initialisation). Christian On Sun, 26 Jul 2009, cindy Guo wrote: Hi, All, I want to fit a normal mixture model. Which package in R is best for this? I was using

[R] normal mixture model

2009-07-26 Thread cindy Guo
Hi, All, I want to fit a normal mixture model. Which package in R is best for this? I was using the package 'mixdist', but I need to group the data into groups before fitting model, and different groupings seem to lead to different results. What other package can I use which is stable? And are the