Bookmark and Share

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   Luca Campanelli <[email protected]>
To   "[email protected]" <[email protected]>
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index