Learn R Programming

RoBMA (version 4.0.0)

check_loo.brma: Check LOO Diagnostics for brma Objects

Description

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

Usage

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

Value

NULL (throws warning if diagnostics are unreliable).

Arguments

object

a brma model object.

unit

output/deletion unit. See add_loo.

...

currently unused.

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.