Hi everyone,
I aim to run LPA with the end goal of using the derived latent profiles as DVs in a multinomial logistic regression analysis (and describe the profiles) to identify class predictors by using different independent variables.
I already established that a four-profile solution is the best fit (with AIC/BIC),
Now I want to save the outcome of this command
gsem (attitutde behaviour <-_cons), lclass(C 4)
in a new variable where 1=profile1, 2=profile2, 3=profile3 and 4=profile4.
I am aware of the "predict" command, which I have encountered in another thread, but since I am new to Stata I am not sure how to use it correctly.
In the end, I want to be able to understand why these different profiles emerge. For instance, by saying something like "females are more likely to belong to profil1 than males" or "older people are less likely to belong to profile3 than younger people"
Thank you for you help!
Best,
Lisa-Marie
I aim to run LPA with the end goal of using the derived latent profiles as DVs in a multinomial logistic regression analysis (and describe the profiles) to identify class predictors by using different independent variables.
I already established that a four-profile solution is the best fit (with AIC/BIC),
Now I want to save the outcome of this command
gsem (attitutde behaviour <-_cons), lclass(C 4)
in a new variable where 1=profile1, 2=profile2, 3=profile3 and 4=profile4.
I am aware of the "predict" command, which I have encountered in another thread, but since I am new to Stata I am not sure how to use it correctly.
In the end, I want to be able to understand why these different profiles emerge. For instance, by saying something like "females are more likely to belong to profil1 than males" or "older people are less likely to belong to profile3 than younger people"
Thank you for you help!
Best,
Lisa-Marie
Comment