thresholdIntrinsic: Computes the p-value threshold for intrinsic credibility

View source: R/thresholdIntrinsic.R

thresholdIntrinsicR Documentation

Computes the p-value threshold for intrinsic credibility

Description

Computes the p-value threshold for intrinsic credibility

Usage

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

Arguments

alpha

Numeric vector of intrinsic credibility levels.

alternative

Either "two.sided" (default) or "one.sided". Specifies if the threshold is for one-sided or two-sided p-values.

type

Either "Held" (default) or "Matthews". Type of intrinsic p-value threshold, see Held (2019) and Matthews (2018) for more information.

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

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