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?
Related Posts with Just trying to compute least square means for a repeated measures ANOVA!
ivreg2 and ivregress provide different resultsDear, I have used two commands, ivreg2 and ivregress, to estimate the same model. errors are assume…
Network meta-analysisHello all, I'm trying to run network meta-analysis in Stata and I'm running into a problem that mig…
How to remove x axis labels in bar graphsHi I need to make a bar graph in Stata with over 600 categories. Given the large number of categorie…
How to drop Variables Based on Country Name ?Hello Sir, This is my first post here I want to drop the variables Based on the country names and I …
Global macro before stringsDear, I would like to generate a new variable whose name includes a global macro in the middle of s…
Subscribe to:
Post Comments (Atom)
0 Response to Just trying to compute least square means for a repeated measures ANOVA!
Post a Comment