Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
re: st: margins after split-plot anova
From
"Airey, David C" <[email protected]>
To
"[email protected]" <[email protected]>
Subject
re: st: margins after split-plot anova
Date
Thu, 21 Jun 2012 20:13:40 -0500
.
You might have to combine your working syntax with the at() option to get the margins at different covariate values. See the at() option for margins.
> Thank you very much, David.
> This works:
>
> anova depvar c.IQ group / id|group label label#group label#c.IQ , repeated (label)
> margins, within(group)
>
> However it seems that margins does not take into account the continuous covariate in the model (c.IQ). In other words, “margins, within(group)” produces the same results after this
> anova depvar c.IQ group / id|group label label#group label#c.IQ , repeated (label)
> and after this
> anova depvar group / id|group label label#group , repeated (label)
> (spss produces different estimates for the model with or without continuous covariate, which makes sense).
> The options atmenas / asbalanced don’t change the results.
>
> Any idea why?
>
> Thank you,
> Luca
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/