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
How can i save the output of pwcorr and correlate into dta?Thanks a lot!I want to compute the correlation of x between different stocks in each half year. There are 20+ hal…
Nearest matching (without replacements)Hi everyone, I have the following dataset for which I need to do a 1-by-1 match of companies (wo re…
Median Follow-up timeHello, could somebody give me an advice on how to calculate median follow-up time? Thank you very mu…
How I can test if price elasticity in a quantile regression differs among quantiles?Dear statalists, I would like to ask you how I could test if price elasticity differs statisticall …
Need help with formatting in asdocI am having an issue with formatting the values in the table while using asdoc and tabstat. for exam…
Subscribe to:
Post Comments (Atom)
0 Response to Comparing models in Latent Class analysis
Post a Comment