Learn R Programming

⚠️There's a newer version (2.8.0) of this package.Take me there.

loo (version 1.1.0)

Efficient Leave-One-Out Cross-Validation and WAIC for Bayesian Models

Description

Efficient approximate leave-one-out cross-validation (LOO) using Pareto smoothed importance sampling (PSIS), a new procedure for regularizing importance weights. As a byproduct of the calculations, we also obtain approximate standard errors for estimated predictive errors and for the comparison of predictive errors between models. We also compute the widely applicable information criterion (WAIC).

Copy Link

Version

Install

install.packages('loo')

Monthly Downloads

52,282

Version

1.1.0

License

GPL (>= 3)

Maintainer

Jonah Gabry

Last Published

March 27th, 2017

Functions in loo (1.1.0)

extract_log_lik

Extract pointwise log-likelihood matrix from a Stan model
print.loo

Print method for 'loo' objects
psislw

Pareto smoothed importance sampling (PSIS)
nlist

Named lists
pareto-k-diagnostic

Diagnostics for Pareto Smoothed Importance Sampling
loo

Leave-one-out cross-validation (LOO)
loo-package

Efficient LOO and WAIC for Bayesian models
compare

Model comparison
E_loo

Compute weighted expectations
waic

Widely applicable information criterion (WAIC)
gpdfit

Generalized Pareto distribution