Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: st: margins after split-plot anova


From   "Airey, David C" <david.airey@vanderbilt.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index