Package: loo 2.9.0
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.
Authors:
loo_2.9.0.tar.gz
loo_2.9.0.zip(r-4.7)loo_2.9.0.zip(r-4.6)loo_2.9.0.zip(r-4.5)
loo_2.9.0.tgz(r-4.6-any)loo_2.9.0.tgz(r-4.5-any)
loo_2.9.0.tar.gz(r-4.7-any)loo_2.9.0.tar.gz(r-4.6-any)
loo_2.9.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
loo/json (API)
| # Install 'loo' in R: |
| install.packages('loo', repos = c('https://staging.r-multiverse.org', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/stan-dev/loo/issues
Pkgdown/docs site:https://mc-stan.org
bayesbayesianbayesian-data-analysisbayesian-inferencebayesian-methodsbayesian-statisticscross-validationinformation-criterionmodel-comparisonstan
Last updated from:299a4c7af1. Checks:9 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 826 | ||
| source / vignettes | OK | 893 | ||
| linux-release-x86_64 | OK | 294 | ||
| macos-release-arm64 | OK | 147 | ||
| macos-oldrel-arm64 | OK | 187 | ||
| windows-devel | OK | 1400 | ||
| windows-release | OK | 339 | ||
| windows-oldrel | OK | 177 | ||
| wasm-release | OK | 230 |
Exports:.compute_point_estimate.ndraws.thin_drawscomparecrpsE_looelpdexample_loglik_arrayexample_loglik_matrixextract_log_likfind_model_namesgpdfitis.kfoldis.loois.psisis.psis_loois.sisis.tisis.waickfoldkfold_split_groupedkfold_split_randomkfold_split_stratifiedlooloo_approximate_posteriorloo_approximate_posterior.arrayloo_approximate_posterior.functionloo_approximate_posterior.matrixloo_compareloo_crpsloo_iloo_model_weightsloo_model_weights.defaultloo_moment_matchloo_moment_match.defaultloo_predictive_metricloo_scrpsloo_subsampleloo_subsample.functionloo.arrayloo.functionloo.matrixmcse_loonlistobs_idxpareto_k_idspareto_k_influence_valuespareto_k_tablepareto_k_valuespointwiseprint_dimspseudobma_weightspsispsis_n_eff_valuespsislwrelative_effscrpssisstacking_weightstiswaicwaic.arraywaic.functionwaic.matrixweights.importance_sampling
Dependencies:abindbackportscheckmateclidistributionalgenericsgluelifecyclemagrittrmatrixStatsnumDerivpillarpkgconfigposteriorrlangtensorAtibbleutf8vctrs
Last update: 2025-12-22
Started: 2020-12-04
Last update: 2025-12-22
Started: 2020-03-05
Last update: 2025-12-22
Started: 2018-04-04
Last update: 2024-04-15
Started: 2018-10-16
Last update: 2024-04-15
Started: 2018-04-04
Last update: 2024-04-15
Started: 2020-06-15
Last update: 2024-04-15
Started: 2023-03-23
Last update: 2024-04-15
Started: 2019-09-17
Last update: 2024-04-15
Started: 2018-04-04
