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 at the end of May, 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   Luca Campanelli <l.campanelli@yahoo.it>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   re: st: margins after split-plot anova
Date   Thu, 21 Jun 2012 17:20:19 +0100 (BST)

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