Learn R Programming

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

loo (version 0.1.5)

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

0.1.5

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Jonah Gabry

Last Published

February 12th, 2016

Functions in loo (0.1.5)

loo-package

Efficient LOO and WAIC for Bayesian models
waic

Widely applicable information criterion (WAIC)
nlist

Named lists
extract_log_lik

Extract log-likelihood from a Stan model
compare

Model comparison
print.loo

Print and plot methods
gpdfit

Generalized Pareto distribution
psislw

Pareto smoothed importance sampling (PSIS)
loo

Leave-one-out cross-validation (LOO)