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
Rwolf equivalent in R?I am looking for an equivalent R-package for 'rwolf' in Stata for multiple hypothesis correction. So…
Collapse produces different but optically similar resultsDear all, I am having a weird problem with the collapse command. I collapse my data to a sum and th…
Arrangement of Dataxtset firm_iden year, yearly panel variable: firm_iden (unbalanced) time variable: year, 2015 to 201…
Average % difference of prices between countriesDear Kollegues, i have a task, by which I kindly ask for your advice. A dataset consists of multipl…
Standard errors to standard deviations in mixed modelsDear readers, For a study into differences (e.g. liver values) between different dosages of a speci…
Subscribe to:
Post Comments (Atom)
0 Response to gSEM syntax
Post a Comment