Skip to contents

Method for comparing RoBMA-targeted loo or waic objects directly.

Usage

# S3 method for class 'loo'
loo_compare(x, ..., unit = "estimate")

Arguments

x

a RoBMA-targeted loo or waic object (the first model to compare).

...

additional RoBMA-targeted loo/waic or brma objects to compare.

unit

output/deletion unit used when extracting LOO from brma objects.

Value

The comparison returned by loo_compare for the stored results: a data frame of class "compare.loo" with one row per model, ordered by expected predictive performance, which prints as loo prints it. The models are named model1, model2, ... unless the call names them.

See also