Fits time series models for routine disease surveillance tasks and returns probability distributions for a variety of quantities of interest, including age-standardized rates, period and cumulative percent change, and measures of health inequality. Calculates Theil's index to measure inequality among multiple groups, and can be extended to measure inequality across multiple groups nested within geographies. Inference is completed using Markov chain Monte Carlo via the Stan modeling language. The models are appropriate for count data such as disease incidence and mortality data, employing a Poisson or binomial likelihood and the first-difference (random-walk) prior for unknown risk. Optionally add a covariance matrix for multiple, correlated time series models. References: Donegan, Hughes, and Lee (2022) <doi:10.2196/34589>; Stan Development Team (2021) <https://mc-stan.org>; Theil (1972, ISBN:0-444-10378-3).
Version: | 0.2.1 |
Depends: | R (≥ 3.5.0) |
Imports: | rstantools (≥ 2.1.1), methods, Rcpp (≥ 0.12.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.18.1), tidybayes (≥ 3.0.0), dplyr (≥ 1.0.7), rlang (≥ 0.4.0), tidyr (≥ 1.1.0), ggplot2 (≥ 3.0.0), gridExtra (≥ 2.0), scales (≥ 0.4.0), ggdist (≥ 3.0.0) |
LinkingTo: | BH (≥ 1.66.0), Rcpp (≥ 0.12.0), RcppEigen (≥ 0.3.3.3.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.18.1), StanHeaders (≥ 2.18.0) |
Suggests: | rmarkdown, knitr, testthat |
Published: | 2022-08-22 |
Author: | Connor Donegan |
Maintainer: | Connor Donegan <connor.donegan at gmail.com> |
License: | GPL (≥ 3) |
URL: | https://connordonegan.github.io/surveil/, https://github.com/ConnorDonegan/surveil/, https://github.com/ConnorDonegan/surveil/, https://cran.r-project.org/web//packages/surveil/ |
NeedsCompilation: | yes |
SystemRequirements: | GNU make |
Citation: | surveil citation info |
Materials: | README NEWS |
CRAN checks: | surveil results |
Reference manual: | surveil.pdf |
Vignettes: |
Age-standardized rates Public health surveillance with surveil Markov chain Monte Carlo (MCMC): analysis and diagnostics |
Package source: | surveil_0.2.1.tar.gz |
Windows binaries: | r-devel: surveil_0.2.1.zip, r-release: surveil_0.2.1.zip, r-oldrel: surveil_0.2.1.zip |
macOS binaries: | r-release (arm64): surveil_0.2.1.tgz, r-oldrel (arm64): surveil_0.2.1.tgz, r-release (x86_64): surveil_0.2.1.tgz, r-oldrel (x86_64): surveil_0.2.1.tgz |
Old sources: | surveil archive |
Please use the canonical form https://CRAN.R-project.org/package=surveil to link to this page.