returns the Bayes Factor for two models
Arguments
- MLL1
Numeric. Marginal likelihood of model 1. Obtained with
run_bridge_sampling()
- MLL2
Numeric. Marginal likelihood of model 2. Obtained with
run_bridge_sampling()
Examples
# \donttest{
# 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)
#> [1] 1
# }