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

From |
David Airey <david.airey@Vanderbilt.Edu> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Re: XTMixed / Repeated Measures |

Date |
Wed, 31 Dec 2008 09:44:47 -0600 |

use http://www.ats.ucla.edu/stat/stata/examples/kirk/rb4, clear anova y a s, repeated(a) test _coef[a[3]] = _coef[a[4]] anova, regress // note a[4] was dropped xi: xtmixed y i.a || s: // note a[1] was dropped test _Ia_3 = _Ia_4 display r(chi2)/r(df) // scale to show F the same, but here df 1

On Dec 31, 2008, at 8:37 AM, Paul Bransom wrote:

Sorry - forgot the subject on my earlier posting Hello,I am trying to teach myself how to use xtmixed for repeated measuresanova. Using anova:anova m method id,repeated(method) I have a significant effect of method and I can compare the methods:test _coef[method[1]] = _coef[method[2]] ( 1) method[1] -method[2] = 0F( 1, 27) = 58.27 Prob > F = 0.0000 However when I use xtmixed xi:xtmixed m i.method || id: ----- ------------------------------------------------------------------------------m | Coef. Std. Err. z P>|z| [95% Conf.Interval]-------------+-----------------------------------------------------------------------+------_Imethod_2 | -12.6 1.650589 -7.63 0.000 -15.8351-9.364905_Imethod_3 | -15.1 1.650589 -9.15 0.000 -18.3351-11.8649_Imethod_4 | -11.1 1.650589 -6.72 0.000 -14.3351-7.864905_cons | 38.6 2.253023 17.13 0.000 34.1841643.01584I can again compare all the methods: . test _Imethod_2 = _Imethod_3with the exception of method 1 as _Imethod_ is the "reference" inthe equation.My question is - how can I compare the effect of method 1 to theother methods or is the fact that these coefficients have asignificant p value sufficient (or am I missing something that is soobvious)?I am using Stata 10. Thanks, Paul * * 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/

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

**References**:**st: Re: XTMixed / Repeated Measures***From:*Paul Bransom <paulbransom@rocketmail.com>

- Prev by Date:
**Re: st: Re: XTMixed / Repeated Measures** - Next by Date:
**st: survival** - Previous by thread:
**Re: st: Re: XTMixed / Repeated Measures** - Next by thread:
**st: survival** - Index(es):

© Copyright 1996–2017 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |