All Projects → seananderson → covidseir

seananderson / covidseir

Licence: other
Bayesian SEIR model to estimate the effects of social-distancing on COVID-19

Programming Languages

r
7636 projects
Stan
76 projects
C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to covidseir

covidestim
Bayesian nowcasting with adjustment for delayed and incomplete reporting to estimate COVID-19 infections in the United States
Stars: ✭ 20 (-13.04%)
Mutual labels:  stan, r-package, covid-19
Rstanarm
rstanarm R package for Bayesian applied regression modeling
Stars: ✭ 285 (+1139.13%)
Mutual labels:  stan, r-package
Bayesplot
bayesplot R package for plotting Bayesian models
Stars: ✭ 276 (+1100%)
Mutual labels:  stan, r-package
Brms
brms R package for Bayesian generalized multivariate non-linear multilevel models using Stan
Stars: ✭ 825 (+3486.96%)
Mutual labels:  stan, r-package
covid19-analytics
Analysis of the COVID19 outbreak in Brazil mainly through epidemic and hospitalization models, by the Health Analytics and Prospera consulting business units of Funcional Heatlh Tech.
Stars: ✭ 22 (-4.35%)
Mutual labels:  seir, covid-19
Tidybayes
Bayesian analysis + tidy data + geoms (R package)
Stars: ✭ 557 (+2321.74%)
Mutual labels:  stan, r-package
Rstan
RStan, the R interface to Stan
Stars: ✭ 760 (+3204.35%)
Mutual labels:  stan, r-package
geostan
Bayesian spatial analysis
Stars: ✭ 40 (+73.91%)
Mutual labels:  stan, r-package
Shinystan
shinystan R package and ShinyStan GUI
Stars: ✭ 172 (+647.83%)
Mutual labels:  stan, r-package
Loo
loo R package for approximate leave-one-out cross-validation (LOO-CV) and Pareto smoothed importance sampling (PSIS)
Stars: ✭ 106 (+360.87%)
Mutual labels:  stan, r-package
Projpred
Projection predictive variable selection
Stars: ✭ 76 (+230.43%)
Mutual labels:  stan, r-package
covid-19
COVID-19 infectious forecasting using SEIR model and R0 estimation
Stars: ✭ 65 (+182.61%)
Mutual labels:  seir, covid-19
cmdstanr
CmdStanR: the R interface to CmdStan
Stars: ✭ 82 (+256.52%)
Mutual labels:  stan, r-package
covid-19-datasette
Deploys a Datasette instance of COVID-19 data from Johns Hopkins CSSE and the New York Times
Stars: ✭ 62 (+169.57%)
Mutual labels:  covid-19
COVID-19-Datasets
Novel Coronavirus (COVID-19) Cases for India, provided by University of Kalyani.
Stars: ✭ 19 (-17.39%)
Mutual labels:  covid-19
reproducible
A set of tools for R that enhance reproducibility beyond package management
Stars: ✭ 33 (+43.48%)
Mutual labels:  r-package
powerlmm
powerlmm R package for power calculations for two- and three-level longitudinal multilevel/linear mixed models.
Stars: ✭ 86 (+273.91%)
Mutual labels:  r-package
xfun
Miscellaneous R functions
Stars: ✭ 102 (+343.48%)
Mutual labels:  r-package
reportfactory
Lightweight infrastructure to handle multiple rmarkdown reports
Stars: ✭ 68 (+195.65%)
Mutual labels:  r-package
MoveSim
Codes for paper in KDD 2020 (AI for COVID-19): Learning to Simulate Human Mobility
Stars: ✭ 16 (-30.43%)
Mutual labels:  covid-19

covidseir

Bayesian SEIR Modelling for Multivariate COVID-19 Case Data

R-CMD-check Lifecycle: experimental

Overview

covidseir fits a Bayesian SEIR (Susceptible, Exposed, Infectious, Recovered) model to daily COVID-19 case data. The package focuses on estimating the fraction of the usual contact rate for individuals participating in physical distancing (social distancing). The model is coded in Stan. The model can accommodate multiple types of case data at once (e.g., reported cases, hospitalizations, ICU admissions) and accounts for delays between symptom onset and case appearance.

The model is a continuation of the model described in the papers:

Anderson, S. C., Edwards, A. M., Yerlanov, M., Mulberry, N., Stockdale, J., Iyaniwura, S. A., Falcao, R. C., Otterstatter, M. C., Irvine, M. A., Janjua, N. Z., Coombs, D., & Colijn, C. (2020). Quantifying the impact of COVID-19 control measures using a Bayesian model of physical distancing. PLoS Computational Biology. 16(12): e1008274. https://doi.org/10.1371/journal.pcbi.1008274

Anderson, S. C., Mulberry, N., Edwards, A. M., Stockdale, J. E., Iyaniwura, S. A., Falcao, R. C., Otterstatter, M. C., Janjua, N. Z., Coombs, D., and Colijn, C. (2021). How much leeway is there to relax COVID-19 control measures? Epidemics. 100453. https://doi.org/10.1016/j.epidem.2021.100453

Illustration for logo by Alissa Eckert, MSMI; Dan Higgins, MAMS.

This package is a work in progress: arguments and output format may still change and not all functionality has been tested.

Installation

Before installation, you will need a C++ compiler installed to compile the Stan model. Follow the relevant instructions on configuring a C++ toolchain for your operating system on the rstan wiki.

The following must return TRUE before continuing:

# install.packages("pkgbuild")
pkgbuild::has_build_tools(debug = TRUE)

Then, install the covidseir package with:

# install.packages("remotes")
remotes::install_github("seananderson/covidseir")

See the examples in ?fit_seir and ?project_seir and the vignette.

To install the package with the vignette:

remotes::install_github("seananderson/covidseir", build_vignettes = TRUE)

and run:

browseVignettes("covidseir")
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].