Package: surveil 0.3.0

Connor Donegan

surveil: Time Series Models for Disease Surveillance

Fits time trend 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. 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. Inference is completed using Markov chain Monte Carlo via the Stan modeling language. 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).

Authors:Connor Donegan [aut, cre]

surveil_0.3.0.tar.gz
surveil_0.3.0.zip(r-4.7-x86_64)surveil_0.3.0.zip(r-4.7-arm64)surveil_0.3.0.zip(r-4.6-x86_64)surveil_0.3.0.zip(r-4.6-arm64)
surveil_0.3.0.tar.gz(r-4.7-arm64)surveil_0.3.0.tar.gz(r-4.7-x86_64)surveil_0.3.0.tar.gz(r-4.6-arm64)surveil_0.3.0.tar.gz(r-4.6-x86_64)
surveil_0.3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
surveil/json (API)

# Install 'surveil' in R:
install.packages('surveil', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/connordonegan/surveil/issues

Pkgdown/docs site:https://connordonegan.github.io

Uses libs:
  • onetbb– Parallelism library for C++
  • c++– GNU Standard C++ Library v3
Datasets:
  • cancer - US cancer incidence by age, 1999-2017
  • msa - Colorectal cancer incidence by Texas MSA, 1999-2017, ages 50-79
  • standard - 2000 U.S. standard million population

On CRAN:

Conda:

onetbbcpp

3.30 score 341 downloads 9 exports 61 dependencies

Last updated from:106a82755d. Checks:8 NOTE, 2 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64NOTE295
linux-devel-x86_64NOTE247
source / vignettesOK435
linux-release-arm64NOTE283
linux-release-x86_64NOTE342
windows-devel-arm64NOTE393
windows-devel-x86_64NOTE439
windows-release-arm64NOTE397
windows-release-x86_64NOTE376
wasm-releaseOK220

Exports:apcgroup_difflkjnormalstan_rwstandardizetheiltheil2waic

Dependencies:abindarrayhelpersbackportsBHcallrcheckmateclicodacpp11descdistributionaldplyrfarvergenericsggdistggplot2gluegridExtragtableinlineisobandlabelinglatticelifecycleloomagrittrmatrixStatsnumDerivotelpillarpkgbuildpkgconfigposteriorprocessxpspurrrquadprogQuickJSRR6RColorBrewerRcppRcppEigenRcppParallelrlangrstanrstantoolsS7scalesStanHeadersstringistringrsvUnittensorAtibbletidybayestidyrtidyselectutf8vctrsviridisLitewithr

Age-standardized rates
Data | Direct age-standardization | Modeling age-specific risk | Age-standardizing model results | References

Last update: 2024-07-09
Started: 2022-04-03

MCMC with surveil
Example model | MCMC analysis | Monte Carlo standard errors | Rhat | Divergent transitions | References

Last update: 2024-07-09
Started: 2022-08-22

Measuring health inequality
Concepts | Demonstration | Comparing age-stratified groups | Measuring inequality with multiple groups | References

Last update: 2024-07-09
Started: 2024-07-09

Using surveil for public health research
Getting started | Preparing the data | Model specification | The basics | Binomial model | Fitting the model | Printing results | Visualizing results | Percent change | MCMC diagnostics | Multiple time series | References

Last update: 2024-07-09
Started: 2022-08-22

Readme and manuals

Help Manual

Help pageTopics
The 'surveil' packagesurveil-package surveil
Annual and cumulative percent changeapc apc.stand_surveil apc.surveil
US cancer incidence by age, 1999-2017cancer
Measures of pairwise inequalitygroup_diff group_diff.list group_diff.surveil
Colorectal cancer incidence by Texas MSA, 1999-2017, ages 50-79msa
Methods for fitted 'surveil' modelsplot.list plot.surveil print.surveil
Methods for Theil's indexplot.theil plot.theil_list print.theil print.theil_list
Methods for APC objectsplot.apc print.apc
Methods for age-standardized ratesplot.stand_surveil print.stand_surveil
Prior distributionslkj normal priors
Time series models for mortality and disease incidencestan_rw
2000 U.S. standard million populationstandard
Age-standardized ratesstandardize
Methods for 'surveil_diff' objectsplot.surveil_diff print.surveil_diff surveil_diff
Theil's inequality indextheil theil.list theil.surveil theil2
Widely Applicable Information Criteriawaic