Run length computation of a CUSUM detector
Fit an Endemic-Only twinstim
as a Poisson-glm
Test Whether Points are Inside a "gpc.poly"
Polygon
Plot Generation of the Observed and the defined Outbreak States of a
(multivariate) time series
Find decision interval for given in-control ARL and reference value
1861 Measles Epidemic in the City of Hagelloch, Germany
Compute indices of reference value using Date class
Function to try multiple starting values
Data Enlargement
Computes a matrix of initial values
Salmonella Newport cases in Germany 2004-2013
Surveillance for a count data time series using the EARS C1, C2 or C3 method.
Hook function for in-control mean estimation
Partition of a number into two factors
Specify Formulae in a Random Effects HHH Model
Intersection of a Polygonal and a Circular Domain
Class "stsNC" -- a class inheriting from class sts
which
allows the user to store the results of back-projecting
surveillance time series
Computation of Quality Values for a Surveillance System Result
toLatex
-Method for (lists of) "sts"
Objects
Plot Paths of Point Process Intensities
Print xtable for a Simulated Disease and the Summary
Convert individual case information based on dates into an aggregated
time series of counts
Stepwise Model Selection by AIC
Data Correction from 53 to 52 weeks
Measles in the 16 states of Germany
Aggregate the observed counts
Extract Cox-Snell-like Residuals of a Fitted Point Process
Class "stsBP" -- a class inheriting from class sts
which
allows the user to store the results of back-projecting or nowcasting
surveillance time series
algo.farrington.threshold
Compute prediction interval for a new observation
Temporal and Spatial Interaction Functions for twinstim
Predictions from a HHH model
Query Transmission to Specified Surveillance Algorithm
Fit a Two-Component Spatio-Temporal Point Process Model
Compute Anscombe residuals
Plots for Fitted hhh4
-models
Checks if the Argument is Scalar
Hook function for in-control mean estimation
Hospitalized Salmonella cases in Germany 2004-2014
Hepatitis A in Germany
Summary Table Generation for Several Disease Chains
Simulation of a Self-Exciting Spatio-Temporal Point Process
Function that adds a sine-/cosine formula to an existing formula.
Salmonella Hadar cases in Germany 2001-2006
Find ISO week and ISO year of a vector of Date objects on Windows
Paired binary CUSUM and its run-length computation
Residuals from a HHH model
CUSUM detector for time-varying categorical time series
Compute the Unary Union of "SpatialPolygons"
Generic functions to access "sts"
slots
Simulation of Epidemic Data
Temporal Interaction Function Objects
Continuous-Time SIR Event History of a Fixed Population
Extraction and Subsetting of sts objects Map of Disease Incidence During a Given Period
Determine the k and h values in a standard normal setting
Abattoir Data
Plot the ECDF of a uniform sample with Kolmogorov-Smirnov bounds
Create the design matrices
Surveillance for an univariate count data time series using the
Bayesian Outbreak Detection Algorithm (BODA) described in Manitz and
H�hle {Hoehle} (2013)
The CDC Algorithm
Hepatitis A in Berlin
Fitting HHH Models with Random Effects and Neighbourhood Structure
RKI SurvStat Data
Calculates the sum of counts of adjacent areas
Indicate Polygons at the Border
algo.farrington.assign.weights
Assign weights to base counts
Import from package spatstat Model fit based on a two-component epidemic model
Cases of Campylobacteriosis and Absolute Humidity in Germany 2002-2011
Semiparametric surveillance of outbreaks
Print xtable for several diseases and the summary
Calculation of Average Run Length for discrete CUSUM schemes
Creating an object of class disProg
Calculation of the loglikelihood needed in algo.hhh
update
-method for "twinstim"
Spatial Interaction Function Objects
Check the residual process of a fitted twinSIR
or twinstim
Power-Law and Nonparametric Neighbourhood Weights for hhh4
-Models
Latex Table Generation
Surveillance for an univariate count data time series using the improved Farrington method described in Noufaily et al. (2012).
Generic animation of spatio-temporal objects
Monte Carlo Permutation Test for Paired Individual Scores
Modified CUSUM method as proposed by Rogerson and Yamada (2004)
Spatio-Temporal Animation of a Continuous-Time Continuous-Space Epidemic
Surveillance for a count data time series using the Farrington method.
Salmonella Agona cases in the UK 1990-1995
Continuous Space-Time Marked Point Patterns with Grid-Based Covariates
Impute Blocks for Extra Stops in "epidata"
Objects
The Bayes System
Map of Disease Incidence
Hospitalization date for HUS cases of the STEC outbreak in Germany, 2011
Conversion (aggregation) of "epidataCS"
to "epidata"
or "sts"
Class "sts"
-- surveillance time series
Plotting the Evolution of an Epidemic
Power-Law Weights According to Neighbourhood Order
Update method for "epidataCS"
Simulates data based on the model proposed by Held et. al (2005)
Fit an Additive-Multiplicative Intensity Model for SIR Data
Computes basic reproduction numbers from fitted models
Find reference value
Danish 1994-2008 all cause mortality data for six age groups
Spatio-Temporal Animation of an Epidemic
Comparison of Specified Surveillance Systems using Quality Values
Returns a suitable k1 x k2 for plotting the disProgObj
Convert disProg object to sts and vice versa
Time-Series Plots for "sts"
Objects
Generation of Background Noise for Simulated Timeseries
Influenza in Southern Germany
Derive Adjacency Structure of "SpatialPolygons"
Quantile Function of the Lomax Distribution
Calculate mean response needed in algo.hhh
Measles in the Weser-Ems region of Lower Saxony, Germany, 2001-2002
Plotting Paths of Infection Intensities for twinSIR
Models
Plot methods for fitted twinstim
's
Surgical failures data
Summarizing an Epidemic
Rotavirus cases in Brandenburg, Germany, during 2002-2013 stratified by 5 age categories
Simulates data based on the model proposed by Paul and Held (2011)
Animated Maps and Time Series of Disease Incidence
Options of the surveillance Package update
a fitted "hhh4"
model
Count Number of Instances of Points
Print, Summary and Extraction Methods for "twinSIR"
Objects
Print, Summary and other Standard Methods for "hhh4"
Objects
Profile Likelihood Computation and Confidence Intervals for
twinstim
objects
Import from package spatstat Prime number factorization
Adjust a univariate time series of counts for observed
but-not-yet-reported events
Centering and Scaling a "gpc.poly"
Polygon
CUSUM method
Influenza and meningococcal infections in Germany, 2001-2006
Pretty p-Value Formatting
The system used at the RKI
Spatio-temporal cluster detection
Plot results of a twins model fit
Simulation from an Isotropic Spatial Kernel via Polar Coordinates
Xtable quality value object
Plotting the Events of an Epidemic over Time and Space
Plot a survRes object
Aggregate the the series of an sts object
Print quality value object
Identify Endemic Components in an Intensity Model
Generation of Simulated Point Source Epidemy
Plot-Methods for Surveillance Time-Series Objects
Poisson regression charts
[stage=build]{(meta <- packageDescription("surveillance", encoding="latin1"))$Title}
A package implementing statistical methods for the modelling 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 Stroup et. al (1989), Farrington et al
(1996), Rossi et al (1999), Rogerson and Yamada (2001), a Bayesian
approach, negative binomial CUSUM methods and a detector based on
generalized likelihood ratios.
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� {oe}hle (2009) ("twinSIR", discrete space) and Meyer et al (2012)
("twinstim", continuous space).
The package contains several real-world datasets, the ability to
simulate outbreak data, visualize the results of the monitoring in
temporal, spatial or spatio-temporal fashion.
ll {
Package: [stage=build]{meta$Package}
Version: [stage=build]{meta$Version}
License: [stage=build]{meta$License}
URL: http://surveillance.r-forge.r-project.org/
surveillance is an Rpackage implementing statistical methods
for the retrospective modeling and prospective change-point detection
in time series of counts, proportions and categorical data. The main
application is in the detection of aberrations in routine collected
public health data seen as univariate and multivariate time series of
counts or point-processes. However, applications could just as well
originate from environmetrics, econometrics or social sciences. As
many methods rely on statistical process control methodology, the
package is thus also relevant to quality control and reliability
engineering.
The fundamental data structure of the package is an S4 class
sts
wrapping observations, monitoring results and date handling
for multivariate time series. Currently the package contains
implementations typical outbreak detection procedures such as Stroup et
al. (1989), Farrington et al., (1996), Rossi et al. (1999), Rogerson
and Yamada (2001), a Bayesian approach (H� {oe}hle, 2007),
negative binomial CUSUM methods (H� {oe}hle and Mazick, 2009), and a
detector based on generalized likelihood ratios (H� {oe}hle
and Paul, 2008). However, also CUSUMs for the prospective change-point
detection in binomial, beta-binomial and multinomial time series is
covered based on generalized linear modelling. This includes
e.g. paired binary CUSUM described by Steiner et al. (1999) or paired
comparison Bradley-Terry modelling described in H� {oe}hle
(2010). The package contains several real-world datasets, the ability
to simulate outbreak data, visualize the results of the monitoring in
temporal, spatial or spatio-temporal fashion.
Furthermore, the package contains inference methods for the
retrospective infectious disease model in Held et al. (2005), Paul et
al. (2008) ("algo.hhh") and Paul and Held (2011) ("hhh4") handling
multivariate time series of counts. Furthermore, the fully Bayesian
approach for univariate time series of counts from Held et al. (2006)
("twins") is also implemented. Self-exciting spatio-temporal point
processes are modeled through additive-multiplicative conditional
intensities as described in H� {oe}hle (2009) ("twinSIR") and
Meyer et al (2012) ("twinstim").
Altogether, the package allows the modelling and monitoring of
epidemic phenomena in temporal and spatio-temporal contexts. [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object] Count Data Regression Charts
Profile Likelihood Computation and Confidence Intervals
Sample Points Uniformly on a Disc
Randomly Break Ties in Data
Plot Generation
Determine Neighbourhood Order Matrix from Binary Adjacency Matrix
Non-Randomized Version of the PIT Histogram (for Count Data)
Hidden Markov Model (HMM) method
Non-parametric back-projection of incidence cases to exposure cases
using a known incubation time as in Becker et al (1991).
MMR coverage levels in the 16 states of Germany
Reading of Disease Data
Predictions from a hhh4
Model
Occurrence of Invasive Meningococcal Disease in Germany
Multivariate Surveillance through independent univariate algorithms
Writing of Disease Data
Predictive Model Assessment for hhh4
Models
Toy Data for twinSIR
Print, Summary and Extraction Methods for "twinstim"
Objects
Fit the Poisson GLM of the Farrington procedure for a single
time point
Layout Item for Feature Labels in spplot
Model fit based on the Held, Hoehle, Hofman paper
Polygonal Approximation of a Disc/Circle
Plot the spatial or temporal interaction function of a twimstim
Plotting Intensities of Infection over Time or Space