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
spmapDear All, I am using stata14 and trying to create maps of Bangladesh using the package spmap. I want…
Quantile Regression Code: reg price treatment i.state i.year income rural [fw=round(weight)] , cluster(state) Hi I ra…
Dealing with id problems in panel data Hello, I am using a person-firm-level panel data for analysis of wage differentials. But I found th…
DeletedDeleted …
Predicting probability of a multivalued endogenous treatmentI am trying to figure out how to predict probability of participating in different treatments (or mu…
Subscribe to:
Post Comments (Atom)
0 Response to gSEM syntax
Post a Comment