waic.measrfit {measr}R Documentation

Widely applicable information criterion (WAIC)

Description

A loo::waic() method that is customized for measrfit objects. This is a simple wrapper around loo::waic.array(). See the loo package vignettes for details.

Usage

## S3 method for class 'measrfit'
waic(x, ..., force = FALSE)

Arguments

x

A measrfit object.

...

Additional arguments passed to loo::waic.array().

force

If the WAIC criterion has already been added to the model object with add_criterion(), should it be recalculated. Default is FALSE.

Value

The object returned by loo::waic.array().


[Package measr version 1.0.0 Index]