Skip to content
Prev 54095 / 398498 Next

simtest for Dunnett's test

On Fri, 13 Aug 2004, Liaw, Andy wrote:

            
exactly. btw, you don't need to specify the contrast matrix
yourself for this type of question:

R> summary(simtest(y ~ h))

         Simultaneous tests: Dunnett contrasts

Call:
simtest.formula(formula = y ~ h)

         Dunnett contrasts for factor h

<...>

Absolute Error Tolerance:  0.001

Coefficients:
       Estimate t value Std.Err. p raw p Bonf p adj
h11-h1   12.022  -5.272     2.28 0.000  0.000 0.000
h7-h1    11.556  -5.067     2.28 0.000  0.000 0.000
h8-h1    10.952  -4.803     2.28 0.000  0.000 0.000
h2-h1    10.414  -4.567     2.28 0.000  0.000 0.000
h10-h1   10.247  -4.493     2.28 0.000  0.000 0.000
h9-h1     9.494  -4.163     2.28 0.000  0.000 0.000
h3-h1     7.397  -3.244     2.28 0.002  0.006 0.006
h4-h1     5.384  -2.361     2.28 0.020  0.061 0.053
h5-h1     5.085  -2.230     2.28 0.028  0.061 0.053
h6-h1     3.180  -1.394     2.28 0.166  0.166 0.166

does exactly the same because the `type' argument defaults to `Dunnett'.

Best,

Torsten