I am trying to teach myself SEM and I cannot work out the syntax for the following.
I have a longitudinal dataset where each patient (pid) gives an opinion (q) at each of three times (t) and I want to use multinomial logistic regression for the analysis. I can model the effect of time:
gsem (q<- i.t), mlogit
but how do I allow for the fact that the data is repeated on patient?
I have ordered a copy of Discovering Structural Equation Modeling Using Stata, Revised Edition, by Alan Acock but as it has not arrived yet I would be grateful for some advice.
Thanks,
Janet
Related Posts with gSEM syntax
Help with one step system gmmHello, my case is described below and I would like help on how should I run One step system GMM usin…
Problem with 11x11 correlation matrix in SEMHi All, I am trying to run an SEM model with specified number of observations, means, SDs, and corr…
Problem with calculating employment (unemployment) duration until first unemployment (employment)Hello everyone, I have trouble working with duration data. I am working with spell-type data. The …
Multiple-answer questions: When to reduce multivariate to univariate probit?Problem description Assume there are individuals j who each need to choose from two alternatives i=…
Average values of dependent variableHi everyone, I have one question which is a little bit harder to explain but I will give my best. …
Subscribe to:
Post Comments (Atom)
0 Response to gSEM syntax
Post a Comment