Convert Bayes Factor to P-value

as_pvalue(bf)

Arguments

bf

Bayes factor.

Value

p-value (scalar value).

References

Marsman, M., & Wagenmakers, E. J. (2017). Three insights from a Bayesian interpretation of the one-sided P value. Educational and Psychological Measurement, 77(3), 529-539.

See also

[as_bf()] to convert p-value to Bayes factor.

Other bayesian-test: as_bf(), bf_compare(), bf_from_os()

Examples

# \donttest{
library(dsos)
pvalue_from_bf <- as_pvalue(bf = 1)
pvalue_from_bf
#> [1] 0.5
# }