CMD + K

r-loo

Community

Efficient approximate leave-one-out cross-validation (LOO) for Bayesian models fit using Markov chain Monte Carlo. 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.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::r-loo

Usage Tracking

2.9.0
2.8.0
2.6.0
2.5.1
2.5.0
5 / 8 versions selected
Downloads (Last 6 months): 0

About

Summary

Efficient approximate leave-one-out cross-validation (LOO) for Bayesian models fit using Markov chain Monte Carlo. 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.

Last Updated

Dec 23, 2025 at 10:38

License

GPL-3.0-or-later

Total Downloads

197.6K

Supported Platforms

noarch

Unsupported Platforms

linux-64 Last supported version: 2.0.0
win-64 Last supported version: 2.0.0
macOS-64 Last supported version: 2.0.0