I can't get adjusted means for both treatment conditions (drug and placebo) across three time points. Margins will give me estimation for the time points, but not by condition. Syntax is:
anova *IV* drugcondition/subjid|drugcondition timepoint drugcondition#timepoint c.*covariate*, repeated(timepoint)
I tried adjust xi regress, and margins, and even separating the data to create separate drug and placebo files to try to generate timepoint margins. I could get adjusted margins for placebo but not the drug condition in that case.
What am I doing wrong? Is there a way to manually calculate least square means from unadjusted means?
0 Response to Just trying to compute least square means for a repeated measures ANOVA!
Post a Comment