surveillance: Temporal and Spatio-Temporal Modeling and Monitoring of Epidemic Phenomena

A package implementing statistical methods for the modeling and change-point detection in time series of counts, proportions and categorical data, as well as for the modeling of continuous-time epidemic phenomena, e.g. discrete-space setups such as the spatially enriched Susceptible-Exposed-Infectious-Recovered (SEIR) models for surveillance data, or continuous-space point process data such as the occurrence of disease or earthquakes. Main focus is on outbreak detection in count data time series originating from public health surveillance of infectious diseases, but applications could just as well originate from environmetrics, reliability engineering, econometrics or social sciences. Currently the package contains implementations of typical outbreak detection procedures such as Farrington et al (1996), Noufaily et al (2012) or the negative binomial LR-CUSUM method described in Hoehle and Paul (2008). Furthermore, inference methods for the retrospective infectious disease model in Held et al (2005), Held et al (2006), Paul et al (2008) and Paul and Held (2011) are provided. A novel CUSUM approach combining logistic and multinomial logistic modelling is also included. Continuous self-exciting spatio-temporal point processes are modeled through additive-multiplicative conditional intensities as described in Höhle (2009) ("twinSIR", discrete space) and Meyer et al (2012) ("twinstim", continuous space). The package contains several real-world data sets, the ability to simulate outbreak data, visualize the results of the monitoring in temporal, spatial or spatio-temporal fashion. Note: The suggested package INLA is unfortunately not available from any mainstream repository - in case one wants to use the 'boda' algorithm one needs to manually install the INLA package as specified at

Version: 1.8-0
Depends: R (≥ 2.15.2), methods, grDevices, graphics, stats, utils, Rcpp, sp (≥ 1.0-15), xtable, polyCub (≥ 0.4-2)
Imports: MASS, Matrix, spatstat (≥ 1.36-0)
LinkingTo: Rcpp
Suggests: parallel, lattice, grid, gridExtra, colorspace, scales, animation, msm, spc, quadprog, memoise, polyclip, rgeos, gpclib, maptools, intervals, spdep, numDeriv, maxLik, testthat, coda, splancs, gamlss, INLA, runjags
Published: 2014-06-17
Author: Michael Höhle [aut, cre, ths], Sebastian Meyer [aut], Michaela Paul [aut], Leonhard Held [ctb, ths], Thais Correa [ctb], Mathias Hofmann [ctb], Christian Lang [ctb], Juliane Manitz [ctb], Andrea Riebler [ctb], Daniel Sabanés Bové [ctb], Maëlle Salmon [ctb], Dirk Schumacher [ctb], Stefan Steiner [ctb], Mikko Virtanen [ctb], Valentin Wimmer [ctb], R Core Team [ctb] (A few code segments are modified versions of code from base R)
Maintainer: Michael Höhle <hoehle at>
License: GPL-2
NeedsCompilation: yes
Materials: NEWS
In views: Environmetrics, SpatioTemporal, TimeSeries
CRAN checks: surveillance results


Reference manual: surveillance.pdf
Vignettes: Additional documentation of the function algo.glrnb
Additional documentation of the function hhh4
Getting started with the package
Package source: surveillance_1.8-0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X Snow Leopard binaries: r-release: surveillance_1.7-0.tgz, r-oldrel: surveillance_1.7-0.tgz
OS X Mavericks binaries: r-release: not available
Old sources: surveillance archive