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
Herfindahl-Hirschman IndexHello all, I am working on a panel data of 200 firms from 1995-2019. Data is for a single industry. …
Align rows based on common groupDear Statalist I have a starting dataset that looks like the following Code: * Example generated b…
Replacing column values with values of another variable by household idHi everyone, I have 5 variables in my dataset namely, household id, wealth rank, and household ids …
inquire data problems: gen weekI have a large data set which contains from Oct 2002 to Feb 2007. The procedure is: From Oct 19, 200…
Exporter_Time_FE, Importer_Time_FE and Pair_FEDear, Prof.Joao, Prof. Tom, Dr. Sergio Correia & Others Stata Users, I am an economics graduate…
Subscribe to:
Post Comments (Atom)
0 Response to Comparing models in Latent Class analysis
Post a Comment