dunnett.test {asd} | R Documentation |
Implements Dunnett's test (Dunnett, 1955) for many-to-one comparisons.
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 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 |
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
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))