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
categorizing continuous dataHello, I would be super grateful for some help with the following scenario Maternal obesity is cons…
Generating a new variable that is the sum of each value of a different variableHello. This seems like it would be straightforward but as an advanced beginner I am having a hard ti…
How to make this type of graph?Hello guys, Do you have any idea how to make the chart below? It is a histogram of frequencies of …
Combining time variables in panel dataHi, This is my first time here on statalist, I am trying to do a portfolio analysis in Stata and ra…
How to create and define 30 minutes interval data in Stata?Dear user, My data is 30 minutes interval. I want to declare as time series. For daily time series d…
Subscribe to:
Post Comments (Atom)
0 Response to Comparing models in Latent Class analysis
Post a Comment