Learn R Programming

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

loo (version 0.1.3)

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

Description

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

Copy Link

Version

Install

install.packages('loo')

Monthly Downloads

1,708,922

Version

0.1.3

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Jonah Gabry

Last Published

September 18th, 2015

Functions in loo (0.1.3)

gpdfit

Generalized Pareto distribution
print.loo

Print and plot methods
loo-package

Efficient LOO and WAIC for Bayesian models
psislw

Pareto smoothed importance sampling (PSIS)
compare

Model comparison
extract_log_lik

Extract log-likelihood from a Stan model
nlist

Named lists
waic

Widely applicable information criterion (WAIC)
loo

Leave-one-out cross-validation (LOO)