Dear Stata Users.
Is there a way in Stata to include a mix of categorical and continuous indicators (i.e. observed variables) in Latent Class(/Later Profile) Analysis?
Say I have 3 indicators: education, income, occupation.
If there were all categorical I would do something like (for example for a model with 3 latent classes):
gsem (education income occupation<-,mlogit) ///
, nocapslatent logit lclass(C 3) ///
startvalues(randomid, draws(15) seed(123321)) ///
em(iter(5)) ///
nodvheader ///
nonrtolerance
estat lcprob
But what if occupation is a continuous scale?
Any suggestion is greatly appreciated.
Thanks
Anna
Related Posts with LCA - mix of categorical and continuous indicators
Problem with nl parameter estimationDear comunity, I ndd your help in order to find te error in my code because I've been trying to get …
Using foreach to graph many variables vs one dependent variable on separate graphsHi all, I am not familiar with the foreach command and have been trying to loop a twoway scatterplo…
Counting observations from a multivariate logistic regressionHello, I wish to know how I can determine the number of observations for an outcome variable (case …
Betas greater than oneHi Statalist member, I have run a regression of cash flow volatility (s_oina_v1_w01) on several ind…
ppml with high fixed effectsHi, everyone! I am an undergraduate student who is researching for his thesis about international tr…
Subscribe to:
Post Comments (Atom)
0 Response to LCA - mix of categorical and continuous indicators
Post a Comment