pvalueBound: Bound for the p-values entering the harmonic mean chi-squared...

View source: R/pvalueBound.R

pvalueBoundR Documentation

Bound for the p-values entering the harmonic mean chi-squared test

Description

Necessary or sufficient bounds for significance of the harmonic mean chi-squared test are computed for n one-sided p-values.

Usage

pvalueBound(alpha, n, type = c("necessary", "sufficient"))

Arguments

alpha

Numeric vector specifying the significance level.

n

The number of p-values.

type

Either "necessary" (default) or "sufficient". If "necessary", the necessary bounds are computed. If "sufficient", the sufficient bounds are computed.

Value

The bound for the p-values.

Author(s)

Leonhard Held

References

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. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1111/rssc.12410")}

See Also

hMeanChiSq

Examples

pvalueBound(alpha = 0.025^2, n = 2, type = "necessary")
pvalueBound(alpha = 0.025^2, n = 2, type = "sufficient")

ReplicationSuccess documentation built on April 3, 2023, 5:11 p.m.