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]

st: Re: Interpretation of xtmixed repeated measures


From   Janet Hill <[email protected]>
To   [email protected]
Subject   st: Re: Interpretation of xtmixed repeated measures
Date   Fri, 18 Mar 2011 12:50:04 +0000 (GMT)

I am trying to learn to use xtmixed for repeated measures designs. In the example from the Repeated Measures FAQ:

anova lhist group / dog|group time time#group if dog !=6,repeated(time)
There is a significant effect of group. However when I use:
xtmixed lhist group##time if dog !=6 || dog:
margins group##time, post asbalanced
     |            Delta-method
             |     Margin   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
       group |
          1  |  -2.093812   .3719332    -5.63   0.000    -2.822788   -1.364837
          2  |  -2.552977   .4294714    -5.94   0.000    -3.394725   -1.711228
          3  |  -.8932172   .3719332    -2.40   0.016    -1.622193   -.1642416
          4  |  -2.479522   .3719332    -6.67   0.000    -3.208498   -1.750546
             |
etc.

I can compare individual groups but I cannot see how to get an 'overall' effect as in the anova.
I would be grateful for some advice on how to achieve this or a reference to a tutorial on xtmixed and margins.

Thanks,
Janet


      

*
*   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