Re: [R] Latent class analysis, selection of the number of classes

2011-05-26 Thread Daniel Malter
Thanks everybody. -- View this message in context: http://r.789695.n4.nabble.com/Latent-class-analysis-selection-of-the-number-of-classes-tp3545538p3554357.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing li

Re: [R] Latent class analysis, selection of the number of classes

2011-05-24 Thread Christian Hennig
call output for a range a latent classes, and evaluate solutions. The commands are very simple. David Joubert Date: Tue, 24 May 2011 12:30:01 +0100 From: chr...@stats.ucl.ac.uk To: dan...@umd.edu CC: r-help@r-project.org Subject: Re: [R] Latent class analysis, selection of the number of class

Re: [R] Latent class analysis, selection of the number of classes

2011-05-24 Thread David Joubert
. The commands are very simple. David Joubert > Date: Tue, 24 May 2011 12:30:01 +0100 > From: chr...@stats.ucl.ac.uk > To: dan...@umd.edu > CC: r-help@r-project.org > Subject: Re: [R] Latent class analysis, selection of the number of classes > > Dear Daniel, > > the

Re: [R] Latent class analysis, selection of the number of classes

2011-05-24 Thread Christian Hennig
Dear Daniel, the BIC can be used to estimate the number of classes. This is actually given out by lca, so you could run lca with several different k and pick the solution that gives you the best BIC. Unfortunately I can't tell you whether "large is good" or "small is good" for the BIC implemen

Re: [R] Latent class analysis, selection of the number of classes

2011-05-24 Thread Ingmar Visser
function ?stepFlexmix in the flexmix package may be what you're looking for hth, Ingmar On Mon, May 23, 2011 at 11:21 PM, Daniel Malter wrote: > Hi, > > I perform latent class analysis on a matrix of dichotomous variables to > create an indicator of class/category membership for each observation

[R] Latent class analysis, selection of the number of classes

2011-05-23 Thread Daniel Malter
Hi, I perform latent class analysis on a matrix of dichotomous variables to create an indicator of class/category membership for each observation. I would like to know whether there is a function that selects the best fit in terms of number of classes/categories. Currently, I am doing this with t