Learn R Programming

dsos (version 0.1.2)

as_bf: Convert P-value to Bayes Factor

Description

Convert P-value to Bayes Factor

Usage

as_bf(pvalue)

Value

Bayes Factor (scalar value).

Arguments

pvalue

P-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_pvalue()] to convert Bayes factor to p-value.

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

Examples

Run this code
# \donttest{
library(dsos)
bf_from_pvalue <- as_bf(pvalue = 0.5)
bf_from_pvalue
# }

Run the code above in your browser using DataLab