pvalueBound: Computes bound for the p-values entering the harmonic mean...

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/pvalueBound.R

Description

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

Usage

1
pvalueBound(alpha, n, type = "necessary")

Arguments

alpha

The significance level.

n

The number of p-values.

type

either "necessary" or "sufficient". Defaults to "necessary". If "necessary" then the necessary bounds are computed. If "sufficient" then 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), to appear. https://arxiv.org/abs/1911.10633

See Also

hMeanChiSq

Examples

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

ReplicationSuccess documentation built on Dec. 2, 2020, 3 p.m.