Skip to contents

Convenience wrapper around loo for comparing two log-likelihood matrices (simple vs clustered BT).

Usage

compare_bt_models_loo(simple_llo, cluster_llo)

compare_bt_models_loo(simple_llo, cluster_llo)

Arguments

simple_llo

list returned by make_bt_simple_loo().

cluster_llo

list returned by make_bt_cluster_loo().

Value

A list with:

  • simpleloo object for the simple BT.

  • clusterloo object for the clustered BT–SBM.

  • comparison — result of loo::compare_models().

A list with:

  • simpleloo object for the simple BT.

  • clusterloo object for the clustered BT–SBM.

  • comparison — result of loo::compare_models().