Skip to content
• Research
• Open Access

# Estimation of parameters in a structured SIR model

Advances in Difference Equations20172017:33

https://doi.org/10.1186/s13662-017-1078-5

• Received: 21 December 2015
• Accepted: 6 January 2017
• Published:

## Abstract

In this paper, an age-structured epidemiological process is considered. The disease model is based on a SIR model with unknown parameters. We addressed two important issues to analyzing the model and its parameters. One issue is concerned with the theoretical existence of unique solution, the identifiability problem. The second issue is how to estimate the parameters in the model. We propose an iterative algorithm to study the identifiability of the system and a method to estimate the parameters which are identifiable. A least squares approach based on a finite set of observations helps us to estimate the initial values of the parameters. Finally, we test the proposed algorithms.

## Keywords

• epidemic process
• mathematical modeling
• parameter estimation
• identifiability
• discrete-time system

## 1 Introduction and problem statement

In the past decades, dynamical systems have been used to develop models in physics, biology, chemistry, engineering and epidemiology; see for instance [1, 2] and . Usually equations modeling these phenomena depend on several parameters. Some of them have a scientific meaning and others might come from approximations. Unfortunately, most of the parameters are unknown. Then the parameter estimation is essential for modeling biological systems. Moreover, to execute a parameter estimation task, first one needs to ensure the identifiability of the system, since if the number of unknown parameters is very large, it is often impossible to find a unique solution to this problem.

Identification of systems deals with the problem of modeling of systems in which previous information available is not sufficient to determine all the parameters involved in the model. The identification property has been studied on topics related with dynamic systems . Parameter estimation is the process of trying to calculate the model parameters based on a dataset. Often, some of the parameters can be measured, while the rest can only be fitted. A crucial tool in the fitting process is assigning of the parameter values so that the errors between the measured variables and the corresponding model predictions are minimized. The process consists in assuming that the values of the parameters of a given system are unknown, but that we have recorded inputs and outputs over a time interval. The usual estimation methods include the projection algorithm, gradient algorithm, and least squares algorithm [7, 8].

Therefore, real data are needed to construct and validate models. The identification and estimation problems will be used to find the model that best fits the data from a set of candidates. Finally, it is necessary to evaluate and to validate if the model satisfies the process properties.

In this paper, parameter estimation for an epidemic model has been tackled in the framework of control theory. The algorithm is developed by exploiting the special structure of our model.

Consider a nonlinear system representing an epidemiological model given by
$$x(k+1)=f \bigl(x(k),\mathbf{p} \bigr),\quad k \in \mathbb{Z},$$
where $$x(k) \in\mathbb{R}^{n}$$ is the state vector, $$\mathbf{p} \in\mathbb{R}^{l}$$ is the parameter vector and $$f: \mathbb{R}^{n} \times\mathbb{R}^{l} \rightarrow\mathbb{R}^{n}$$ is a continuously differentiable function. This system can be linearized around the disease free equilibrium point which is defined as the equilibrium point where no disease is present in the population. In our problem this linear system is of the type
$$x(k+1)=A(\mathbf{p})x(k)+b,\quad k \in \mathbb{Z},$$
(1)
where $$A(\mathbf{p}) \in\mathbb{R}^{n\times n}$$ and $$b\in\mathbb{R} ^{n}$$. The matrix coefficients have a fixed structure and it is now interesting to obtain the parameters required by the model structure. This property is known as the identifiability problem. Given a parameterized model it is important to uniquely identify the parameters since it is necessary to do experimental design and to estimate the unknown parameters of the model using experimental data.

The identifiability problem is based on the determination of all parameter sets which give the same input-output response. The identifiability of the system (1) depends on if the parameters can be determined uniquely from a known output of the system . That is, given two parameter vectors p, $$\bar{ \mathbf{p}}$$, if we denote by $$x_{\mathbf{p}}(k)$$ and $$x_{\bar{ \mathbf{p}}}(k)$$ the output of the system (1), respectively, then the equation $$x_{\mathbf{p}}(k)=x_{\bar{\mathbf{p}}}(k)$$, for all $$k\geq0$$, implies $$\mathbf{p}=\bar{\mathbf{p}}$$.

For linear models there are many well-established techniques to analyze structural identifiability; see, for example,  and the references therein.

After analyzing the identifiability property we consider the estimation problem. Parameter estimation is an important issue in biological systems because it is useful for obtaining predictions of computer models of biological systems step. This problem is usually addressed by fitting model simulations to the observed experimental dataset $$ob(i)\in\mathbb{R}^{n}$$, $$i=1,\ldots,K$$. The filter is well known in control and estimation theory and has application in a wide range of fields such as epidemiology, weather forecasting and economy.

To solve the estimation problem we rewrite the system (1) obtaining
$$x(k+1)=M(k)\mathbf{p}+N(k),\quad k \in \mathbb{Z}.$$
Define $$e(i)=(ob(i)-x(i))$$, $$i=1,\ldots, K$$ $$e_{K}=\operatorname{col}(e(i))_{i=0} ^{K-1}$$, and
$$d_{K}=\operatorname{col}\bigl(d(i) \bigr)_{i=1}^{K}= \operatorname{col}\bigl( ob(i)-N(i-1) \bigr)_{i=1} ^{K},\qquad H_{K}=\operatorname{col}\bigl(M(i) \bigr)_{i=0}^{K-1}.$$
Then, for K observations, we want to find the parameter vector which minimizes the quadratic cost function
\begin{aligned} J_{K}(\mathbf{p}) =& \frac{1}{2}\sum _{i=1}^{K}e(i)^{T}e(i) \\ =& \frac{1}{2} e_{K}^{T}e_{K} \\ =& \frac{1}{2}(d_{K}-H_{K}\mathbf{p})^{T}(d_{K}-H_{K} \mathbf{p}). \end{aligned}

Efficient parameter estimation methods can be found in the literature. A common principle for most of them is to minimize the error between the observed and predicted quantities, often reaching a local optimum, and getting the solution requires intensive computation. One of the most usual methods for estimating parameters is a gradient-based regression algorithm. A good overview of different methods developed to estimate the parameters can be found in .

## 2 Age-structured SIR model. Identifiability

In this work we study the parameter estimation of an age-structured SIR model where the individuals are organized in compartments from an age range. The age structure is critical in modeling epidemics caused by certain common diseases such as measles and influenza or sexually transmitted diseases (STD); one that many people are worried about getting is HIV. The choice of this type of structure is because the outcome of the epidemic may depend sensitively on the contact structure, the recovery rate, and the death rate. For example, to analyze an infectious disease such as measles, the population can be divided into five age groups or compartments, the age grouping 0-2, 3-6, 7-12, 13-16, 16+, corresponding to the main school grades in Spain. So, we propose a discrete age-structured SIR model on the basis of age has great influence on the spread of infectious disease. It is formulated using the usual parameters in mathematical epidemiology. For different values of this parameter we can get different types of infections. That is, we divide thee population into m compartments according to their ages but these compartments need not have the same range of ages. Thus, we have susceptible individuals $$S_{i}$$, infected individuals $$I_{i}$$ and recovered individuals $$R_{i}$$ at the ith age compartment, for $$i=1,\ldots,m$$.

We consider that only the individuals of the same age range are in contact, so the susceptible individuals only are infected from the infected individuals of its compartment.

We take account the transference of individuals from the ith compartment to the $$(i+1)$$th compartment when they change the age range in the dynamic process and, moreover, we consider the entry of new individuals in $$S_{1}$$ proportional to the size of the population $$\beta(k)N$$, in order for the size the population N to remain constant.

Therefore, the dynamic process is described in Figure 1, where there are 10 different parameters, five of them are associated to each age compartment and the rest are associated to the transference of individuals between consecutive compartments, which are defined in Table 1. Figure 1 Dynamic process between m age compartments at time k .
Without loss of generality we consider the model with three compartments, $$m=3$$, and its mathematical representation is given by the nonlinear discrete-time system $$x(k+1)=f(x(k))$$:
\begin{aligned}& \textstyle\begin{array}{l@{\quad }l} i=1&\textstyle\begin{cases} S_{1}(k+1)= (p_{1}-\sigma_{1}-\alpha_{1} \frac{I_{1}(k)}{N})S_{1}(k) +\beta(k)N, \\ I_{1}(k+1) =( q_{1}-\gamma_{1}-\mu_{1} )I_{1}(k) + (1-\epsilon_{1}) \alpha_{1} \frac{I_{1}(k)}{N} S_{1}(k), \\ R_{1}(k+1) = (r_{1}-\nu_{1}) R_{1}(k) + (1-\delta_{1}) \gamma_{1} I _{1}(k), \end{cases}\displaystyle \\ i=2&\textstyle\begin{cases} S_{2}(k+1) =\sigma_{1} S_{1}(k)+( p_{2}-\sigma_{2}-\alpha_{2} \frac{I_{2}(k)}{N})S_{2}(k), \\ I_{2}(k+1) = \mu_{1} I_{1}(k)+(q_{2}-\gamma_{2}-\mu_{2} ) I_{2}(k) + \epsilon_{1} \alpha_{1} S_{1}(k) \frac{I_{1}(k)}{N} + (1-\epsilon_{2}) \alpha_{2} S_{2}(k) \frac{I_{2}(k)}{N}, \\ R_{2}(k+1) = \nu_{1} R_{1}(k)+(r_{2}-\nu_{2}) R_{2}(k) + \delta_{1} \gamma_{1} I_{1}(k) + (1-\delta_{2}) \gamma_{2} I_{2}(k), \end{cases}\displaystyle \\ i=3&\textstyle\begin{cases} S_{3}(k+1) = \sigma_{2} S_{2}(k)+(p_{3}-\alpha_{3} \frac{I_{3}(k)}{N})S_{3}(k), \\ I_{3}(k+1) = \mu_{2} I_{2}(k)+(q_{3} -\gamma_{3})I_{3}(k) + \epsilon _{2} \alpha_{2} S_{2}(k) \frac{I_{2}(k)}{N} + \alpha_{3} S_{3}(k) \frac{I_{3}(k)}{N}, \\ R_{3}(k+1) = \nu_{2} R_{2}(k)+ r_{3} R_{3}(k) + \delta_{2} \gamma _{2} I_{2}(k) + \gamma_{3} I_{3}(k), \end{cases}\displaystyle \end{array}\displaystyle \end{aligned}
with
$$\beta(k)N=N-\sum_{i=1}^{3}p_{i}S_{i}(k)- \sum_{i=1}^{3}q_{i}I_{i}(k)- \sum_{i=1}^{3}r_{i}R_{i}(k).$$
Taking $$x(k)=\operatorname{col}(x_{i}(k))_{i=1}^{3}$$ with $$x_{i}(k)=(S_{i}(k)\ I_{i}(k)\ R_{i}(k))^{T}$$, $$i=1,2,3$$, and linearizing around the disease-free equilibrium point $$x^{\star}=f(x^{\star},\mathbf{p})$$, which is given by $$P_{f}=(S_{1}^{f},0,0,S_{2}^{f},0,0,S_{3}^{f}, 0,0)$$ with
$$S_{1}^{f} = \frac{N(1-p_{2}+\sigma_{2})(1-p_{3})}{K},\qquad S_{2}^{f} = \frac{\sigma_{1} N(1-p_{3})}{K},\qquad S_{3}^{f} = \frac{\sigma_{1} \sigma_{2} N}{K},$$
where $$K=(1-p_{2}+\sigma_{2}+\sigma_{1})(1-p_{3})+\sigma_{2}\sigma _{1}$$, we obtain the following linear discrete-time system:
$$x(k+1)= A(\mathbf{p})x(k)+b,$$
(2)
where $$b=(N\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0)^{T}$$ and
\begin{aligned}& A(\mathbf{p})= \left ( \begin{matrix} -\sigma_{1}&-(f_{1}+q_{1})&-r_{1}&-p_{2}&-q_{2}&-r_{2}&-p_{3}&-q_{3}&-r _{3} \\ 0& \textstyle\begin{array}{c} h_{1}-\gamma_{1} \\ + \\ (1-\epsilon_{1})f_{1} \end{array}\displaystyle &0&0&0&0&0&0&0 \\ 0&\gamma_{1}(1-\delta_{1})&r_{1}- \nu_{1}&0&0&0&0&0&0 \\ \sigma_{1}&0&0&p_{2}-\sigma_{2}&-f_{2}&0&0&0&0 \\ 0&\mu_{1}+\epsilon_{1}f_{1}&0&0& \textstyle\begin{array}{c} h_{2}-\gamma_{2} \\ + \\ (1-\epsilon_{2})f_{2} \end{array}\displaystyle &0&0&0&0 \\ 0&\gamma_{1}\delta_{1}&\nu_{1}&0& \gamma_{2}(1-\delta_{2})&r_{2}-\nu _{2}&0&0&0 \\ 0&0&0&\sigma_{2}&0&0&p_{3}&-f_{3}&0 \\ 0&0&0&0&\mu_{2}+\epsilon_{2}f_{2}& 0&0& \textstyle\begin{array}{c} q_{3}-\gamma_{3} \\ + \\ f_{3} \end{array}\displaystyle &0 \\ 0&0&0&0&\gamma_{2}\delta_{2}&\nu_{2}&0& \gamma_{3}&r_{3} \end{matrix} \right ) \end{aligned}
with
\begin{aligned}& h_{1}=q_{1}-\mu_{1},\qquad h_{2}=q_{2}- \mu_{2}, \\& f_{1}=\alpha_{1} \frac{S_{1}^{\ast}}{N},\qquad f_{2}=\alpha_{2} \frac{S_{2}^{\ast}}{N},\qquad f_{3}= \alpha_{3} \frac{S_{3}^{\ast}}{N}. \end{aligned}
From the above equations we obtain some sufficient conditions to ensure that the system has positive solutions, that is, $$S_{i}(k)$$, $$I_{i}(k)$$, and $$R_{i}(k)$$, $$i=1,2,3$$, are nonnegative for all initial conditions. For this purpose, we give the next result.

### Proposition 1

Consider the parameters $$p_{i}$$, $$q_{i}$$, $$r_{i}$$, $$\alpha_{i}$$, $$\gamma _{i}$$, $$\nu_{i}$$, $$i=1,2,3$$, and $$\sigma_{j}$$, $$\mu_{j}$$, $$j=1,2$$ of the model. If $$p_{i}\geq \sigma_{i}+\alpha_{i}$$, $$q_{i}\geq\gamma_{i}+\mu_{i}$$, $$i=1,2$$, $$p_{3}\geq\alpha_{3}$$, $$q_{3}\geq\gamma_{3}$$ and $$I(k)\leq\theta N$$ where $$\theta=\min_{i=1,2,3} \{ \frac{p_{i}-\sigma_{i}}{\alpha _{i}} \}$$, with $$\sigma_{3}=0$$, then $$S_{i}(k)$$, $$I_{i}(k)$$, $$R _{i}(k)$$, $$i=1,2,3$$, are nonnegative for all initial conditions.

Note that these conditions on the parameters are consistent. It is logical that the rate of individuals who move from one compartment to another plus the rate of individuals who recover from the disease do not exceed the rate of survival in each compartment.

### 2.1 Algorithm to identifiability of the parameters

We assume that the rates $$\sigma_{i}$$, $$\mu_{i}$$ and $$\nu_{i}$$, $$i=1,2,3$$, and the rates $$\epsilon_{i}$$ and $$\delta_{i}$$, $$i=1,2$$, are known. Then the parameters to identify are the following:
$$\mathbf{p}=(p_{i}, q_{i}, r_{i}, \gamma_{i}, \alpha_{i}, i=1,2,3).$$
Model predictions depend on the parameters, some of which must be estimated from experimental data. The most important characteristic is that the parameters have physical significance and that it is possible to determine their values from observed data. The identifiability helps us test the unique relationship between parameter sets and model response and guarantees that the parameters can be estimated under ideal conditions. It is important to check the identifiability property since if a model is not correctly formulated, problems can appear in the parameter estimation.

Denoting the solution of the system (2) by $$x_{ \mathbf{p}}(k)$$ we have $$x_{\mathbf{p}}(k)=A(\mathbf{p})^{k}x(0)+\sum_{i=0}^{k-1}A(\mathbf{p})^{i}b$$. To identify the parameters we consider different initial states $$x(0)$$ and suppose $$x_{\mathbf{p}}(k)=x_{\bar{\mathbf{p}}}(k)$$ for all $$k\geq0$$ from two parameters p and $$\bar{\mathbf{p}}$$. Then we want to prove that $$\mathbf{p}=\bar{\mathbf{p}}$$. Specifically, we identify all the parameters, except $$p_{1}$$.

In order to solve this identifiability problem in general, that is, when we have $$m\geq3$$ age compartments, we give the following algorithm.

### Algorithm

1. Step 1

Input data: m (number of compartments), N (population); $$\sigma_{i}$$, $$\mu_{i}$$ and $$\nu_{i}$$, $$i=1,2,3$$; $$\epsilon_{i}$$ and $$\delta_{i}$$, $$i=1,2$$.

2. Step 2

Input variable parameters: $$p_{i}$$, $$q_{i}$$, $$r_{i}$$, $$\gamma_{i}$$, $$f_{i}$$, $$i=1,2,3$$, and $$\bar{p}_{i}$$, $$\bar{q}_{i}$$, $$\bar{r} _{i}$$, $$\bar{\gamma}_{i}$$, $$\bar{f}_{i}$$, $$i=1,2,3$$.

3. Step 3

Obtain $$n=3m$$ and introduce canonical vectors $$\{e_{i}\}_{i=1}^{n}$$.

4. Step 4

Construct b, $$A(\mathbf{p})$$, and $$A(\bar{ \mathbf{p}})$$ as in (2).

5. Step 5

For each $$i=1,\ldots,n$$, construct the output $$x_{\mathbf{p}}(1)$$ and $$x_{\bar{\mathbf{p}}}(1)$$ of the system (2) obtained from $$x(0)=Ne_{i}$$, which we denote by $$\{x(i,1,\mathbf{p})\}_{i=1}^{n}$$ and $$\{x(i,1,\bar{\mathbf{p}})\} _{i=1}^{n}$$, respectively.

6. Step 6
For $$i=1,\ldots,n$$:
1. Step 6.1

For each $$l=1,\ldots,n$$, the lth row of $$x(i,1,\mathbf{p})$$ is denoted as $$x(i,1,\mathbf{p})^{l}$$.

2. Step 6.2

If $$x(i,1,\mathbf{p})^{l} \geq0$$ for all l, then solve $$x(i,1,\mathbf{p})=x(i,1,\bar{\mathbf{p}})$$ and save the identified variable parameters.

3. Step 6.3

Else check if all parameters are identified and go to Step 8. Otherwise, go to Step 7.

7. Step 7
$$t=i$$
1. Step 7.1

Input initial data $$\{S_{h}^{0}, I_{h}^{0}\}$$ such that $$S_{h}^{0} + I_{h}^{0}=N$$ being $$t=3(h-1)+2$$ and construct initial conditions $$x(0)=S_{h}^{0}e_{t-1}+I_{h}^{0}e_{t}$$, denoted by $$\hat{x}(t,0)$$.

2. Step 7.2

Construct the output of the system (2) at time $$k=1$$ obtained from $$\hat{x}(t,0)$$ for each parameter p, and $$\bar{\mathbf{p}}$$ which we denote by $$\{\hat{x}(t,1, \mathbf{p})\}_{t=1}^{n}$$ and $$\{\hat{x}(t,1,\bar{\mathbf{p}})\}_{i=1} ^{n}$$, respectively.

3. Step 7.3

Solve $$\hat{x}(t,1,\mathbf{p})=\hat{x}(t,1,\bar{ \mathbf{p}})$$ and save the identified parameters.

4. Step 7.4

$$i=t+1$$. If $$i=n+1$$, then go to Step 8. Otherwise, return to Step 6.1.

8. Step 8

Using the definition of $$S^{f}_{i}$$ and $$f_{i}$$, the parameters $$\alpha_{i}$$ are identified.

9. Step 9

All parameters are identified, except $$p_{1}$$, END.

In the process specified in the algorithm we have considered the nonnegativity of the solution. For this purpose, we have had to use the solution of the system to the initial conditions constructed at Step 7 to obtain nonnegativity outputs.

It is clear that we not only want to know if the model is or is not identifiable. Even if it is not, we want to know the parameters which can be identified, because in some cases we need only estimate some of the parameters to verify that it fulfills a hypothesis. Further, if a parameter is not identifiable, it is not estimable. Observe that the parameter $$p_{1}$$ is not identified due to the condition that the population is kept constant N at each time. In addition, the identifiability of the parameters does not guarantee that can be estimated as an even in the case that a parameter is identifiable, it may be difficult to estimate.

## 3 Parameter estimation

Now, we consider that the survival rates $$p_{i}=p$$, $$q_{i}=q$$ and $$r_{i}=r$$ are known. It assumes what ecologists refer to as Type II mortality, which is a constant mortality rate over the entire life span. This pattern is approached by most birds and some mammals . Basically, Type II mortality is a good approximation for the survival rate of human populations in the developed world. Furthermore, we suppose known the transference rates between consecutive compartments $$\sigma_{i}$$, $$\mu_{i}$$, and $$\nu_{i}$$, $$i=1,2,3$$, and $$\epsilon_{i}$$ and $$\delta_{i}$$, $$i=1,2$$. Thus, from an observed dataset our goal is to find an approximate value of the parameters $$f_{i}$$ (from them we have $$\alpha_{i}$$) and the parameters $$\gamma_{i}$$, using the mathematical model given by (2). Note that $$\alpha_{i}$$ and $$\gamma_{i}$$ are the most important rates since they give us information as regards the disease under consideration. That is, for each age range, we want to have an estimated value of the rate of infection of a susceptible individual and the rate of recovery of an infected individual, which allow us to draw conclusions on the incidence of the disease according to the age of the individual.

From an initial observation $$ob(0)$$, we consider an observed dataset
$$\bigl\{ ob(k) \bigr\} _{k=1}^{K}= \bigl\{ \left ( \begin{matrix} S_{1}(k)& S_{2}(k)& S_{3}(k)& I_{1}(k) &I_{2}(k)& I_{3}(k)& R_{1}(k)& R_{2}(k)& R_{3}(k) \end{matrix} \right )^{T} \bigr\} _{k=1}^{K},$$
in K steps, $$K\geq1$$, and, on the other hand, we have the fit mathematical model
$$x(k+1)=A(\mathbf{p})x(k)+B,\qquad x(0)=ob(0),\quad k\geq1,$$
where, from now on, the parameter vector to estimate is
$$\mathbf{p}=\left ( \begin{matrix}f_{1}& f_{2}& f_{3}& \gamma_{1}& \gamma_{2}& \gamma_{3} \end{matrix} \right )^{T}.$$
Rewriting the system (2) we have
$$x(k+1)= M(k)\mathbf{p}+N(k)=\left ( \begin{matrix} M_{1}(k)&M_{2}(k) \\ M_{3}(k)&M_{4}(k) \\ M_{5}(k)&M_{6}(k) \end{matrix} \right ) \mathbf{p}+N(k),$$
(3)
where
\begin{aligned}& M_{1}(k)=\left ( \begin{matrix} -{I_{1}}(k) & 0 & 0 \\ (1-\epsilon_{1}) I_{1}(k) & 0 & 0 \\ 0 & 0 & 0 \end{matrix} \right ), \qquad M_{2}(k)= \left ( \begin{matrix} 0 & 0 & 0 \\ -{I_{1}}(k)&0&0 \\ (1-\delta_{1}) I_{1}(k) & 0 & 0 \end{matrix} \right ), \\& M_{3}(k)=\left ( \begin{matrix} 0&-{I_{2}}(k) & 0 \\ \epsilon_{1} I_{1}(k) & (1-\epsilon_{2}) I_{2}(k) & 0 \\ 0 & 0 & 0 \end{matrix} \right ),\qquad M_{4}(k)=\left ( \begin{matrix} 0 & 0 & 0 \\ 0& -{I_{2}}(k)&0 \\ \delta_{1} I_{1}(k) & (1-\delta_{2}) {I_{2}}(k) & 0 \end{matrix} \right ), \\& M_{5}(k)=\left ( \begin{matrix} 0&0&-{I_{3}}(k) \\ 0&\epsilon_{2} I_{2}(k) & I_{3}(k) \\ 0 & 0 & 0 \end{matrix} \right ),\qquad M_{6}(k)=\left ( \begin{matrix} 0 & 0 & 0 \\ 0&0& -{I_{3}}(k) \\ 0&\delta_{2} I_{2}(k) & I_{3}(k) \end{matrix} \right ), \end{aligned}
and $$N(k)=\operatorname{col}(N_{i}(k))_{i=1}^{9}$$ where
\begin{aligned}& N_{1}(k)=N-p\sum_{i=2}^{3}S_{i}(k)-q \sum_{i=1}^{3}I_{i}(k)-r\sum _{i=1} ^{3}R_{i}(k)- \sigma_{1}S_{1}(k), \\& N_{2}(k)=h_{1}I_{1}(k),\qquad N_{3}(k)=(r-\nu_{1})R_{1}(k), \\& N_{4}(k)= \sigma_{1}S_{1}(k)+ (p- \sigma_{2})S_{2}(k),\qquad N_{5}(k)=\mu _{1}I_{1}(k)+h_{2}I_{2}(k), \\& N_{6}(k)=\nu_{1}R_{1}(k)+(r- \nu_{2})R_{2}(k),\qquad N_{7}(k)= \sigma_{2}S _{2}(k)+pS_{3}(k), \\& N_{8}(k)=\mu_{2}I_{2}(k)+qI_{3}(k), \qquad N_{9}(k)=\nu_{2}R_{2}(k)+rR_{3}(k). \end{aligned}
From the K data of the observed dataset we want to estimate the value of p, that is, we want to find the parameter vector which minimizes the quadratic function
$$J_{K}(\mathbf{p})=\frac{1}{2}(d_{K}-H_{K} \mathbf{p})^{T}(d_{K}-H_{K} \mathbf{p}).$$
Thus, p satisfies
$$\frac{\partial J_{K}(\mathbf{p})}{\partial\mathbf{p}}=H_{K}^{T}H_{K} \mathbf{p}-H_{K}^{T}d_{K}=0.$$
Note that if $$S_{K}=H_{k}^{T}H_{K}$$ is nonsingular, then the solution is $$\mathbf{p}=S_{K}^{-1}H_{K}^{T}d_{K}$$, and if it is singular, then $$\mathbf{p}=S_{K}^{\dagger}H_{K}^{T}d_{K}$$ where † denotes the M-Penrose generalized inverse matrix. In this last case, p is not identifiable since we have infinite values for the parameter and a unique output of the mathematical model.

From the structure of the matrices we can establish the following result.

### Proposition 2

Let the system be (3). The estimation problem has a unique solution if and only if for each i, $$i=1,2,3$$, there exists $$k_{i}$$, $$0\leq k_{i}\leq K$$ such that $$I_{i}(k_{i})\neq0$$.

### Proof

If for each i, $$i=1,2,3$$ there exists $$k_{i}$$, $$0\leq k_{i}\leq K$$ such that $$I_{i}(k_{i})\neq0$$ then $$\operatorname{rank}(H_{k_{0}})=6$$ for $$k_{0}=\max\{k_{i}\}$$. Hence, $$\operatorname{rank}(S_{K})=6$$. Conversely, if $$\operatorname{rank}(S_{K})=6$$, from $$S_{K}=H^{T}_{K}H_{K}$$ and using the structure of the matrices $$H_{K}$$ and $$M(k)$$ the condition is proved. Therefore, we can ensure that $$S_{K}$$ is definite positive, that is, all eigenvalues are positive and there exists $$S_{K}^{-1}$$ for all $$K> k_{0}$$. □

Under the above assumption, we could obtain an approximated value of p, for instance, using the descendent gradient method. That is, from an initial $$\mathbf{p}_{0}$$ the $$(i+1)$$th step provides us
\begin{aligned} \mathbf{p}_{i+1} =&\mathbf{p}_{i}-a_{i} \bigl(S_{K}\mathbf{p}_{i}-H_{K}^{T}d _{K}\bigr) \\ =&\mathbf{p}_{i}+a_{i}H_{K}^{T}(d_{K}-H_{K} \mathbf{p}_{i}), \end{aligned}
where $$a_{i}$$ is the minimum of the curve $$h(a)=J_{K}(\mathbf{p}_{i}-a(S _{K}\mathbf{p}_{i}-H_{K}^{T}d_{K}))$$. Thus, we have given a numerical procedure to achieve the best fit between observed data and the parameters of the model. This algorithm is based on iterative local search in a down-hill direction from the initial point.

The parameter $$\mathbf{p} \geq 0$$ chosen in this epidemiological model satisfies $$\Vert \mathbf{p}\Vert _{2}<1$$, where $$\Vert \cdot \Vert _{2}$$ denote the spectral norm. In the next result we establish a condition on the observed dataset in order to keep this property in the process of parameter estimation.

### Proposition 3

Let the system be (3). For each i, $$i=1,2,3$$, we suppose that there exists $$k_{i}$$, $$0\leq k_{i}\leq K$$ such that $$I_{i}(k_{i})\neq0$$.
$$\textit{If }\Vert d_{K}\Vert _{2}< \frac{1}{\rho(S^{-1}_{K})\sqrt{\rho(S_{K}})} \textit{ then }\Vert \mathbf {p}_{K}\Vert _{2}< 1,$$
where $$\mathbf{p}_{K}=S_{K}^{-1}H_{K}^{T}d_{K}$$ is the parameter which minimizes the problem associated with K observation data and $$\rho(\cdot)$$ denoting the spectral radius.

### Proof

From $$\mathbf{p}_{K}=S_{k}^{-1}H_{K}^{T}d_{K}$$ and taking into account that $$S_{K}$$ is a symmetric matrix
$$\Vert \mathbf{p}_{K}\Vert _{2}= \bigl\Vert S_{K}^{-1}H_{K}^{T}d_{K} \bigr\Vert _{2}\leq\rho \bigl(S _{K}^{-1} \bigr)\Vert H_{K}\Vert _{2}\Vert d_{k} \Vert _{2}< \rho \bigl(S_{K}^{-1} \bigr)\sqrt{ \rho(S _{K})}\Vert d_{K}\Vert _{2}< 1.$$
□

### 3.1 Adding more observations. Algorithm

Consider K data of the observed dataset, such that $$I_{i}(k_{i}) \neq0$$ for some $$k_{i}$$, $$0\leq k_{i}\leq K$$ and for each i, $$i=1,2,3$$. This fact implies that there exists $$k_{0}$$ such that $$H(k_{0})$$ is full rank. Now, we want to improve the approximated value of parameter p adding one observation $$ob(K+1)$$ and fitting the mathematical model to the $$K+1$$ data of the observed dataset. Using that
\begin{aligned}& H^{T}_{K+1}H_{K+1}=H^{T}_{K}H_{K}+M^{T}(K)M(K), \\& H^{T}_{K+1}d_{K+1}=H^{T}_{K}d_{K}+M^{T}(K)d(K+1), \end{aligned}
we obtain the following discrete-time variable system to represent the dynamic of the parameter vector:
$$\mathbf{p}_{K+1}=A_{K} \mathbf{p}_{K}+B_{K}, \quad K\geq1,$$
(4)
where $$A_{K}=S_{K+1}^{-1}S_{K}$$ and $$B_{K}=S_{K+1}^{-1}M^{T}(K)d(K+1)$$, where $$S_{K}=H^{T}_{K}H_{K}$$.
The solution of this system is
$$\mathbf{p}_{K}=\Phi_{A}(K,k_{0}) \mathbf{p}_{k_{0}}+ \sum_{j=k_{0}+1}^{K-1} \Phi_{A}(K,j+1)B_{j},\quad K> k_{0},$$
with the monodromy matrix $$\Phi_{A}(K,k_{0})$$ defined as $$\Phi_{A}(K,k _{0})=A_{K-1}\cdots A_{k_{0}}$$ if $$K>k_{0}$$ and $$\Phi_{A}(K,k_{0})=I$$ if $$K=k_{0}$$.

Note that if $$A_{K}$$ is asymptotically stable, that is, $$\rho(A_{K})<1$$ for all $$K> k_{0}$$, then the monodromy matrix is also asymptotically stable, since $$\rho(\Phi_{A}(K,k_{0}))= \Vert \Phi _{A}(K,k_{0})\Vert _{2} \leq\prod_{k=k_{0}}^{K-1} \rho(A_{k})<1$$ (this is followed from the symmetry of the matrix $$S_{K}$$ for $$K> k_{0}$$). Hence, we can ensure that the recurrence sequence of the parameter vector $$\{\mathbf{p} _{K}\}_{K\geq1}$$ obtained as solution of (4) is bounded if $$B_{K}$$ is also bounded.

Finally, we establish a condition on the new data $$K+1$$ in order that the consecutive approximations of the parameter are sufficiently close.

### Proposition 4

Let the system be (4). Suppose that there exists $$k_{0}$$ such that $$\operatorname{rank}(H(k_{0}))$$ is full rank, and $$\rho(A_{K})<1$$ for all $$K> k_{0}$$. Consider the observation data such that $$\Vert ob(K+1)-x(K+1)\Vert _{2}< \frac{\epsilon}{\rho(S^{-1}_{K+1})\rho(M^{T}(K)M(K))}$$, for some $$\epsilon>0$$. Then
$$\Vert \mathbf{p}_{K+1}-\mathbf{p}_{K}\Vert _{2}< \epsilon.$$

### Proof

Given K observation data and $$A_{K}=S_{K+1}^{-1}S _{K}$$, $$B_{K}=S_{K+1}^{-1}M^{T}(K)d(K+1)$$ we have
\begin{aligned} \Vert \mathbf{p}_{K+1}-\mathbf{p}_{K}\Vert _{2} =& \Vert A_{K}\mathbf{p}_{K}+B_{K}- \mathbf{p}_{K}\Vert _{2} \\ \leq&\bigl\Vert S_{K+1}^{-1}\bigr\Vert _{2} \bigl\Vert (S_{K}-S_{K+1})\mathbf{p}_{K}+ M^{T}(K)d(K+1)\bigr\Vert _{2} \\ \leq&\rho\bigl(S^{-1}_{K+1}\bigr)\bigl\Vert M^{T}(K)\bigr\Vert _{2}\bigl\Vert d(K+1)-M(K) \mathbf{p}_{K}\bigr\Vert _{2} \\ =&\rho\bigl(S^{-1}_{K+1}\bigr)\rho\bigl(M^{T}(K)M(K) \bigr)\bigl\Vert ob(K+1)-x(K+1)\bigr\Vert _{2}< \epsilon. \end{aligned}
□

### Remark 1

The parameters involved in an epidemiological process are not always known. To obtain a value of these sufficiently reliable, it is necessary to know if it can be identified from a set of observations of the process, and then estimate its value. In the literature, there exist several approaches to the identifiability problem and to the estimation problem. From a set of observations, for instance in engineering, it is usual to consider the transfer matrix, in chemicals, if we consider the input-output response and the parameters of Markov [4, 9], or directly from the solution of the system. Generally the estimation approach is based in the gradient algorithm and the least squares algorithm, [7, 8]. In our case, we identify the case using the structure of the matrices and asking whether the performance of the estimation process is constructive, using a least squares algorithm. Then the algorithm proposed can be used to identify and estimate the parameters of other time-discrete age-structured models taking into account only the structure one has when performing the steps of our algorithm.

## 4 Numerical example

Consider an age-structured population in three compartments which may suffer a contagious disease. We consider that the survival rate of susceptible, infected, and recovered individuals are independent from the age. Concretely, we have $$p = 0.99$$, $$q = 0.95$$, $$r = 0.98$$. Let us consider that the rates of individuals changing compartment due to increasing age are known. Specifically, we consider $$\sigma_{i}=\mu _{i}=0.01$$ and $$\epsilon=\nu_{i}=\delta_{i}=0.01$$, for all i.

In this process we want to obtain an estimation of the exposition and the recovered rates which we suppose different according to the age of the individual.

We make an experiment on a sample of size $$N=90\mbox{,}000$$ from the initial condition $$ob(0)=(67\mbox{,}000, 1\mbox{,}850, 0, 14\mbox{,}700, 1\mbox{,}100, 0, 4\mbox{,}300, 1\mbox{,}050, 0)$$ and an observed dataset $$\{ob(k), k=1,\ldots,15\}$$, given in Table 2.
We see that the matrix $$H_{1}$$ is full rank and the coefficient matrix $$A_{k}$$ of the discrete-time linear system given by (4) is stable, $$\rho(A_{k})<1$$, for all $$k=1,\ldots,15$$. Applying this recurrence equation we obtain the approximations of the parameter vector p given in Table 3.
Note that these approximations satisfy $$\Vert \mathbf{p}_{k}\Vert _{2}\approx 0.08$$ and $$\Vert \mathbf{p}_{k+1}-\mathbf{p}_{k}\Vert _{2}<10^{-2}$$, for all $$k=1,\ldots,15$$. In fact, at time k, the condition established in Proposition 4 holds when we compare the observed data $$ob(k)$$ and the output $$x(k)$$ of the system (3) obtained from $$\mathbf{p}_{k}$$:
$$\bigl\Vert ob(k)-x(k) \bigr\Vert _{2}< \frac{10^{-2}}{\rho(S^{-1}_{k})\rho(M^{T}(k-1)M(k-1))},\quad k=2, \ldots,15.$$
Then a good estimation of the vector can be $$\mathbf{p}=(0.01, 0.002,0.003, 0.04, 0.06, 0.05)$$, such as we can see in the Figure 2, where the infected individuals of each age class are compared with the signal obtained when the above value of p is considered. Figure 2 Evolution of infected individuals at each age compartment.

Note that from the definition of $$\mathbf{p}=(f_{1}\ f_{2}\ f_{3}\ \gamma_{1}\ \gamma_{2}\ \gamma_{3})^{T}$$ and $$f_{1}$$, $$f_{2}$$, $$f _{3}$$ we see that the estimated value to the exposition rate are $$\alpha_{1}=0.02$$, $$\alpha_{2}=0.008$$, $$\alpha_{3}=0.012$$, and the recovery rates are $$\gamma_{1}=0.04$$, $$\gamma_{1}=0.06$$, $$\gamma_{1}=0.05$$.

## 5 Conclusions

An infectious disease acting on a population has been considered. This population is structured at age compartments with susceptible, infected, and recovered individuals. The epidemiological process is modeled by a dynamic system with unknown parameters. First, we have established a condition to ensure the nonnegativity of the solution. Next, the identifiability problem has been analyzed and an algorithm to identify the parameters has been constructed. The following issue considered has been how to estimate the parameters in the model. Using a least square method we have showed the descendent gradient method and a condition to ensure that the estimated parameter has norm less than 1. Moreover, we have constructed a recurrence equation when more observed data are considered and we have established a condition to ensure that the consecutive approximations of the parameter are sufficiently close. Finally, an illustrative example has been showed.

## Declarations

### Acknowledgements

The authors would like to thank the referees and the editor for their comments and useful suggestions for improvement of the manuscript. This work has been partially supported by Spanish Grant MTM2013-43678-P.

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

## Authors’ Affiliations

(1)
Instituto de Matemática Multidisciplinar, Universitat Politècnica de València, Camino de Vera, 14, Valencia, 46022, Spain

## References

Advertisement 