Trimmed Simes test for intersections of two hypotheses and otherwise weighted Bonferroni-test
Source:R/gMCP.extended.R
bonferroni.trimmed.simes.test.Rd
Trimmed Simes test for intersections of two hypotheses and otherwise weighted Bonferroni-test
Usage
bonferroni.trimmed.simes.test(
pvalues,
weights,
alpha = 0.05,
adjPValues = FALSE,
verbose = FALSE,
...
)
Arguments
- pvalues
A numeric vector specifying the p-values.
- weights
A numeric vector of weights.
- alpha
A numeric specifying the maximal allowed type one error rate. If
adjPValues==TRUE
(default) the parameteralpha
is not used.- adjPValues
Logical scalar. If
TRUE
(the default) an adjusted p-value for the weighted test is returned. Otherwise ifadjPValues==FALSE
a logical value is returned whether the null hypothesis can be rejected.- verbose
Logical scalar. If
TRUE
verbose output is generated.- ...
Further arguments possibly passed by
gMCP
which will be used by other test procedures but not this one.