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
SEM panel model with three variables: cross-lagged vs synchronousI have limited training in SEM and have a couple of questions about a somewhat complicated model dec…
Interpretation of two-way interaction plotHello Statalist I have a question regarding the attached two-way interactions plot: [ATTACH=CONFI…
Regressions Table in StataHow to create a table in Stata which shows the difference of two regression results previously run? …
Clustering SEsHi all, I have a question regarding some clustering of standard errors. I read a great paper by M. …
Using EGEN to Create Count VariableHello Statalisters, I am trying to create a variable that counts the number of times a particular c…
Subscribe to:
Post Comments (Atom)
0 Response to gSEM syntax
Post a Comment