pIntrinsic {ReplicationSuccess}R Documentation

Computes the P-value for intrinsic credibility

Description

The P-value for intrinsic credibility is computed.

Usage

pIntrinsic(p=t2p(t, alternative=alternative), t=NULL,
alternative="two.sided", type="Held")

Arguments

p

a vector of P-values, is calculated from z, if necessary.

t

a vector of t-values, default is NULL

alternative

either "one.sided" or "two.sided". Defaults to "two.sided". Specifies if the P-value is one-sided or two-sided. If the P-value is one-sided, then a one-sided P-value for intrinsic credibility is computed.

type

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

Value

The P-value for intrinsic credibility.

Author(s)

Leonhard Held

References

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

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

Examples

p <- c(0.005, 0.01, 0.05)
t <- c(2,3,4)
pIntrinsic(p)
pIntrinsic(p, type="Matthews")
pIntrinsic(t=t)
pIntrinsic(t=t, type="Matthews")
pIntrinsic(p, alternative="one.sided")
pIntrinsic(p, alternative="one.sided", type="Matthews")

[Package ReplicationSuccess version 0.1-1 Index]