dunnett.test {asd} | R Documentation |
Dunnett Test
Description
Implements Dunnett's test (Dunnett, 1955) for many-to-one comparisons.
Usage
dunnett.test(Z = Z, select = rep(1, length(Z)))
Arguments
Z |
A vector of test statistics |
select |
A vector of length |
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
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))