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: Two factor anova post test


From   Ricardo Ovaldia <ovaldia@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Two factor anova post test
Date   Wed, 20 Jul 2011 05:16:11 -0700 (PDT)

Thank you Dave. Exactly what I needed.

Ricardo

Ricardo Ovaldia, MS
Statistician 
Oklahoma City, OK


--- On Tue, 7/19/11, Airey, David C <david.airey@vanderbilt.edu> wrote:

> From: Airey, David C <david.airey@vanderbilt.edu>
> Subject: Re: st: Two factor anova post test
> To: "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
> Date: Tuesday, July 19, 2011, 11:14 AM
> .
> 
> One way in Stata is to use margins:
> 
> webuse systolic, clear
> anova systolic drug disease drug#disease
> margins drug, asbalanced post
> test (1.drug == 2.drug) ///
>     (1.drug == 3.drug) ///
>     (1.drug == 4.drug) ///
>     (2.drug == 3.drug) ///
>     (2.drug == 4.drug) ///
>     (3.drug == 4.drug), mtest(sidak)
> 
> -Dave
> 
> 
> > Thank you Angel. The term that is significant is race,
> with three levels,
> > therefore I am not completely sure which means are
> different, and I do not
> > understand how to use -test-, or even if that is the
> correct way  to compare
> > them.
> > 
> > Thank you,
> > Ricardo.
> 
> *
> *   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index