thresholdIntrinsic {ReplicationSuccess}R Documentation

Computes the threshold for intrinsic credibility

Description

The p-value threshold for intrinsic credibility is computed.

Usage

thresholdIntrinsic(alpha, alternative = "two.sided", type = "Held")

Arguments

alpha

The intrinsic credibility level. This can be a vector.

alternative

either "one.sided" or "two.sided". Defaults to "two.sided". Specifies if the threshold is for one-sided or two-sided p-values.

type

Type of intrinsic p-value threshold. Default is "Held" as in Held (2019). The other option is "Matthews" as in Matthews (2018).

Value

The threshold for intrinsic credibility.

Author(s)

Leonhard Held

References

Matthews, R. A. J. (2018). Beyond 'significance': principles and practice of the analysis of credibility. Royal Society Open Science, 5:171047. https://doi.org/10.1098/rsos.171047

Held, L. (2019). The assessment of intrinsic credibility and a new argument for p < 0.005. Royal Society Open Science, 6:181534. https://dx.doi.org/10.1098/rsos.181534

Examples

thresholdIntrinsic(alpha = c(0.005, 0.01, 0.05))
thresholdIntrinsic(alpha = c(0.005, 0.01, 0.05), alternative = "one.sided")

[Package ReplicationSuccess version 0.1-3 Index]