Hi all
New to this forum. I'm working on a longitudinal mixed model and wanted to ensure the model is specified correctly. Below are the model specifications:
Dependent variable: Severity-of-illness score
Independent variables: Study intervention (treatment vs. placebo) ; Time (0,24, 72 hours) ; study site (14 sites as categorical variables) ; time*intervention interaction term
Outcome of interest: Effect of the intervention on severity-of-illness score over time (i.e. the time*intervention interaction term)
The model is currently specified as:
xtset subject_ID time
mixed score time##intervention i.site||subject_ID, var residuals (ar, t(time))
contrast intervention##time
This then gives a chi2 and p-value for the interaction term
Appreciate any thoughts!
Sam
Related Posts with Help with longitudinal mixed model
filling in missing values for panel dataHi there, I have panel data in which the education variable has missing values. I must use the surr…
Bayestest model not showing posterior probabilitiesDear Stata Users community, I am trying to compare the posterior probabilities of a series of ologi…
Variable Construction based on Time StampsDear Statalist, I have a dataset that records the time when staffs successfully pick the products a…
BOX PLOT WITH INDIVIDUAL OBSERVATION--How to writeHi to everybody. I have to do a boxplot with individual observations using the dataset below: clea…
DEA commands: dea vs. teradialbcGood day, Using the dea command produces technical efficiency scores with values b/t 0-1. However, …
Subscribe to:
Post Comments (Atom)
0 Response to Help with longitudinal mixed model
Post a Comment