Description Usage Arguments Value Author(s) References See Also Examples
The function for computing the adjusted p-values based on original p-values and fold k.
1 | gbonf.p.adjust(p, k, alpha, make.decision)
|
p |
numeric vector of p-values (possibly with |
k |
number of allowed type 1 errors in k-FWER controls. |
alpha |
significant level used to compare with adjusted p-values to make decisions, the default value is 0.05. |
make.decision |
logical; if |
A numeric vector of the adjusted p-values (of the same length as p
) if make.decision = FALSE
, or a list including original p-values, adjusted p-values and decision rules if make.decision = TRUE
.
Yalin Zhu
Lehmann, E. L., & Romano, J. P. (2005). Generalizations of the familywise error rate. The Annals of Statistics, 33: 1138-1154.
gsidak.p.adjust
, p.adjust
, Sidak.p.adjust
.
1 2 | p <- c(0.031,0.023,0.029,0.005,0.031,0.000,0.874,0.399,0.293,0.077)
gbonf.p.adjust(p, k=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.