Skip to contents

Check Pareto k diagnostics for a brma model object and warn if any values are high.

Usage

# S3 method for class 'brma'
check_loo(object, unit = "estimate", ...)

Arguments

object

a brma model object.

unit

output/deletion unit. See add_loo.

...

currently unused.

Value

NULL (throws warning if diagnostics are unreliable).

Details

LOO must first be computed with object <- add_loo(object, unit = unit). The method warns when any Pareto \(k\) diagnostic is greater than 0.7.