Hi Users,
I think I may missing something simple so this may be trivial for some of you. I conducted a latent class analysis but am now looking to obtain statistically significant predictors of class membership. (If there are any) Here is my code thus far:
gsem ( legali subsidyi datai brandi insurancei marketi mandatei govti diffi diffi <- ), lclass (A 3)
estat lcgof
estat lcprob
estat lcmean
predict cpost*, classposteriorpr
egen max = rowmax(cpost*)
generate predclass = 1 if cpost1==max
replace predclass = 2 if cpost2==max
replace predclass = 3 if cpost3==max
Now I wish to see which explanatory variables (age, gender etc.) are significant predictors of class membership. Can someone advise? Thanks!
P.S. I concluded that 3 classes is appropriate (based off information criteria)
Related Posts with Predictors of Class Membership with Latent Class Analysis
robust standard error for IV panel regressionHi I have been running panel data random effect 2sls (G2SLS) and i want to robust to heteroskedastic…
Correlation categorical and continuous variableHi everyone and happy new Year, I would like to show in a plot that a categorical variable (a dummy…
Bootstrap for outerweights in PLSSEMHi, I'm trying to get pvalues for the outer weights of the formative part of my measurement model in…
Addition by SICHi, Can you please help with the below. I need to add values by SIC code in the below example. (sim…
Creating a new continuous variableHi everybody, Could anyone help me out with creating a new continuous variable? My main dataset do…
Subscribe to:
Post Comments (Atom)
0 Response to Predictors of Class Membership with Latent Class Analysis
Post a Comment