R/pvalueBound.R
pvalueBound.Rd
Necessary or sufficient bounds for significance of the harmonic mean chi-squared test are computed for n one-sided p-values.
pvalueBound(alpha, n, type = c("necessary", "sufficient"))
Numeric vector specifying the significance level.
The number of p-values.
Either "necessary" (default) or "sufficient". If "necessary", the necessary bounds are computed. If "sufficient", the sufficient bounds are computed.
The bound for the p-values.
Held, L. (2020). The harmonic mean chi-squared test to substantiate scientific findings. Journal of the Royal Statistical Society: Series C (Applied Statistics), 69, 697-708. doi:10.1111/rssc.12410
pvalueBound(alpha = 0.025^2, n = 2, type = "necessary")
#> [1] 0.06530883
pvalueBound(alpha = 0.025^2, n = 2, type = "sufficient")
#> [1] 0.01626547