Package: npfseir 0.2.1
npfseir: Nested Particle Filter for Stochastic SEIR Epidemic Models
Implements the online Bayesian inference framework for joint state and parameter estimation in a stochastic Susceptible-Exposed-Infectious-Recovered (SEIR) epidemic model with a time-varying transmission rate. The log-transmission rate is modelled as a latent Ornstein-Uhlenbeck (OU) process with exact Gaussian discrete-time transitions. Inference is performed via the nested particle filter (NPF) of Crisan and Miguez (2018) <doi:10.3150/17-BEJ954>, which maintains an outer particle layer over the OU hyperparameters and, for each outer particle, an inner bootstrap filter over epidemic states. The Cori-style renewal-equation estimator follows Cori et al. (2013) <doi:10.1093/aje/kwt133>. The package also provides utilities for simulation, posterior summarisation, and forecasting.
Authors:
npfseir_0.2.1.tar.gz
npfseir_0.2.1.zip(r-4.7-any)npfseir_0.2.1.zip(r-4.6-any)npfseir_0.2.1.zip(r-4.5-any)
npfseir_0.2.1.tgz(r-4.6-any)npfseir_0.2.1.tgz(r-4.5-any)
npfseir_0.2.1.tar.gz(r-4.7-any)npfseir_0.2.1.tar.gz(r-4.6-any)
npfseir_0.2.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
npfseir/json (API)
| # Install 'npfseir' in R: |
| install.packages('npfseir', repos = c('https://wwang-math.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:6b776c32d3. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 107 | ||
| source / vignettes | OK | 179 | ||
| linux-release | OK | 144 | ||
| macos-release | OK | 68 | ||
| macos-oldrel | OK | 104 | ||
| windows-devel | OK | 68 | ||
| windows-release | OK | 55 | ||
| windows-oldrel | OK | 79 | ||
| wasm-release | OK | 76 |
Exports:cori_rtnpf_seirou_paramsseir_simulate
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| npfseir: Nested Particle Filter for Stochastic SEIR Epidemic Models | npfseir-package npfseir |
| Cori-style renewal-equation R_t estimator | cori_rt |
| Run the Nested Particle Filter for a stochastic SEIR model | npf_seir |
| Compute exact Ornstein-Uhlenbeck discrete-time transition parameters | ou_params |
| Plot method for npf_seir | plot.npf_seir |
| Posterior predictive forecasts from an npf_seir object | predict.npf_seir |
| Print method for npf_seir | print.npf_seir |
| Simulate a stochastic SEIR epidemic with latent OU transmission | seir_simulate |
| Summary method for npf_seir | summary.npf_seir |
