Package: lopensemble 0.1.2.9000
lopensemble: Create Mixture Models From Predictive Samples
Combines predictions from individual time series or panel data models into an ensemble using stacking (Yao, Vehtari, Simpson, and Gelman (2018) <doi:10.1214/17-BA1091>) based on the Continuous Ranked Probability Score (CRPS) (Gneiting and Raftery (2007) <doi:10.1198/016214506000001437>) over k-step ahead predictions. Predictions must be predictive distributions represented by samples, typically posterior predictive simulation draws from a Markov chain Monte Carlo (MCMC) algorithm. Given training data with observed values and predictive samples from different models, optimal stacking weights are computed to minimize expected cross-validation predictive error. These weights can then be used to generate samples from the mixture model by drawing from individual model predictions in the correct proportions.
Authors:
lopensemble_0.1.2.9000.tar.gz
lopensemble_0.1.2.9000.zip(r-4.7-any)lopensemble_0.1.2.9000.zip(r-4.6-any)lopensemble_0.1.2.9000.zip(r-4.5-any)
lopensemble_0.1.2.9000.tgz(r-4.6-any)lopensemble_0.1.2.9000.tgz(r-4.5-any)
lopensemble_0.1.2.9000.tar.gz(r-4.7-any)lopensemble_0.1.2.9000.tar.gz(r-4.6-any)
lopensemble_0.1.2.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
lopensemble/json (API)
| # Install 'lopensemble' in R: |
| install.packages('lopensemble', repos = c('https://epiforecasts.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/epiforecasts/lopensemble/issues
crpsensemblesforecastingstacking
Last updated from:cd260b8a8d (on v0.1.3). Checks:7 NOTE, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | NOTE | 265 | ||
| source / vignettes | OK | 252 | ||
| linux-release | NOTE | 285 | ||
| macos-release | NOTE | 253 | ||
| macos-oldrel | NOTE | 217 | ||
| windows-devel | NOTE | 354 | ||
| windows-release | NOTE | 364 | ||
| windows-oldrel | NOTE | 370 | ||
| wasm-release | OK | 200 |
Exports:crps_weightsmixture_from_samples
Dependencies:cmdstanrdata.table
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Obtain CRPS stacking weights | crps_weights |
| Make mixture model from predictive samples | mixture_from_samples |
