I have stored the estimates for a 2-class, 3-class, 4-class and 5-class model. Now I would like to compare these models. I know i can use estimates stats to get the AIC and BIC for all these models in a nice table, but it should be possible to do a LR test to see if the models with more classes add anything right?
But when i do lrtest twoclass threeclass, then I get an error saying that the dependent variables differ. I have seen the lrtest being used to compare models with the same number of classes but differing restrictions, but it should also be possible to compare models with a differing number of classes right?
Related Posts with Comparing models in Latent Class analysis
Dropping unnecessary variable from BRFSS data to save spaceIs there any efficient way to keep the variables I need and drop all the unnecessary variables ? In …
Question about "spxtregress, re sarpanel" and serial correlationRecently saw this tweet from Jeffrey Wooldridge and it made me question my understanding of how spxt…
Converting Stata version 16 to Stata version 12 with Stat/Transfer in LinuxDear Forum Members, I have some Stata version 16 data files, which I would like to convert to Stata…
fe and first-difference estimator with controls and weight in baseline yearI have been learning from Statalist for some years now. Thank you for being there for us! First time…
post and postfile help after regressionI am running a simple regression repeated for ~1,000 variables in a loop. I would like to capture th…
Subscribe to:
Post Comments (Atom)
0 Response to Comparing models in Latent Class analysis
Post a Comment