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

Implements the closure principle (Marcus *et al.*, 1976) for controlling the familywise type I error rate in ASD.

1 |

`comb.test` |
Output from function |

`level` |
Test level (default=0.025) |

`full.hyp` |
Logical indicating whether the full set of intersection hypotheses should be reported; default |

In order to control the familywise type I error rate in the strong sense at the pre-specified level *α* the closure principle (Marcus *et al.*, 1976) is applied. This means that an individual null hypothesis is rejected if and only if all intersection hypotheses are also rejected at level *α*.

`reject` |
Matrix indicating whether elementary hypotheses have been rejected |

`all.rejects` |
Matrix indicating rejections for each intersection hypothesis, if |

`all.hyp` |
Matrix labelling each intersection hypothesis, if |

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

Marcus R, Peritz E, Gabriel KR. On closed testing procedures with special reference to ordered analysis of variance. *Biometrika* 1976;63:655-660.

`treatsel.sim`

,`dunnett.test`

, `combn.test`

, `select.rule`

, `simeans.binormal`

1 2 3 4 5 6 7 | ```
stage1 <- dunnett.test(c(0.75,1.5,2.25))
stage2 <- dunnett.test(c(0.15,1.75,2.15))
comb.test <- combn.test(stage1,stage2,weight=0.5)
hyp.test(comb.test,level=0.025,full.hyp=FALSE)
# more output
hyp.test(comb.test,level=0.025,full.hyp=TRUE)
``` |

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.