Table of Contents Author Guidelines Submit a Manuscript
Discrete Dynamics in Nature and Society
Volume 2018, Article ID 3187807, 7 pages
Research Article

Parameter Estimation on a Stochastic SIR Model with Media Coverage

1Department of Basic Science, Army Military Transportation University, Tianjin 300161, China
2School of Science, Tianjin Polytechnic University, Tianjin 300161, China
3School of Computer Science and Software Engineering, Tianjin Polytechnic University, Tianjin 300387, China

Correspondence should be addressed to Yongzhen Pei; moc.361@iepnehzgnoy

Received 11 March 2018; Accepted 20 May 2018; Published 12 June 2018

Academic Editor: Guang Zhang

Copyright © 2018 Changguo Li 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.


Media coverage reduces the transmission rate from infective to susceptible individuals and is reflected by suitable nonlinear functions in mathematical modeling of the disease. We here focus on estimating the parameters in the transmission rate based on a stochastic SIR epidemic model with media coverage. In order to reduce the computational load, the Newton-Raphson algorithm and Markov Chain Monte Carlo (MCMC) technique are incorporated with maximum likelihood estimation. Simulations validate our estimation results and the necessity of a model with media coverage when modeling the contagious diseases.

1. Introduction

The spread of a contagious disease can trigger responses of people so as to minimize the effect of the disease onto them, and that prevents themselves from contracting the disease [1, 2]. Many scholars have explored the influence of media awareness from mathematical models. Cui et al. [3] modeled the transmission rate involving the media effect by the function , in which the parameters and represent the media impact (hence we call these parameters media parameters) and the transmission rate before media alert, respectively, and denotes the number of infected individuals at time . Liu et al. [4] proposed another transmission rate to capture the impact of media on disease spread. Here the media parameter refers to the reduced maximum value of the transmission rate when the number of infected individuals approaches infinite and reflects the reactive velocity of media coverage to the epidemic disease. Literatures concerning with media coverage mainly focus on the dynamic behaviors of epidemic models with media coverage by way of surveys, qualitative approaches, or numerical simulations [27].

Comparatively the problem of parameter estimation concerning transmission rate involving media effect has not been fully discussed. One main challenge in these inferential tasks is attributed to the burden of computational load of minimizing/maximizing corresponding object functions, including likelihood functions or the squared differences [811]. In this paper, we consider a stochastic Susceptible-Infected-Removed (SIR) model [12] with media coverage. The advantage of the model [12] is that an explicit likelihood functions can be formulated, which enables us to estimate parameters of the model. Newton-Raphson algorithms and Bayesian inference techniques are adopted to alleviate the computational load.

The paper is organized as follows. The stochastic SIR model with media coverage effect is introduced in Section 2. Then the likelihood function of the model is derived, from which unknown parameters can be estimated via Newton-Raphson algorithm or Markov Chain Monte Carlo (MCMC) technique in Section 3. Finally, some simulations are included to help illustrate the necessity to take media coverage into account when modeling the transmission dynamics of infectious disease in Section 4.

2. Model Formulation

Katriel [12] proposed a stochastic discrete time model with infection age. Suppose that the population of size is partitioned into three classes, the susceptible, infectious, and recovered, with the numbers denoted by , , and at day , respectively. Furthermore, newly infected number is introduced on day . Suppose the infected individuals can remain “infective” for days. And the period from the moment an individual became infected to the present is named “age-of-infection” of the individuals which is denoted by . Hence the number of the infective with infection age on day is .

Faced with growing number of the infective, people will reduce their chances of contacting with others for fear of being infected. For this reason, we adopt the nonlinear contact rate . Here parameter is constant and is the intensity of infection occurring on day , and parameter reflects the extent to which media coverage affects society. If , the contact rate is constant which has been used by many classical models. As increases the alertness of the public to the disease, the public will be more aware of the diseases which reduces the contact rate as such.

In order to deduce the likelihood, we divide into discrete “days” and each day is divided into small intervals of length . In view of the impacts of media, a susceptible encounters an individual with infection age in each small interval with probability and gets infected with probability Here we assume, when a susceptible contacts with an infective individual whose infection age is , the susceptible becomes infective with probability . Therefore the possibility that this susceptible escapes the infection in each day is as As a result, the probability that at least one susceptible becomes infected during day t is given by Given , the number of newly infected individuals at day is binomially distributed with parameters and . That is, Since the number of infected individuals each day is equal to the reduction of susceptible of that day, we readily have

Based on (5) and (6) not only can we construct the likelihood so as to estimate the parameters, they are also crucial for simulations afterward. In order to realize this process, we can produce a binomial random number by applying (5) and (6) iteratively for when starting values and are known.

When the population is large, a deterministic model is obtained from the stochastic one in the sense of “thermodynamic limit”. Let and be the proportions of the individuals which turn into infective and susceptible by day , respectively. Given information about the infection before day , the conditional expected size of infected individuals on day is Hence we derive the infected fraction at day by the formula Then a deterministic model is yielded as In order to check the relationship between the stochastic model and its deterministic counterpart, we simulate the stochastic models with different values of population sizes. Together with solutions of model (9) and (10), the result (Figure 1) shows the model (9) is indeed the limit of its stochastic model as increases.

Figure 1: Three realizations are plotted for three values of ( from left to right) with respect to the stochastic and its deterministic model. The rest parameters are , including the starting values, .

3. Estimation of Parameters

In the following, the parameters in the model (5) will be estimated. Assume that the data during days are available. We will first deal with the case that is known and next consider its estimation when it is unknown.

3.1. Estimating ,

Before the formal estimation, we consider the approximation of the original model (5) and (6). For relatively large and thus Due to this approximation, the random variable is approximately Poisson distributed. That is,

Notice that the likelihood is the probability of the following event: staring from given numbers , the data are observed. Hence the likelihood of model of (5) and (6) is given by where The log-likelihood is thus Differentiating with respect to and , we obtain Therefore the maximum likelihood estimators for and are the solutions to equations: By the Newton-Raphson algorithm [13], it is easy to evaluate from (19). Substituting into (18), we obtain the estimator .

To check the validity of the estimators, 100 realizations of (5) and (6) are generated with . In each case, two estimators and are evaluated and plotted in Figure 2, which shows that and give suitable estimates of the original value of and , respectively.

Figure 2: Histograms of 100 estimators of and with and . The starting values are .
3.2. Estimating , , and

In real applications, the initial susceptible number is usually unknown either. Hence we also need to estimate from data , . Noticing that with , we havewhere . Accordingly the likelihood function of the model is given by

Owing to the difficulty in maximizing , we pose it as a Bayes parameter inference problem. The prior for and is chosen to be noninformative, i.e., and In addition is uniformly distributed on By assumption of independence, the prior distribution of is defined as In this way we get the posterior By drawing samples from using a MCMC scheme, the Bayesian estimates , , and of , and are obtained by the sample means of these simulating parameters, respectively.

To examine the quality of these Bayesian estimators, a population of size with initially susceptible is considered. The parameters are set as , , , and for . The histograms of the estimates are presented in Figure 3 which shows that , and are suitable estimates of the original value of , and , respectively.

Figure 3: Histograms of Bayesian estimators of , and . The data are simulated from the model with parameters , , , and for .

4. Numerical Simulation

In this section, we make some contrasts on the models with and without media coverage.

4.1. Contrast on Fitting Simulated Data (All Data Used to Support Our Findings of This Study Are Simulated by Gillespie Algorithm)

We make a contrast on fitting models with and without media coverage to the data simulated from a model with media coverage. First a set of data are simulated from model (5) and (6) with parameters and initial parameters The scatter plot is illustrated in Figure 4. Next we estimated the parameters of model (5) and (6) and in the model [12] by MLE, yielding in our model and in model [12]. Finally the corresponding deterministic models are obtained from the estimated parameters and the average infected levels are plotted in Figure 4. This simulation shows that model without consideration of media effect fails to capture the characteristics of data effected by media coverage.

Figure 4: Different estimations on the same data produced by a model with media coverage where and . The solid line corresponds to the estimated model with media coverage (the estimates are and ). The dash line corresponds to the estimated model without media coverage (the estimate is ).
4.2. Influence of Media Coverage on the Size of Newly Infected People

We now compare the number of newly infected individuals every day under different . The solutions of the deterministic model (9) and (10) are plotted in Figure 5 with , , and . The simulation indicates that high involvement of media will significantly delay the epidemics peak and thus decreases the severity of the outbreak. This contrast shows that media coverage can decrease the prevalence of epidemic effectively so that we can take further measures to enhance the media coverage against the disease.

Figure 5: Effect of media coverage on the epidemics outbreak. Comparison of epidemics with (dash line), (solid line), and (dot solid line). In all these cases , and the starting values are .

5. Discussion

In this paper, we study the parameter estimation in a stochastic SIR age-of-infection epidemic model with media impact. The work can be generalized to other models with media coverage. We replace the age of infection by a stochastic recovery and suppose the probability of recovery to be proportional to the length of the subinterval of time. That is, an infected individual is supposed to recover from infection with probability during any time interval . Thus an infected individual does not recover within one day with probability as Then the probability that an infected individual recovers within one day is So, given the number of the infected at day , the recovered number on day is binomially distributed. That is, Then a more general SIR model with media coverage turns into where

Given infected data, and the likelihood is where From this formula, we know that the new added parameter does not affect the likelihood; thus parameters and can be estimated in the similar way.

We can also consider the case that the recovered individuals are not immune after days and immediately become susceptible to reinfection again. In such case, the model is adjusted to the following case: where This is the SI model concerning media coverage and age of infection and the parameters can be estimated likewise.

Data Availability

The data used to support the findings of this study were simulated by ourselves and are included within the article.

Conflicts of Interest

The authors declare that they have no conflicts of interest.


This paper is supported by National Natural Science Foundation of China (11471243).


  1. P. White, Epidemics and Pandemics: Their Impacts on Human History, ABC-CLIO, SantaBarabara, Calif, USA, 2006. View at Publisher · View at Google Scholar
  2. A. K. Misra, A. Sharma, and J. B. Shukla, “Modeling and analysis of effects of awareness programs by media on the spread of infectious diseases,” Mathematical and Computer Modelling, vol. 53, no. 5-6, pp. 1221–1228, 2011. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus
  3. J. Cui, Y. Sun, and H. Zhu, “The impact of media on the control of infectious diseases,” Journal of Dynamics and Differential Equations, vol. 20, no. 1, pp. 31–53, 2008. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus
  4. Y. Liu and J.-A. Cui, “The impact of media coverage on the dynamics of infectious disease,” International Journal of Biomathematics, vol. 1, no. 1, pp. 65–74, 2008. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus
  5. S. Collinson and J. M. Heffernan, “Modelling the effects of media during an influenNa epidemic,” Collinson and Heffernan BMC Public Health, vol. 14, p. 376, 2014. View at Publisher · View at Google Scholar
  6. J.-A. Cui, X. Tao, and H. Zhu, “An SIS infection model incorporating media coverage,” The Rocky Mountain Journal of Mathematics, vol. 38, no. 5, pp. 1323–1334, 2008. View at Publisher · View at Google Scholar · View at MathSciNet
  7. J. M. Tchuenche, N. Dube, C. P. Bhunu, R. J. Smith, and C. T. Bauch, “The impact of media coverage on the transmission dynamics of human influenNa,” BMC Public Health, vol. 11, 1, 2011. View at Publisher · View at Google Scholar · View at Scopus
  8. Y. J. Choi and N. C. Severo, “An approximation for the maximum likelihood estimator of the infection rate in the simple stochastic epidemic,” Biometrika, vol. 75, no. 2, pp. 392–394, 1988. View at Publisher · View at Google Scholar · View at Scopus
  9. K. P. Hadeler, “Parameter estimation in epidemic models: simplified formulas,” Canadian Applied Mathematics Quarterly, vol. 19, no. 4, pp. 343–356, 2011. View at Google Scholar · View at MathSciNet · View at Scopus
  10. W. P. London and J. A. Yorke, “Recurrent outbreaks of measles, chickenpox and mumps. Part I: seasonal variation in contact rates,” American Journal of Epidemiology, vol. 98, no. 6, pp. 453–468, 1973. View at Publisher · View at Google Scholar · View at Scopus
  11. R. Fierro, V. Leiva, and N. Balakrishnan, “Statistical inference on a stochastic epidemic model,” Communications in Statistics—Simulation and Computation, vol. 44, no. 9, pp. 2297–2314, 2015. View at Publisher · View at Google Scholar · View at MathSciNet
  12. G. Katriel, “Stochastic discrete-time age-of-infection epidemic models,” International Journal of Biomathematics, vol. 6, Article ID 1250066, 20 pages, 2013. View at Publisher · View at Google Scholar · View at MathSciNet
  13. G. M. Phillips and P. J. Taylor, Theory and Applications of Numerical Analysis, Academic Press, 2nd edition, 1973. View at MathSciNet