The adjusted p-values for Modified Bonferroni single-step FWER controlling procedure.
The function for calculating the adjusted p-values based on original available p-values and all attaianble p-values
numeric vector of p-values (possibly with
a list of numeric vectors, where each vector is the vector of all attainable p-values containing the available p-value for the corresponding hypothesis.
A numeric vector of the adjusted p-values (of the same length as
The attainable p-value refers to the element of domain set of p-value for the corresponding hypothesis. For continuous test statistics, the p-value under true null are uniform distributed in (0,1), thus the p-values are attainable everywhere between 0 and 1. But for discrete test statistics, the p-value can only take finite values bewtween 0 and 1, that is the attainable p-values for discrete case are finite and countable, so we can assign them in a finite list
1 2 3
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.