In my study I have repeated measure per subject in a cross-over design. Each subject performed a task to assess the dependent variable during (time=0) and immediately after (time=1) treatment (treatment=1), as wells as during (time=0) and immediately after (time=1) placebo (treatment=0), resulting in 4 observations per subject for the dependent variable. Putting all variables in one model I later calculate marginal effects. I have a few missing variables in the depending variable. To account for the messingnes of values do you rather suggest the option using xtreg with re or reml? These are my codes used (results are similiar):
or
Code:
xtreg depvar treatment##time , re vce(robust) margins time, dydx(treatment)
Code:
xtreg depvar treatment##time, mle vce(robust) margins time, dydx(treatment)
Comment