Description Usage Arguments Details Value Author(s) References See Also Examples

Implements Dunnett's test (Dunnett, 1955) for many-to-one comparisons.

1 | ```
dunnett.test(Z = Z, select = rep(1, length(Z)))
``` |

`Z` |
A vector of test statistics |

`select` |
A vector of length |

A many-to-one comparison test for the the null hypothesis that all the treatment effects are equal to zero against the alternative that at least one is larger than zero.

`pvalues` |
A list of matrices of |

`zscores` |
A list of matrices of z-scores for all intersection hypotheses |

`hyp.comb` |
A list of matrices indicating the structure of the intersection hypotheses |

Nick Parsons (nick.parsons@warwick.ac.uk)

Dunnett CW. A multiple comparison procedure for comparing several treatments with a control. *Journal of the American Statistical Association* 1955;50:1096-1121.

`treatsel.sim`

, `combn.test`

, `hyp.test`

, `select.rule`

, `simeans.binormal`

1 2 3 4 5 6 7 | ```
dunnett.test(c(0.75,1.5,2.25))
# select two treatments only
dunnett.test(c(0.75,1.5,2.25),select=c(1,1,0))
# set test statistic to -Inf
dunnett.test(c(0.75,1.5,-Inf))
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.