Compare BT models with Pareto-smoothed importance sampling LOO
Source:R/loo_helper.R, R/utils.R
compare_bt_models_loo.RdConvenience wrapper around loo for comparing two log-likelihood matrices (simple vs clustered BT).
Arguments
- simple_llo
list returned by
make_bt_simple_loo().- cluster_llo
list returned by
make_bt_cluster_loo().
Value
A list with:
simple—looobject for the simple BT.cluster—looobject for the clustered BT–SBM.comparison— result ofloo::compare_models().
A list with:
simple—looobject for the simple BT.cluster—looobject for the clustered BT–SBM.comparison— result ofloo::loo_compare().