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)lopensemble_0.1.2.9000.zip(r-4.6)lopensemble_0.1.2.9000.zip(r-4.5)
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✨
card.svg |card.png
lopensemble/json (API)
NEWS
| # 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-x86_64 | NOTE | 200 | ||
| source / vignettes | OK | 274 | ||
| linux-release-x86_64 | NOTE | 166 | ||
| macos-release-arm64 | NOTE | 145 | ||
| macos-oldrel-arm64 | NOTE | 122 | ||
| windows-devel | NOTE | 142 | ||
| windows-release | NOTE | 121 | ||
| windows-oldrel | NOTE | 131 | ||
| wasm-release | OK | 144 |
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 |
