Learn R Programming

wiqid (version 0.3.3)

WAIC: Extract the Watanabe-Akaike Information Criterion (WAIC)

Description

Extracts the Watanabe-Akaike Information Criterion from objects of class Bwiqid which have a WAIC attribute.

Usage

WAIC(object, ...)

Value

If just one object is provided, the corresponding WAIC.

If multiple objects are provided, a data frame with rows corresponding to the objects and columns representing the number of parameters in the model (pD) and the WAIC.

Arguments

object

a fitted model object with an attribute giving the WAIC and pD for the fitted model.

...

optionally more fitted model objects.

Author

Mike Meredith.

References

Burnham, K P; D R Anderson 2002. Model selection and multimodel inference: a practical information-theoretic approach. Springer-Verlag.

Examples

Run this code
## TODO

Run the code above in your browser using DataLab