Computational and Theoretical Analysis of Human Diseases Associated with Infectious PathogensView this Special Issue
Research Article | Open Access
Yury E. García, J. Andrés Christen, Marcos A. Capistrán, "A Bayesian Outbreak Detection Method for Influenza-Like Illness", BioMed Research International, vol. 2015, Article ID 751738, 10 pages, 2015. https://doi.org/10.1155/2015/751738
A Bayesian Outbreak Detection Method for Influenza-Like Illness
Epidemic outbreak detection is an important problem in public health and the development of reliable methods for outbreak detection remains an active research area. In this paper we introduce a Bayesian method to detect outbreaks of influenza-like illness from surveillance data. The rationale is that, during the early phase of the outbreak, surveillance data changes from autoregressive dynamics to a regime of exponential growth. Our method uses Bayesian model selection and Bayesian regression to identify the breakpoint. No free parameters need to be tuned. However, historical information regarding influenza-like illnesses needs to be incorporated into the model. In order to show and discuss the performance of our method we analyze synthetic, seasonal, and pandemic outbreak data.
An important issue in public health is timely epidemic outbreak detection. Outbreak surveillance and monitoring are usually done by gathering official data reported by hospitals and clinics through medical consultation. One of the most frequent causes of medical consultation in all countries is influenza-like illness (ILI) or acute respiratory infection (ARI) [1–3]. ILI are responsible for substantial morbidity and mortality each year . Seasonal influenza occurs throughout the world, and it is ranked as a leading cause of death for people below 4 and above 65 years of age and it is among the 10 top causes of death in almost all age groups [4, 5].
Early outbreak detection is necessary in order to take suitable control measures. Outbreaks correspond to breakpoints in surveillance data sets. Substantial research efforts have been devoted to this topic, inspired by a variety of statistical techniques including regression methods, time-series models, and statistical process control approaches and extensions to those fields that involve space-temporal studies and multivariate methods or techniques that include Bayesian inference [6, 7]. Comprehensive reviews of the field are presented by Unkel et al. , Sonesson and Bock , Brookmeyer and Stroup , and Watkins et al. . Each of these papers presents a classification of methods used for outbreak detection. In general, outbreak methods use threshold values or threshold intervals to signal an alert, all based on historical data.
There are methods based on linear regression with model selection using criteria like AIC or BIC. However, outbreak detection is made under uncertainty, as noise is present in early signals of influenza surveillance . Statistical methods that ignore this uncertainty may result in overconfident predictions. Bayesian methods provide a way to account for uncertainty in both data and model selection . In this paper we introduce a Bayesian outbreak detection using regression models with model selection based on Bayes factors; see Hoeting et al.  for a review. Examples of Bayesian model comparison in linear models are [14, 15]. Smith and Spiegelhalter  present a review of selection criteria for linear models in terms of Bayes factors. Guo and Speckman  examine consistency of Bayes factors in the comparison problem for linear models. One key difference from most other methods is that the method introduced in this paper is not based on historical data alone, but rather on the exponential nature of an epidemic outbreak. For the purposes of this paper, prior information regarding influenza-like illnesses was used to build prior distributions which in turn are useful to estimate the Bayes factors for model selection.
The paper is organized as follows. Section 2 describes the results that lead to the outbreak detection method proposed in this paper. Section 3 applies the proposed method to synthetic and real data sets. Section 3.3 discusses the feasibility of our approach. Finally, Section 4 summarizes our findings and offers some perspectives.
2. Materials and Methods
Let us consider the epidemic process outlined in Figure 1. Let , , and denote the number of susceptible, infected, and recovered individuals at time and the population size . The deterministic model, without imported infections, that is, , is defined through the following ODE system : is the per capita contact rate between susceptible and infected individuals and is the infection recovery rate. At the onset of an epidemic outbreak the number of infected individuals is small (relative to ); that is, and at initial time . Therefore andfor ; consequentlyHere is the basic reproductive number, which is defined as the expected number of secondary infections caused by an infectious individual in a totally susceptible population during the time the individual spends in the infectious compartment. An epidemic may occur if is greater than one, while a basic reproductive number smaller than one will not sustain an epidemic; see . Of note, the basic reproductive number does not change if .
In the remainder of the paper we write . Thus and thereforeThat is, the logarithm of the number of infected individuals is linear in during an epidemic outbreak.
On the other hand, outside epidemic outbreaks we expect that the number of infected reported cases varies around a background level, either around zero or an average number of reports as it is the case in influenza-like illnesses (ILI reports, examples to be analyzed in Section 3). By chance, the number of infected persons reports may vary around the average, with temporary runs going up (or down). In such a case we may fit a linear model in the original scale; namely,The basis for our approach is to compare models (4) and (5), with a short run of reports, using the machinery of Bayesian model selection (see Section 2.1). If the exponential (i.e., linear in log scale) model is selected, it will signal the possible start of an epidemic outbreak. It will be crucial to properly code in the prior distribution for and a clear separation between the two models, since for small values of both models may be quite similar (since , for small ). We explain the model selection and prior selection in the following sections.
2.1. Bayesian Model Comparison
Given a data set of reported cases , at times , we consider a sliding window of consecutive reports to compare the statistical models defined by expressions (4) and (5). Before the outbreak, a linear model explains better the reported cases. On the other hand, during the early phase of the epidemic outbreak the number of infected individuals grows exponentially; thus the exponential model should be selected by the Bayes factors and the onset of the outbreak detected. Next we present an outline of Bayes factors and Bayesian model comparison and the basis for our approach.
Given two hypotheses and corresponding to the alternative models and for data and parameters and , the posterior distribution in each case is , . Here and are the prior and likelihood for model andis the normalization constant in each case. The basis of Bayesian model selection is that we can calculate the posterior distribution that each model, or each hypothesis, , is true. Namely, from Bayes’s theorem we havewhere is the prior probability assigned for model . The Bayes factor () comparing these two models is given by the odds ratio of model versus model ; that is,Intuitively, the Bayes factor provides a measure of whether data have increased or decreased the odds on versus . Thus signifies that (or ) is relatively more probable than (or ) given . The optimal decision is therefore to choose the model with the highest posterior probability, that is, model 1 if and model 2 otherwise.
Note that Bayes factors do not make sense when using improper priors (due to unspecified constants) and are sensitive to vague or default a priori distributions; see . However, in this paper we use strong and informative (and indeed proper) priors aimed at distinguishing both models. Therefore the mentioned issues, thoroughly discussed in the Bayesian literature, should be of no concern in the current setting.
Let us denote by the exponential model in (4) and the linear model given in (5). Let be the data at hand, either for model 1 or for model 2, . Then we assumeThats is, follows a normal distribution with mean and covariance matrix , where is the identity matrix; and are the design matrix and the parameter vector, respectively. We will require a different design matrix and prior distributions, for each model .
To perform a standard conjugate Bayesian analysis on this linear model [19, 21, 22] we proceed as follows; please see Appendix A for more details. We use the Normal-Inverse Gamma () prior distribution: corresponds to the location parameter, is the covariance matrix , and and denote the parameters of the Inverse-Gamma distribution (for ), in the usual way. The posterior distribution results in a , where
Other relevant parameters are explained and set in Table 1. In the following section we discuss and establish prior distributions for each model, setting the hyperparameters of the prior distribution.
2.2. Prior Distributions
As mentioned in Section 2.1, it is crucial to separate both models through a prior distribution that distinguishes clearly the exponential growth from a linear fluctuation. The basic reproduction number plays a central role in the prior information. Here, prior information of our approach is set for influenza-like illnesses; other prior specifications could be attempted for another type of epidemic outbreaks. It is known that for seasonal influenza is approximately 1.5 ; therefore prior expectation for will be centered at 0.5. Moreover, in calibrating our models we have found that the bigger the population size the sharper the prior needed, where the prior variance should decrease as . This rule is in agreement with standard hypothesis in physics; in a well mixed system the amplitude of fluctuations scales like the square root of the system size .
For each data window, we first subtract its corresponding mean, for either the logged or the original data, and center the prior linear model around 0. Consequently, the hyperparameters and for the prior are set tofor the log-linear (exponential) and linear models, respectively. The outbreak detection method introduced here is robust to other reasonable settings for these hyperparameters. The only critical value is the variance for , which, as mentioned above, needs to be adjusted with the population size as .
The remaining hyperparameters are set to and , where is the observed variance in the data window, for either the logged or the original data. Thus, the prior variance is centered near the observed variance for each model.
Indeed, in a pure inference scenario it is questionable to use data driven prior distributions. However, in the current setting it is desired to distinguish between the linear and exponential models and not in fact the estimation of the regression parameters themselves, which are regarded as nuisance. By subtracting the mean and centering the prior of (either to or to ) to 0 and by setting a priori we are helping the inference of the regression parameters in each case (and equally for both models). This is a key feature of the proposed approach, since we will use a small window of three consecutive reports, and uncentered priors would blur the relative weight of each model, rendering the model comparison useless. Overall, the prior distribution selection at this stage should be regarded as a pragmatic approach to making the outbreak detection procedure work.
Once the outbreak is detected we may then try to estimate using the data window at hand. Again, since the data set is very small, we will use a noninformative prior (see ) and use the marginal posterior for the regression parameters of the log-linear (exponential) model to estimate . The corresponding marginal posterior for the whole parameter is , where and (indeed, is the logged data). The marginal distribution of any one of the entries of is a univariate Student distribution. We are interested in (corresponding to ); thus . We will use the posterior expected value, , of this posterior marginal to estimate ; namely, . Also, since is fixed an estimator for can be produced with .
In Section 3 we compute over a moving window of four consecutive data points, that is, , to decide whether changes are due to data oscillations (linear model is selected and ), or the onset of exponential growth occurs (the exponential model is selected and ) and an epidemic outbreak is expected.
We have tested the predictive capacity of the outbreak detection method proposed in this paper with real and synthetic data sets. The real data sets used are from the Spanish influenza outbreak in San Francisco, USA, in 1918 (see ) and data of the acute respiratory illnesses (ARI) from San Luis Potosí, México (see Noyola and Arteaga-Domínguez ).
Outbreak information and model relevant parameters like the infection rate (), the basic reproductive number (), and the week of outbreak were estimated. In each figure, red dots indicate three consecutive points in which the exponential model is selected over the linear model; that is, . Grey points indicate one single four-point window in which . As explained in the previous section, once the outbreak is detected we use the log-linear model, with a noninformative prior, to produce estimators for both and .
3.1. Synthetic Data Analysis
To create synthetic data we have avoided committing an “Inverse Crime” . Synthetic data was produced with a closely related but different model to the one assumed in (4) or (5) to be producing the infectious reports. Namely, we use the Gillespie algorithm to make a realization of the epidemic model with demographic stochasticity . Initially all individuals are susceptible and the epidemic outbreak is due to imported cases. The frequency of imported cases is controlled with parameter ; see Figure 1. Of note, the deterministic model (1) is the mean field equation of this stochastic model. Moreover, in a real scenario data is accumulated over the reporting time frame (daily, weekly, etc., reports for infected persons). We then accumulate the simulated data over the reported time frame to produce the synthetic infectious reports . Also, a linear autoregressive process is added to the synthetic data to simulate a background of diseases caused by other agents, as it is the case of influenza-like illness. Simulations have , (days); the rate of imported cases is depending on the population size . Reports are accumulated weekly. Some examples are presented in Figure 2 and the estimates for and are presented in Table 2.
3.2. Real Data Analysis
Real surveillance data sets account for medical consultation cases. These numbers represent infected persons seeking medical attention at health centers. For influenza, it is estimated that as low as 17% of the infected population seek medical consultation and approximately 75% of people with seasonal or pandemic influenza do not exhibit symptoms . However, under normal circumstances reports are proportional to the actual number of infected people and exponential growth in the number of infected people will be shown as such in the reported cases. In the following examples we do not explicitly model subreporting, obtaining good results in all cases.
The Spanish influenza of 1917-18 was a pandemic considered among the most devastating ones in history [30, 31]. Figure 3 shows a data set corresponding to San Francisco, USA, spanning from September 24th to November 24th.
Our detection method identifies an outbreak on October 10th. The estimated parameters associated with this epidemic are and . Both the estimated and outbreak day are comparable with the values calculated by Chowell et al. .
Data of acute respiratory infections (ARI) in San Luis Potosí, México, are available in Noyola and Arteaga-Domínguez . Here, we analyze ARI weekly reports from the winter seasons of 2000 to 2008. Reports refer to epidemiological weeks, for which week 1 is week 25 of the calendar year (i.e., mid June). Data for 2002-2003 and 2003-2004 winter seasons are plotted in Figure 4 along with outbreak detection results. In this series of data sets the seasonal outbreak is consistently detected between epidemiological weeks 13 and 15 with between 1.3 and 2.5; see Table 3.
Of note, other questions from ARI surveillance may be addressed; for instance, when do the weekly reports of ARI exceed the historical mean? However, in this paper we limit ourselves to the introduction of the detection method and leave other questions of disease surveillance for future research.
We have introduced an outbreak detection method based on Bayesian linear regression and Bayes factors. Our method performs correctly in real and synthetic examples. Undoubtedly a key component of this method is the structure of the prior information used to distinguish the exponential from the linear model. In the above examples we have focused on influenza-like illness (ILI) or acute respiratory infection (ARI). Consequently, the prior expectation for was set equal to 1.5. We anticipate that other diseases may be modeled correctly using previous reports of the expected value of the basic reproductive number. We have learned that the prior variance for needs to reduce as , where is the population size. This choice may be justified recalling that in a well mixed physical system fluctuations scale like the square root of the system size.
In the examples presented above the outbreak is detected in the presence of underreporting. The good performance of the method is explained considering the fact that the method is based on detecting a qualitative feature of the surveillance data instead of a quantitative threshold. Methods based on historical thresholds may have difficulties in detecting an outbreak happening within or below average historical report levels. Of note, our method uses historical data to calibrate prior distributions; for example, historical data is used to model how much we allow surveillance data to oscillate while in the autoregressive regime. Moreover, the method introduced in this paper allows us to estimate important parameters like infection rate () and the basic reproductive number () which provide valuable information regarding outbreak behavior. The estimation of these quantities was made using a sliding window of three consecutive reports.
Bayesian outbreak detection was applied to two types of real data sets. It consistently succeeded in making an early detection and the estimated and values were in agreement with values reported in the literature.
A Python-Scipy implementation of our approach may be downloaded from http://www.cimat.mx/jac/software; a user friendly interphase is available at request from the authors.
Outbreak detection is an important problem in surveillance of infectious diseases. The development of robust methods of early outbreak detection remains an active research area.
In this paper we use Bayes factors to detect a breakpoint that characterizes the onset of an epidemic outbreak in influenza-like illness surveillance data. The breakpoint characterizes the change from an autoregressive regime to exponential behavior of reported cases at the beginning of an epidemic outbreak. The detection method was successfully used on synthetic and real data sets. The resulting algorithm is straightforwardly implemented. The mathematical methods behind the algorithm are simple but contrast with other proposed methods which are based on calculating thresholds and control charts. Of note, our approach has no free parameters to tune.
The prior distributions used arise from coding information available for influenza-like illness. It is apparent that the method may be applied to surveillance data of other infectious diseases, for example, acute diarrheal diseases, provided enough prior information about the disease of interest is available.
Certainly, it is important to detect outbreaks before they have fully developed, that is, when the number of cases is still low. Our outbreak detection method seems to be able to achieve an early detection of influenza-like illness outbreaks, when synthetic and real data are analyzed. Furthermore, it allows us to make quantitative estimations for important parameters regarding the epidemic. The estimated parameters in the data sets analyzed are in agreement with previously published values.
Some features like the optimal number of reports required to identify an outbreak, optimal number of consecutive Bayes factors required to call an outbreak, and so forth are left as subject of further research.
A. Details on the Prior and Posterior Distributions and Obtaining the Normalizing Constants
Let us denote by the linear model , modeling the background data, and the exponential model given by , modeling the early outbreak. Let be the data, either for model 1 or for model 2. Then, we assumethat is, , follows a normal distribution with mean and covariance matrix , where is the identity matrix, and and are the design matrix and the parameter vector, respectively. The following details may also be found in .
A.1. The NIG Prior
To perform a standard conjugate Bayesian analysis on this linear model, we use the Normal-Inverse Gamma (NIG) prior distribution as follows:This two-dimensional distribution signifies thatwhere correspond to the a priori location parameter and the a priori covariance matrix for and and denote the hyperparameters for the a priori Inverse-Gamma distribution for ; considerThe functional form of this prior distribution is given bywhere represents the Gamma function and the prior density for is given by
A.2. The Likelihood
The likelihood function for each model is defined as the joint probability of observing the data viewed as a function of the parameters; consequentlyviewed as a function of and and fixing .
A.3. The Posterior NIG Distribution
The posterior distribution is defined as , where is the marginal distribution of the data.
We have that
Using the identitywe may writewhereTherefore,
A.4. The Normalization Constant
This is the constant required by the Bayes factor. We need to compute the distribution by integrating out and subsequently integrate out to obtain . Accordingly,
Here the matrix identity was applied to obtain
Now, the marginal distribution of is obtained as follows:In more detail, we have
Thus, the posterior distribution iswhich indeed reduces (after some algebraic manipulation) to the density.
The marginal distribution of any one of the entries of is a univariate Student distribution. This is used and the correct parameters are described in Section 2.2 to estimate and infection rate ().
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
- W. W. Thompson, L. Comanor, and D. K. Shay, “Epidemiology of seasonal influenza: use of surveillance data and statistical models to estimate the burden of disease,” Journal of Infectious Diseases, vol. 194, supplement 2, pp. S82–S91, 2006.
- L. Simonsen, “The global impact of influenza on morbidity and mortality,” Vaccine, vol. 17, no. 1, pp. S3–S10, 1999.
- H. Zhou, W. W. Thompson, C. G. Viboud et al., “Hospitalizations associated with influenza and respiratory syncytial virus in the United States, 1993–2008,” Clinical Infectious Diseases, vol. 54, no. 10, pp. 1427–1436, 2012.
- S. L. Murphy, J. Xu, and K. D. Kochanek, “Deaths: final data for 2010,” National Vital Statistics Reports, vol. 61, no. 4, pp. 1–117, 2013.
- Centers for Disease Control and Prevention, Seasonal Influenza (Flu), Centers for Disease Control and Prevention, 2014, http://www.cdc.gov/flu/weekly/summary.htm.
- M. A. Martínez-Beneito, D. Conesa, A. López-Quílez, and A. López-Maside, “Bayesian Markov switching models for the early detection of influenza epidemics,” Statistics in Medicine, vol. 27, no. 22, pp. 4455–4468, 2008.
- C. Pelat, P.-Y. Boëlle, B. J. Cowling et al., “Online detection and quantification of epidemics,” BMC Medical Informatics and Decision Making, vol. 7, no. 1, article 29, 2007.
- S. Unkel, C. P. Farrington, P. H. Garthwaite, C. Robertson, and N. Andrews, “Statistical methods for the prospective detection of infectious disease outbreaks: a review,” Journal of the Royal Statistical Society Series A: Statistics in Society, vol. 175, no. 1, pp. 49–82, 2012.
- C. Sonesson and D. Bock, “A review and discussion of prospective statistical surveillance in public health,” Journal of the Royal Statistical Society. Series A. Statistics in Society, vol. 166, no. 1, pp. 5–21, 2003.
- R. Brookmeyer and D. F. Stroup, Monitoring the Health of Populations: Statistical Principles and Methods for Public Health Surveillance, Oxford University Press, 2004.
- R. E. Watkins, S. Eagleson, R. G. Hall, L. Dailey, and A. J. Plant, “Approaches to the evaluation of outbreak detection methods,” BMC Public Health, vol. 6, no. 1, article 263, 2006.
- G. F. Cooper, D. H. Dash, J. D. Levander, W.-K. Wong, W. R. Hogan, and M. M. Wagner, “Bayesian biosurveillance of disease outbreaks,” in Proceedings of the 20th Conference on Uncertainty in Artificial Intelligence, pp. 94–103, AUAI Press, 2004.
- J. A. Hoeting, D. Madigan, A. E. Raftery, and C. T. Volinsky, “Bayesian model averaging: a tutorial,” Statistical Science, vol. 14, no. 4, pp. 382–417, 1999.
- J. M. Dickey, “The weighted likelihood ratio, linear hypotheses on normal location parameters,” Annals of Mathematical Statistics, vol. 42, pp. 204–223, 1971.
- D. J. Spiegelhalter and A. F. Smith, “Bayes factors for linear and Log-Linear models with vague prior information,” Journal of the Royal Statistical Society Series B (Methodological), vol. 44, no. 3, pp. 377–387, 1982.
- A. F. Smith and D. J. Spiegelhalter, “Bayes factors and choice criteria for linear models,” Journal of the Royal Statistical Society. Series B (Methodological), vol. 42, no. 2, pp. 213–220, 1980.
- R. Guo and P. L. Speckman, “Bayes factor consistency in linear models,” in Proceedings of the International Workshop on Objective Bayes Methodology, Valencia, Spain, June 2009.
- H. W. Hethcote, “The mathematics of infectious diseases,” SIAM Review, vol. 42, no. 4, pp. 599–653, 2000.
- J. M. Bernardo and A. F. Smith, Bayesian Theory, vol. 405, John Wiley & Sons, 2009.
- J. O. Berger and L. R. Pericchi, “The intrinsic Bayes factor for model selection and prediction,” Journal of the American Statistical Association, vol. 91, no. 433, pp. 109–122, 1996.
- S. Kunz, “The bayesian linear model with unknown variance,” Tech. Rep., Mimeo, New York, NY, USA, 2009.
- S. Banerjee, Bayesian linear model: Gory details 1 the nig conjugate prior family, 2014, http://www.biostat.umn.edu/~ph7440/pubh7440/BayesianLinearModelGoryDetails.pdf.
- G. Chowell, H. Nishiura, and L. M. A. Bettencourt, “Comparative estimation of the reproduction number for pandemic influenza from daily case notification data,” Journal of the Royal Society Interface, vol. 4, no. 12, pp. 155–166, 2007.
- N. G. van Kampen, Stochastic Processes in Physics and Chemistry, Volume 1, Elsevier, 1992.
- M. C. J. Bootsma and N. M. Ferguson, “The effect of public health measures on the 1918 influenza pandemic in U.S. cities,” Proceedings of the National Academy of Sciences of the United States of America, vol. 104, no. 18, pp. 7588–7593, 2007.
- D. E. Noyola and G. Arteaga-Domínguez, “Contribution of respiratory syncytial virus, influenza and parainfluenza viruses to acute respiratory infections in San Luis Potosí, Mexico,” Pediatric Infectious Disease Journal, vol. 24, no. 12, pp. 1049–1052, 2005.
- J. Kaipio and E. Somersalo, Statistical and Computational Inverse Problems, vol. 160, Springer Science & Business Media, 2006.
- M. J. Keeling and P. Rohani, Modeling Infectious Diseases in Humans and Animals, Princeton University Press, Princeton, NJ, USA, 2008.
- A. C. Hayward, E. B. Fragaszy, A. Bermingham et al., “Comparative community burden and severity of seasonal and pandemic influenza: results of the Flu Watch Cohort Study,” The Lancet Respiratory Medicine, vol. 2, no. 6, pp. 445–454, 2014.
- J. K. Taubenberger and D. M. Morens, “1918 influenza: the mother of all pandemics,” Revista Biomédica, vol. 17, pp. 69–79, 2006.
- A. W. Crosby, America's Forgotten Pandemic: The Influenza of 1918, Cambridge University Press, Cambridge, UK, 2003.
Copyright © 2015 Yury E. García et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.