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
MA(5) for panel dataDear Statalist members, I used the information given on this Stata pdf https://www.stata.com/suppor…
Constrain plotregion proportionsDear All, I would like to build a graph where the proportions of the plotregion (not the whole grap…
ARDL resultDear All, I run ARDL model for data from 1970-2019. The results revealed a negative and significant …
Not obvious behaviorThe following fragment illustrates a rather non-obvious behavior of Stata when working with data fra…
Implied Cost of Equity, mm_root function skips the results of some observationsHi There, I have used the following codes to calculate the implied cost of equity. While the code c…
Subscribe to:
Post Comments (Atom)
0 Response to LCA - mix of categorical and continuous indicators
Post a Comment