Description Usage Arguments Examples
This function allows you to test a hypothesis. Requires prior and posterior samples. Returns the Savage-Dickey Density Ratio (Bayes Factor), Posterior Probabilities, and Credible Interval.
1 |
prior |
vector of prior samples |
post |
vector of posterior samples |
H0 |
the null hypothesis. Defaults to 0. |
plot |
should the results be plotted? Defaults to FALSE. |
1 | bf_test()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.