Research Article  Open Access
F. Santonja, B. ChenCharpentier, "Uncertainty Quantification in Simulations of Epidemics Using Polynomial Chaos", Computational and Mathematical Methods in Medicine, vol. 2012, Article ID 742086, 8 pages, 2012. https://doi.org/10.1155/2012/742086
Uncertainty Quantification in Simulations of Epidemics Using Polynomial Chaos
Abstract
Mathematical models based on ordinary differential equations are a useful tool to study the processes involved in epidemiology. Many models consider that the parameters are deterministic variables. But in practice, the transmission parameters present large variability and it is not possible to determine them exactly, and it is necessary to introduce randomness. In this paper, we present an application of the polynomial chaos approach to epidemiological mathematical models based on ordinary differential equations with random coefficients. Taking into account the variability of the transmission parameters of the model, this approach allows us to obtain an auxiliary system of differential equations, which is then integrated numerically to obtain the firstand the secondorder moments of the output stochastic processes. A sensitivity analysis based on the polynomial chaos approach is also performed to determine which parameters have the greatest influence on the results. As an example, we will apply the approach to an obesity epidemic model.
1. Introduction
Epidemiological mathematical models based on ordinary differential equations are usually used to understand the processes involved in the transmission of diseases [1]. The coefficients of these equations have traditionally been considered deterministic, that is, they have been assumed to be known and have no variation; see, for example, [2, 3]. However, in many situations, equations with random coefficients are better suited in describing the real behavior of quantities of interest than their counterparts with deterministic coefficients. Therefore, considering randomness is particularly important. A probabilistic description provides a more natural and realistic portrayal. Additionally, in the case of multiple uncertain parameters, a probabilistic approach is necessary to avoid unreasonable conservatism.
Differential equations where some or all of the coefficients are considered random variables or that incorporate stochastic effects (usually in the form of white noise) have been increasingly used in the last few decades to deal with errors and uncertainty see [4, 5].
Monte Carlo methods [6, 7] have been used for many years to perform simulations when random effects were involved. They are simple to implement and understand but require many realizations due to their slow convergence rate and hence tend to be expensive. Other methods that have been developed and used are, for example, moment methods [8, 9] and polynomial chaos methods see [10, 11] and the references therein. Moment methods approximations use Taylor series expansions about the mean value of the input parameters. The firstorder moment is the deterministic value of the output parameter obtained at the mean of the input, while evaluation of the higher order moments requires computation of sensitivities. The drawback of this approach, is that it is intrinsically limited to small perturbations; it also becomes complicated beyond secondorder expansions [4, 12]. In the polynomial chaos approach a highorder representation is far easier to construct—the equations are basically the same at any order the difference lies only in the number of terms to be considered and are of the same form as the corresponding deterministic equations. So there is no need to develop new algorithms and numerical methods. Highorder moments are easily accessible, and the spectral convergence of the stochastic approximation guarantees that of high accuracy can be obtained even with a small number of terms see [12, 13] for computational results. An alternative approach is to add white noise terms and thus obtain a system of stochastic differential equations, see, for example, [14, 15] for applications to epidemic models. For discrete population, models can also incorporate randomness. For example, micromodels [16, 17] can be used to model interactions between individuals given by random parameters.
In this paper, we will use the polynomial chaos approach to study this type of epidemiological models with randomness, due to its simplicity. The computational cost can be high if many random parameters are considered, and highorder expansions are used. But in our problem this was not the case. The polynomial chaos method applied to a system of ordinary differential equations with random equations is based on expanding the random coefficients and the unknown variables in terms of orthogonal polynomials of random variables. For example, if a random coefficient has a normal distribution, the Hermite polynomials should be used since they form an orthogonal basis with the normal distribution as the weight. These expansions are then substituted into the differential equations, and the orthogonality is used to obtain a system of the differential equations of the same form as the deterministic model for the unknown coefficients of the expansions. These equations can then be solved using the same numerical methods used for the deterministic case. More details are given in Section 3. As an example, we analyze the time evolution of a system of ordinary differential equations with random transmission parameters designed to understand an obesity epidemic. A deterministic version of the obesity mathematical model considered was presented in [18].
This polynomial chaos technique allows us to consider that the transmission parameters in an epidemiological model are random variables and obtain the evolution of the epidemic and its predictions considering the effects of these randomness. Additionally, the quantification of the effects of the random transmission parameters on the variance of the response of the epidemiological model can also be analyzed calculating the polynomial chaosbased Sobol’s indices. These indices are based on the decomposition of the variance of the output as a sum of contributions of each input variable. Taking into account this decomposition, Sobol’s indices allow us to quantify the rate defined by the variance related to each parameter and the total variance of the output.
Therefore, this approach is useful to predict the evolution of an epidemic considering the effects of the randomness and to quantify the effects of the random transmission parameters on epidemic evolution (sensitivity analysis).
This paper is structured as follows. In Section 2, a test mathematical model for obesity epidemic is briefly described. The polynomial chaos approach is presented in Section 3. Section 4 is devoted to numerical results. Finally, conclusions are considered.
2. Epidemiological Models
Classical models of disease dynamics rely on systems of differential equations that divide the number of individuals in various categories through continuous variables allowing for infinitesimal population densities. The origin of these models is commonly traced back to the wellknown pioneer work of Hethcote [1]. In this work, they obtained the epidemic threshold result that the density of susceptible population must exceed a critical value in order for an epidemic outbreak to occur.
Some of the assumptions in this type of models are: (i) The number of individuals grows without bound in a Malthusian way; this is modeled by a linear term. (ii) The effect of the disease (the transit to infected population) is modeled by a nonlinear term proportional to the infected and noninfected populations. (iii) The death rate results in exponential decay and is modeled by a linear term.
2.1. Obesity Model
The population with excess weight is growing at a worrying rate in developed and developing countries [20]. The obesity epidemic is becoming a serious health concern not only from the individual health point of view but also from the public socioeconomic one, and it is considered that the study of obesity is of the highest priority, evaluating its magnitude and proposing effective strategies in order to invert this trend in the next few years.
The obesity model used to present the possibilities of the polynomial chaos approach was proposed in [18] to understand the dynamics of the obesity epidemic. This model was defined for individuals aged 24–65 years old. They are divided into three subpopulations using their Body Mass Index size (), where the weight is in kilograms and the height in meters: : individuals with normal weight (): , overweight people (), and obese individuals (). The transitions between these different subpopulations are described by the following system of differential equations (, time in weeks): The time invariant parameters of this system of equations are as follows.(i): rate at which an obese adult with healthy lifestyle becomes a overweight individual.(ii): average stay time in the system of 24–65 years old adults.(iii): rate at which a overweight individual moves to the normal weight subpopulation.(iv): transmission rate due to social pressure to adopt an unhealthy lifestyle (TV, friends, family, job, etc.).(v): rate at which an overweight 24–65 years old adult becomes an obese individual by unhealthy lifestyle.(vi): proportion of normalweight individuals coming from the 23yearold age group.(vii): proportion of overweight individuals coming from the 23yearold age group.(viii): proportion of obese individuals coming from the 23yearold age group.
The values of these parameters for the region of Valencia (Spain) were determined by health survey for the region of Valencia, Spain, year 2000 and year 2005 [19] and a technical report published by Arrizabalaga et al. [21]. To be precise, we take into account the weekly growth of the average weight of a 24–65yearold adult in the region of Valencia, and the mean time that an individual takes after he/she stops physical activity to start again. Additionally, we consider that an overweight individual takes 24 weeks to transit from obese to overweight subpopulation by physical activity and healthy nutritional habits. We show them in Table 1. For more details about the parameter estimations see [18].

Parameters, , and can be interpreted as the mean length of the transit period between two subpopulations (). Note that length of the transit period for a subpopulation is usually assumed to follow an exponential distribution [22].
The initial conditions of the system are also defined by health survey for the region of Valencia, Spain, year 2000. In this case, that is, in the region of Valencia, 52.2% was normalweight population, 36.2% was overweight population, and 11.6% was obese population in year 2000.
Note that taking into account the differential equations of the model (1), the parameter values (Table 1), and the initial conditions shown above, we can predict obesity incidence in the next few years.
3. Random Transmission Parameters and Polynomial Chaos
It is necessary to introduce randomness in the model (1) since the parameters involved have some degree of uncertainty due to sampling, rounding, and other errors. We consider the transmission parameters of the model (, and ) as random variables with a certain probability distribution. The proportions of individuals coming from the 23yearold group () will not be considered random since they can be determined with much more accuracy than the aforementioned parameters. The equations also require initial values of the three subpopulations , and . These values can also be determined with more accuracy than the transmission parameters and will, therefore, not to be considered random. In both cases (proportions of individuals coming from the 23yearold group and initial values of the model), the values are estimated considering a representative sample of Valencian population with a sample size of 4,319 individuals. In addition, , , , , , and are determined by the given population that we are studying, and we are interested in investigating the effects of changes in the transmission parameters on the future values of the three subpopulations. So by only considering that the transmission parameters are random, we take into account the largest sources of uncertainty, while keeping the model relatively simple.
In many situations, the number of data points available is very small, so it is not possible to establish the type of distributions satisfied by the random parameters. This is also true in our case where the number of data points for the transmission parameters is so scarce that is not possible to have a welldefined type of distribution. In this work, we only have the information of one value to estimate the probabilistic distribution of the parameters, the values shown in Table 1. We have not a lot of information to do it. Therefore, we consider a noninformative distribution, the uniform probability distribution. As it is commented in [23, 24], this is a habitual consideration to estimate the parameters of a mathematical model when we have not a lot of information. Table 2 shows details about the assumed probability distribution of the transmission parameters. Note that for each parameter , with values , and , the maximum likelihood estimation of Uniform (0, ) is the maximum of the sample considered, that is, the only value of the sample is the known value of the parameter. In this case, the expected value of each parameters is a half of its known value. Therefore, if we consider the distribution defined by Uniform (0, 2*), we have that its expected value is the known value of the parameter.

Therefore, we consider that the transmission parameters of the model , and are random variables depending on the outcome of an experiment, , , , and , and the populations , and then become stochastic processes depending also on time [25].
In order to perform numerical simulations of the dynamical model (1) with , , and , and estimate various moments of the solution, , , and , we apply the Generalized Polynomial Chaos approach [26, 27].
In this context, polynomial chaoses can be arranged in a sequence , such that the expansion of the random transmission parameters and stochastic processes appearing in the extended mathematical model (model (1) with random transmission parameters) takes the following form: where the are properly chosen polynomial basis functions of some components of the random variable vector, and the number of variables in represents the dimension of the chaos (i.e., the number of input random parameters considered).
In this paper, since the probability distributions of the transmission parameters are uniform see Table 2, we have taken the expansions in terms of Legendre polynomials and as a vector with four components where each component is a random uniform variable with variation range in . Taking into account the orthogonality of the basis functions together with truncation of the polynomial chaos series to a finite number of terms will lead to an auxiliary system of ordinary differential equations governing the time evolution of the chaos coefficients of the solutions of the obesity model with random transmission parameters. In this paper, we will use a polynomial chaos method of order two based on Legendre polynomials (this means we will use Legendre polynomials up to degree two), and the chaos dimension is four (we consider four input random parameters: , , , and ). Since there are fifteen Legendre polynomials of degree less or equal to two using a selection of the four variables of (there is one polynomial of degree zero, four of degree one, each one for each , four of degree two in one variable, each one for each (, ), and six of degree two in two variables, each one for each (, ), ), the number of terms of the polynomial chaos expansion (truncation) of the unknown stochastic processes is equal to fifteen. In general this number is where is the maximum degree of the polynomials used, and is the number of random parameters ( and in this work). This number grows very fast with increasing and , which is one reason to choose the order of the chaos to be two. A more important reason is that in [27] a comparison was done for some epidemic models of the effect of the order on the solutions. There it was shown that while order one is not accurate, chaos or order two and three produce very similar results. A good reference to contextualize these assumptions considered related to the order of the polynomial chaos expansion is [26].
For , for example, the chaos expansion will take the following form: The first coefficient in the expression, , represents the firstorder moment of the output stochastic process; and are Legendre polynomials in terms of a selection of the components of the vector. To be precise,
A proper description of the random transmission parameters in terms of the independent chaos variables , , , and must take into account all the possible correlations between these parameters. Since we assume the four transmission parameters are independent random variables, each of them can be expanded as a functional of only one variable of , , , . Thus, its expansion to only order two is as follows. Note that , and are the firstorder moments of each transmission parameter.
We are now ready to develop the differential equations used in the numerical study. Considering the equations of the mathematical model (1) and introducing the polynomial chaos expansions, we obtain these equations.
Considering that we define the model in the restricted region see [18], we can take into account that , then it is only necessary to work with two of the equations of the system; for example, the second one and the third one and then determine from . This option has also been considered in the polynomial chaos approach.
For notational convenience, we consider a onetoone correspondence between the Legendre polynomials ( and 2) and . Then, , for example, can be rewritten as . Now, taking into account this new notation and introducing the polynomial chaos expansions for , and random transmission parameters in the last equation of (1), we obtain the following expression:
To obtain a system of ordinary differential equations for the unknown coefficients with only one derivative of an unknown per equation, we use the orthogonality of the basis functions. In particular, taking the inner product of (7) with the basis functions () results in Note that is defined as , and is the uniform probability density function.
For the second equation of system (1) the equivalent of the expression (8) is as follows:
Equations (8) and (9) are a nonlinear system of ordinary differential equations in the unknowns and . This system (auxiliary system) will be solved numerically using an explicit RungeKutta method. Usually the quantities of interest are the first and second moments. The first moment, or expectation, is given, as we have mentioned by and . is calculated by . The calculation of the second moment (variance) will be given in the next section.
4. Sensitivity Analysis: Polynomial ChaosBased Sobol’ Indices
A sensitivity analysis is also performed in order to quantify the output uncertainty due to the randomness in each of the transmission parameters. Polynomial chaosbased Sobol’s indices are used. This method is based on the decomposition of the variance of the output as a sum of contributions of each input variable, or combinations thereof see [28, 29].
In order to compute the sensitivity indices based on the polynomial chaos expansions of the output stochastic processes it is necessary to consider the coefficients of these expansions, that is, , and . Indeed, only elementary mathematical operations are needed to compute Sobol’s indices from these expansion coefficients.
The idea behind the construction of polynomial chaosbased Sobol’s indices is simple: once the polynomial chaos representation of the output stochastic process is available (the expansion coefficients are known, i.e., the solution of system (9) is known), the response expansion coefficients are simply gathered according to the dependency of each basis polynomial, squaresummed and normalized. For example, the polynomial chaosbased Sobol’s index which explains the influence of the parameter on the stochastic process , , can be computed as follows:
Note that , are the orthogonal polynomials involved in the definition of the parameter (in this case, parameter ) and are the coefficients of the chaos expansion of the process related to the orthogonal polynomials defined by : the random variable used to define . Taking into account that , and are computed. The value of the total variance, , can be calculate from the coefficients expansion obtained with the system of differential equations (8) and (9). In this case, for the variance is as follows:
Note that numerator in (10) is a polynomial function depending on all random variables related to random transmission parameters which we are analyzing, , and only on them.
5. Results
5.1. Numerical Simulations
Figure 1 shows the results obtained for the obese subpopulation using Legendre chaos. is shown as a dotted line. In this and the next figures, we also plot the standard deviation interval, that is, plot the curves , , and , respectively. Note that for a fixed value of , [, ], for example, is a confidence interval in the sense known.
Figure 2 describes the overweight and normal weight prevalence for the next few years (until , year 2015). and are also shown as dotted lines. Some of the numerical values represented in Figures 1 and 2 are presented in Table 3.

(a)
(b)
We can observe that polynomial chaos approach quantifies the output uncertainty due to the randomness in the input parameters. The definition of the output confidence interval by secondorder moment evaluation allows us to predict the epidemic evolution with more accuracy than in deterministic approach. As it is described in [18], we can note how the obesity epidemic in the region of Valencia, Spain, is increasing. Table 4 shows the outcomes with fixed parameters and allows us to compare these outcomes with predictions performed by polynomial chaos approach (Table 3).

5.2. Sensitivity Analysis
Figure 3 shows the influence of parameters , , , and , respectively, in the prediction of obese population. Looking at contribution, it is clear that the epidemic evolution (i.e., variations of ) depends on transit from overweight population to obese population. Therefore, if we assume that transmission parameters which lead to larger variations in the output (obesity prevalence in the next few years) define better options to control the obesity epidemic, we can conclude that prevention strategies related to overweight population can be an optimal policy to address the epidemic.
(a)
(b)
(c)
(d)
6. Conclusions
In this paper, we have shown the possibilities of polynomial chaos related to epidemiological models. It is shown how polynomial chaos can be a useful tool to consider the effects of randomness on the evolution of the epidemics and to perform sensitivity analysis (by polynomial chaosbased Sobol’s indices) in order to propose optimal policies to control epidemics.
As an example, we have studied an obesity model. As it is usual in social epidemic models, the transmission parameters involved in these types of mathematical model cannot be determined exactly, and it is necessary to introduce randomness. In this work, randomness in the transmission parameters is considered, and the resulting system of random coefficient differential equations has been solved approximately using the method of polynomial chaos.
We have shown how the application of polynomial chaos approach to an epidemiological model allows us to determine the epidemic evolution with more realism than in deterministic approach. Since in this case, it is possible to define a confidence interval to the epidemic evolution. Additionally, taking into account this approach, sensitivity analysis (an useful tool for policy makers and healthy planners) is easy to perform. Sensitivity indices based on polynomial chaos expansion may be computed with no additional cost.
To the best of our knowledge, this work is one of the first applications of polynomial chaos approach to epidemiological models based on ordinary differential equations although evidences detected make the method a good candidate to be employed in the study of epidemics.
References
 H. W. Hethcote, “Mathematics of infectious diseases,” SIAM Review, vol. 42, no. 4, pp. 599–653, 2000. View at: Google Scholar
 D. Burg, L. Rong, A. U. Neumann, and H. Dahari, “Mathematical modeling of viral kinetics under immune control during primary HIV1 infection,” Journal of Theoretical Biology, vol. 259, no. 4, pp. 751–759, 2009. View at: Publisher Site  Google Scholar
 M. Suh, J. Lee, H. J. Chi et al., “Mathematical modeling of the novel influenza a (H1N1) virus and evaluation of the epidemic response strategies in the Republic of Korea,” Journal of Preventive Medicine and Public Health, vol. 43, no. 2, pp. 109–116, 2010. View at: Publisher Site  Google Scholar
 T. Soong, Probabilistic Modeling and Analysis in Science and Engineering, Wiley, New York, NY, USA, 1992.
 B. Oksendal, Stochastic Differential Equations, Springer, Heidelberg, The Netherlands, 6th edition, 2003.
 N. Metropolis and S. Ulam, “The Monte Carlo method,” Journal of the American Statistical Association, vol. 44, no. 247, pp. 335–341, 1949. View at: Google Scholar
 G. S. Fishman, Monte Carlo: Concepts, Algorithms, and Applications, Springer, New York, NY, USA, 1995.
 M. Grigoriu and T. Soong, Random Vibration of Mechanical and Structural Systems, Prentice Hall, 1993.
 T. Soong, Random Differential Equations in Science and Engineering, Academic Press, New York, NY, USA, 1973.
 D. Xiu and G. Em Karniadakis, “The WienerAskey polynomial chaos for stochastic differential equations,” SIAM Journal on Scientific Computing, vol. 24, no. 2, pp. 619–644, 2003. View at: Publisher Site  Google Scholar
 D. Stanescu and B. M. ChenCharpentier, “Random coefficient differential equation models for bacterial growth,” Mathematical and Computer Modelling, vol. 50, no. 56, pp. 885–895, 2009. View at: Publisher Site  Google Scholar
 R. W. Walters, L. Huyse et al., “Uncertainty quantification for fluid mechanics with applications,” ICASE Report 20021, NASA Langley Research Center, Hampton, Va, USA, 2002. View at: Google Scholar
 D. Xiu and G. E. Karniadakis, “Modeling uncertainty in flow simulations via generalized polynomial chaos,” Journal of Computational Physics, vol. 187, no. 1, pp. 137–167, 2003. View at: Publisher Site  Google Scholar
 E. Tornatore, S. M. Buccellato, and P. Vetro, “Stability of a stochastic SIR system,” Physica A, vol. 354, no. 1–4, pp. 111–126, 2005. View at: Publisher Site  Google Scholar
 C. E. Dangerfield, J. V. Ross, and M. J. Keeling, “Integrating stochasticity and network structure into an epidemic model,” Journal of the Royal Society Interface, vol. 6, no. 38, pp. 761–774, 2009. View at: Publisher Site  Google Scholar
 S. B. Caldwell, “Microsimulation: theory and practice,” IHSJournal, vol. 6, pp. 135–147, 1982. View at: Google Scholar
 L. Brown and A. Harding, “The new frontier of health and aged care: using microsimulation to assess policy options,” in Proceedings of the Quantitative Tools for Microeconomic Policy Analysis Conference, pp. 217–246, Productivity Commission, Canberra, Australia, November 2004. View at: Google Scholar
 F. J. Santonja, R. J. Villanueva, L. Jódar, and G. GonzalezParra, “Mathematical modelling of social obesity epidemic in the region of Valencia, Spain,” Mathematical and Computer Modelling of Dynamical Systems, vol. 16, no. 1, pp. 23–34, 2010. View at: Publisher Site  Google Scholar
 Valencian Department of Health, “Health Survey,” 2000, http://www.san.gva.es/val/prof/homeprof.html. View at: Google Scholar
 World Health Organization, “Global strategy on diet, physical activity and health,” Tech. Rep., http://www.who.int/dietphysicalactivity/publications/obesity/en/. View at: Google Scholar
 J. J. Arrizabalaga, L. Masmiquel, J. Vidal et al., “Recommendations and treatment algorithm of overweight and obesity in adults,” Medicina Clinica, vol. 122, no. 3, pp. 104–110, 2004. View at: Publisher Site  Google Scholar
 F. Brauer and C. CastilloChavez, Mathematical Models in Population Biology and Epidemiology, Springer, 2001.
 A. Hoare, D. G. Regan, and D. P. Wilson, “Sampling and sensitivity analyses tools (SaSAT) for computational modelling,” Theoretical Biology and Medical Modelling, vol. 5, article 4, pp. 1–18, 2008. View at: Publisher Site  Google Scholar
 S. Marino, I. B. Hogue, C. J. Ray, and D. E. Kirschner, “A methodology for performing global uncertainty and sensitivity analysis in systems biology,” Journal of Theoretical Biology, vol. 254, no. 1, pp. 178–196, 2008. View at: Publisher Site  Google Scholar
 S. Ross, A First Course in Probability, Prentice Hall, 2002.
 D. Xiu and G. Em Karniadakis, “The WienerAskey polynomial chaos for stochastic differential equations,” SIAM Journal on Scientific Computing, vol. 24, no. 2, pp. 619–644, 2003. View at: Publisher Site  Google Scholar
 B. M. ChenCharpentier and D. Stanescu, “Epidemic models with random coefficients,” Mathematical and Computer Modelling, vol. 52, no. 78, pp. 1004–1010, 2010. View at: Publisher Site  Google Scholar
 B. Sudret, “Global sensitivity analysis using polynomial chaos expansions,” Reliability Engineering and System Safety, vol. 93, no. 7, pp. 964–979, 2008. View at: Publisher Site  Google Scholar
 T. Crestaux, O. Le Maître, and J. M. Martinez, “Polynomial chaos expansion for sensitivity analysis,” Reliability Engineering and System Safety, vol. 94, no. 7, pp. 1161–1172, 2009. View at: Publisher Site  Google Scholar
Copyright
Copyright © 2012 F. Santonja and B. ChenCharpentier. 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.