get_BayesFactor | R Documentation |
returns the Bayes Factor for two models
get_BayesFactor(MLL1, MLL2)
MLL1 |
Numeric. Marginal likelihood of model 1. Obtained with |
MLL2 |
Numeric. Marginal likelihood of model 2. Obtained with |
The BayesFactor for model 1 over model 2
# Normally one would compare two different models
# Here we use two times the same model:
M1 <- M0 <- run_bridge_sampling(samples_LNR, both_splits = FALSE, cores_for_props = 1)
get_BayesFactor(M1, M0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.