Learn R Programming

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

loo (version 0.1.6)

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

54,425

Version

0.1.6

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Jonah Gabry

Last Published

March 23rd, 2016

Functions in loo (0.1.6)

loo

Leave-one-out cross-validation (LOO)
compare

Model comparison
extract_log_lik

Extract log-likelihood from a Stan model
gpdfit

Generalized Pareto distribution
waic

Widely applicable information criterion (WAIC)
loo-package

Efficient LOO and WAIC for Bayesian models
print.loo

Print and plot methods
nlist

Named lists
psislw

Pareto smoothed importance sampling (PSIS)