jgabry/loo: Efficient Leave-One-Out Cross-Validation and WAIC for Bayesian Models

Efficient approximate leave-one-out cross-validation (LOO) for Bayesian models fit using Markov chain Monte Carlo, as described in Vehtari, Gelman, and Gabry (2017) <doi:10.1007/s11222-016-9696-4>. The approximation uses 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. The package also provides methods for using stacking and other model weighting techniques to average Bayesian predictive distributions.

Getting started

Package details

MaintainerJonah Gabry <jsg2201@columbia.edu>
LicenseGPL (>=3)
Version2.8.0.9000
URL https://mc-stan.org/loo/ https://discourse.mc-stan.org
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("jgabry/loo")
jgabry/loo documentation built on Nov. 26, 2024, 5:29 p.m.