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   "Airey, David C" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Two factor anova post test
Date   Tue, 19 Jul 2011 11:14:01 -0500

.

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/


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