
EpiNow2 - Estimate and Forecast Real-Time Infection Dynamics
Estimates the time-varying reproduction number, rate of spread, and doubling time using a renewal equation approach combined with Bayesian inference via Stan. Supports Gaussian process and random walk priors for modelling changes in transmission over time. Accounts for delays between infection and observation (incubation period, reporting delays), right-truncation in recent data, day-of-week effects, and observation overdispersion. Can estimate relationships between primary and secondary outcomes (e.g., cases to hospitalisations or deaths) and forecast both. Runs across multiple regions in parallel. Based on Abbott et al. (2020) <doi:10.12688/wellcomeopenres.16006.1> and Gostic et al. (2020) <doi:10.1101/2020.06.18.20134858>.
Last updated
backcalculationcovid-19gaussian-processesopen-sourcereproduction-numberstancpp
12.28 score 138 stars 331 scripts 477 downloads
scoringutils - Utilities for Scoring and Assessing Predictions
Facilitate the evaluation of forecasts in a convenient framework based on data.table. It allows user to to check their forecasts and diagnose issues, to visualise forecasts and missing data, to transform data before scoring, to handle missing forecasts, to aggregate scores, and to visualise the results of the evaluation. The package mostly focuses on the evaluation of probabilistic forecasts and allows evaluating several different forecast types and input formats. Find more information about the package in the Vignettes as well as in the accompanying paper, <doi:10.48550/arXiv.2205.07090>.
Last updated
forecast-evaluationforecasting
11.35 score 61 stars 7 dependents 384 scripts 1.2k downloadssocialmixr - Social Mixing Matrices for Infectious Disease Modelling
Methods for sampling contact matrices from diary data for use in infectious disease modelling, as discussed in Mossong et al. (2008) <doi:10.1371/journal.pmed.0050074>.
Last updated
10.76 score 43 stars 2 dependents 288 scripts 1.0k downloads
epinowcast - A Bayesian Framework for Real-time Infectious Disease Surveillance
A modular Bayesian framework for real-time infectious disease surveillance. Provides tools for nowcasting, reproduction number estimation, delay estimation, and forecasting from data subject to reporting delays, right-truncation, missing data, and incomplete ascertainment. Users can build models suited to their setting using a flexible formula interface supporting fixed effects, random effects, random walks, and time-varying parameters, with options including parametric and non-parametric delay distributions with optional modifiers (via discrete-time hazard models), renewal processes, observation models, missing data imputation, and stratified analyses with partial pooling. By jointly estimating disease dynamics and reporting patterns, our framework enables earlier and more reliable detection of trends. While designed with epidemiological applications in mind, the framework can be applied to any right-truncated time series count data.
Last updated
cmdstanreffective-reproduction-number-estimationepidemiologyinfectious-disease-surveillancenowcastingoutbreak-analysispandemic-preparednessreal-time-infectious-disease-modellingstan
8.88 score 64 stars 88 scriptsrbi - Interface to 'LibBi'
Provides a complete interface to 'LibBi', a library for Bayesian inference (see <https://libbi.org> and Murray, 2015 <doi:10.18637/jss.v067.i10> for more information). This includes functions for manipulating 'LibBi' models, for reading and writing 'LibBi' input/output files, for converting 'LibBi' output to provide traces for use with the coda package, and for running 'LibBi' to conduct inference.
Last updated
8.53 score 25 stars 1 dependents 380 scripts 237 downloadsrbi.helpers - 'rbi' Helper Functions
Contains a collection of helper functions to use with 'rbi', the R interface to 'LibBi', described in Murray et al. (2015) <doi:10.18637/jss.v067.i10>. It contains functions to adapt the proposal distribution and number of particles in particle Markov-Chain Monte Carlo, as well as calculating the Deviance Information Criterion (DIC) and converting between times in 'LibBi' results and R time/dates.
Last updated
6.76 score 4 stars 363 scripts 222 downloadsnfidd - Material to support course on nowcasting and forecasting of infectious disease dynamics
Resources to support a short course on nowcasting and forecasting of infectious disease dynamics.
Last updated
delay-estimationepidemicsforecastinginfectious-disease-dynamicslearningnowcastingoutbreak-analysisoutbreaks
4.82 score 24 stars 9 scriptsEpiSoon - Forecast Cases Using Reproduction Numbers
To forecast the time-varying reproduction number and use this to forecast reported case counts. Includes tools to evaluate a range of models across samples and time series using proper scoring rules.
Last updated
case-forecastsforecasts
4.79 score 7 stars 25 scriptsqrensemble - Forecast ensembles using Quantile Regression Average (QRA)
Performs quantile regression average
Last updated
4.32 score 3 stars 1 scriptsringbp - Simulate and evaluate contact tracing scenarios
A package to simulate transmission of an infectious disease and associated efforts to trace conacts and reduce onwards transmission.
Last updated
controlling-outbreakstransmission
4.05 score 17 stars 19 scriptsRtD3 - Rt Visualization in D3
An R interface for the JavaScript library rt_vis(<https://github.com/hamishgibbs/rt_vis>).
Last updated
2.95 score 6 stars 7 scripts 34 downloadsidbrms - Infectious Disease Modelling Using brms
Infectious disease modelling using brms.
Last updated
brmsinfectious-disease-modelsopensource
2.60 score 4 stars 3 scriptsstanedit - Facilitate editing of stan models
Provides functionality for extracting particular bits of stan models as well as removing and adding lines.
Last updated
probabilistic-programmingstan
2.00 score 2 stars 1 scripts