dunnett.test: Dunnett Test

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

Description

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

Usage

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

Arguments

Z

A vector of test statistics

select

A vector of length Z; to include treatments set values to one and to exclude treatments set values to zero

Details

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.

Value

pvalues

A list of matrices of p-values for all intersection hypotheses

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

Author(s)

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

References

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

See Also

treatsel.sim, combn.test, hyp.test, select.rule, simeans.binormal

Examples

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))

asd documentation built on May 2, 2019, 3:35 p.m.