
Trimmed Simes test for intersections of two hypotheses and otherwise weighted Bonferroni-test
Source:R/gMCP.extended.R
bonferroni.trimmed.simes.test.RdTrimmed 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 parameteralphais not used.- adjPValues
Logical scalar. If
TRUE(the default) an adjusted p-value for the weighted test is returned. Otherwise ifadjPValues==FALSEa logical value is returned whether the null hypothesis can be rejected.- verbose
Logical scalar. If
TRUEverbose output is generated.- ...
Further arguments possibly passed by
gMCPwhich will be used by other test procedures but not this one.