Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: post test comparisons of means using repeated measures.


From   "Alan Acock" <[email protected]>
To   <[email protected]>
Subject   st: post test comparisons of means using repeated measures.
Date   Mon, 5 Jan 2004 17:44:51 -0800

The following is a simple repeated measures ANOVA. I want to compare the
means using Bonferoni or some other multiple comparison procedure. How do I
do this? Here is the example with the Anova and means/sd's.



use http://www.stata-press.com/data/r8/t43, clear

anova score person drug, repeated(drug)

Between-subjects error term:  person

                     Levels:  5         (4 df)

     Lowest b.s.e. variable:  person



Repeated variable: drug

                                          Huynh-Feldt epsilon        =
1.0789

                                          *Huynh-Feldt epsilon reset to
1.0000

                                          Greenhouse-Geisser epsilon =
0.6049

                                          Box's conservative epsilon =
0.3333



                                            ------------ Prob >
F ------------

                  Source |     df      F    Regular    H-F      G-G      Box

              -----------+--------------------------------------------------
--

                    drug |      3    24.76   0.0000   0.0000   0.0006
0.0076

                Residual |     12

              -----------+--------------------------------------------------
--

tabstat score, stats(n mean sd) by(drug)



Summary for variables: score

     by categories of: drug



    drug |         N      mean        sd

---------+------------------------------

       1 |         5      26.4  8.763561

       2 |         5      25.6  6.542171

       3 |         5      15.6  3.847077

       4 |         5        32         8

---------+------------------------------

   Total |        20      24.9  8.860914



*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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