Package: loo 2.8.0.9000
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.8.0.9000.tar.gz
loo_2.8.0.9000.zip(r-4.5)loo_2.8.0.9000.zip(r-4.4)loo_2.8.0.9000.zip(r-4.3)
loo_2.8.0.9000.tgz(r-4.4-any)loo_2.8.0.9000.tgz(r-4.3-any)
loo_2.8.0.9000.tar.gz(r-4.5-noble)loo_2.8.0.9000.tar.gz(r-4.4-noble)
loo_2.8.0.9000.tgz(r-4.4-emscripten)loo_2.8.0.9000.tgz(r-4.3-emscripten)
loo.pdf |loo.html✨
loo/json (API)
NEWS
# Install 'loo' in R: |
install.packages('loo', repos = c('https://stan-dev.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/stan-dev/loo/issues
bayesbayesianbayesian-data-analysisbayesian-inferencebayesian-methodsbayesian-statisticscross-validationinformation-criterionmodel-comparisonstan
Last updated 1 months agofrom:49642207e6. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 15 2024 |
R-4.5-win | OK | Nov 15 2024 |
R-4.5-linux | OK | Nov 15 2024 |
R-4.4-win | OK | Nov 15 2024 |
R-4.4-mac | OK | Nov 15 2024 |
R-4.3-win | OK | Nov 15 2024 |
R-4.3-mac | OK | Nov 15 2024 |
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:abindbackportscheckmateclidistributionalfansigenericsgluelifecyclemagrittrmatrixStatsnumDerivpillarpkgconfigposteriorrlangtensorAtibbleutf8vctrs
Approximate leave-future-out cross-validation for Bayesian time series models
Rendered fromloo2-lfo.Rmd
usingknitr::rmarkdown
on Nov 15 2024.Last update: 2024-04-15
Started: 2018-10-16
Avoiding model refits in leave-one-out cross-validation with moment matching
Rendered fromloo2-moment-matching.Rmd
usingknitr::rmarkdown
on Nov 15 2024.Last update: 2024-04-15
Started: 2020-03-05
Bayesian Stacking and Pseudo-BMA weights using the loo package
Rendered fromloo2-weights.Rmd
usingknitr::rmarkdown
on Nov 15 2024.Last update: 2024-04-15
Started: 2018-04-04
Holdout validation and K-fold cross-validation of Stan programs with the loo package
Rendered fromloo2-elpd.Rmd
usingknitr::rmarkdown
on Nov 15 2024.Last update: 2023-11-02
Started: 2020-12-04
Leave-one-out cross-validation for non-factorized models
Rendered fromloo2-non-factorized.Rmd
usingknitr::rmarkdown
on Nov 15 2024.Last update: 2024-04-15
Started: 2020-06-15
Mixture IS leave-one-out cross-validation for high-dimensional Bayesian models
Rendered fromloo2-mixis.Rmd
usingknitr::rmarkdown
on Nov 15 2024.Last update: 2024-04-15
Started: 2023-03-23
Using Leave-one-out cross-validation for large data
Rendered fromloo2-large-data.Rmd
usingknitr::rmarkdown
on Nov 15 2024.Last update: 2024-04-15
Started: 2019-09-17
Using the loo package (version >= 2.0.0)
Rendered fromloo2-example.Rmd
usingknitr::rmarkdown
on Nov 15 2024.Last update: 2024-04-15
Started: 2018-04-04
Writing Stan programs for use with the loo package
Rendered fromloo2-with-rstan.Rmd
usingknitr::rmarkdown
on Nov 15 2024.Last update: 2024-04-15
Started: 2018-04-04