#### Abstract

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 [2–7].

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 [8–11]. 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.

#### 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.

##### 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.

#### 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.

##### 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.

#### 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.

#### Acknowledgments

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