as_bf {dsos}R Documentation

Convert P-value to Bayes Factor

Description

Convert P-value to Bayes Factor

Usage

as_bf(pvalue)

Arguments

pvalue

P-value.

Value

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

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

Examples


library(dsos)
bf_from_pvalue <- as_bf(pvalue = 0.5)
bf_from_pvalue



[Package dsos version 0.1.2 Index]