Abstract
In this paper, we consider the inverse problem of derivative order estimation in a fractional logistic model. In order to solve the direct problem, we use the Grünwald-Letnikov fractional derivative, then the inverse problem is tackled within a Bayesian perspective. To construct the likelihood function, we propose an explicit numerical scheme based on the truncated series of the derivative definition. By MCMC samples of the marginal posterior distributions, we estimate the order of the derivative and the growth rate parameter in the dynamic model, as well as the noise in the observations. To evaluate the methodology, a simulation was performed using synthetic data, where the bias and mean square error are calculated, the results give evidence of the effectiveness for the method and the suitable performance of the proposed model. Moreover, an example with real data is presented as evidence of the relevance of using a fractional model.
1. Introduction
Nowadays, fractional differential equations have acquired a great interest, both for their theoretical development and for their applications to different problems of Physics, Engineering, Chemistry, Biology and Applied Sciences [1,2,3]. Under certain conditions, these models can more closely describe phenomena whose dynamics in time is anomalous [4]. For example, the population growth model is one of the most popular models to describe the population growth in the time; however, when the growth is faster or slower than exponential, then its fractional version of this model has a better fit (see Ariza et al. [5]).
The problem of parameters identification in fractional model is not a easy task. There are few works related to the estimation of the order of the derivative in dynamic systems.To mention a few, Mitkowski and Obraczka [6] performed deterministic estimation of parameters in a population model of fractional order, and afterwards Obraczka and Mitkowski [7] performed parameter identification in a partial differential equation of fractional order. More recently, Ariza et al. [5] made an estimate of the parameters, from the Bayesian viewpoint, of a fractional population growth model. However, there is no evidence of the estimation of the order of the derivative of a fractional logistic model.
In this paper, our interest is to estimate the order of the derivative in a differential equation based on measurements data, under uncertainty, of the solutions of a fractional-order logistic model. For this purpose, we solve the inverse problem from point of view of the Bayesian Inference. The Bayesian approach towards inverse problems is different from the traditional methods, such as regularization methods that produce singles estimates of the parameters of interest, in the ill-posedness problem. In the statistical inversion theory via Bayesian approach, the solution of the inverse problem is the posterior probability distribution of the unknowns, which can be used to obtain estimates (see [8]).
In addition to the estimation, we do not have an analytical form of the direct problem, so a numerical algorithm is required to find numerical solutions of the model under study. For simplicity, we propose to use a numerical scheme based in the Grünwald-Letnikov definition for a the fractional derivative; however, other numerical schemes can be used, such as Heydari et al. [9]. Christen et al. [10] study the case when it is necessary to involve numerical methods to approximate the forward maps of the ordinary and partial differential equations with intractable solutions, which lead to the use of a numerical posterior distributions.
Bayesian statistical aspects in inverse problems, we can find in [8,11,12], which supply a vast bibliography on the subject. Capistran et al. [13] also performed a Bayesian analysis of inverse problems in ordinary differential equations (ODE’s). Bahaumik [14] use Bayesian two-step approach to solve inverse problem in ODE’s, that don’t have closed form analytic solution. Calvetti et al. [15] mentioned several articles on the development of Bayesian inverse problems in a wide range of applications, such as engineering, geophysics, life sciences and economy.
2. The Model
This paper deals with a model composed as follows:
- A fractional differential equation given bywhere is the state variable of the system at the time t, is the initial condition, a is a positive constant and N represents a sort of “ideal” population or “carrying capacity”. Here is the integral operator defined bywhere is known as the Caputo fractional derivative for , and is the Gamma function,
- A statistical model given bywhere is a Gaussian error, correspond to the i-th observed value under uncertainty from a solution of Equation (1) at the discrete time ; g is the observation function.
Note that if in the Equation (1), then we get the well known classical logistic model, with solution
On the other hand, when , we do not have an analytical solution; then, a numerical approach is required to find a numerical approximation of the direct problem. In this work, using the fact that (see [16]), where is the Grünwald-Letnikov’s derivative, defined by
where
we get the following approximation, for h sufficiently small,
In this sense, we now have a discrete model analogous to model Equation (2),
3. Bayesian Estimation
Nowadays, the uncertainty quantification from a Bayesian perspective for the differential equations is a very interesting subject because of the great number of applications. In this paper, we study the derivative order estimation, trough Bayesian approach, for a fractional logistic model. Fan et al. [17,18] give evidence of the effectiveness to solve inverse problems under the Bayesian perspective in fractional models. In [8] we can find in detail the Bayesian approach for inverse problems. Hence, the solution to inverse problem under the Bayesian approach is find the posterior distribution of the parameter of interest, which is obtained by the Bayes’ theorem as
where is the vector of the parameters of interest and ; are the observations data, is the prior distribution of , which is obtained under the assumption that and are independent random variables, so
according to parameter space of and , we propose the prior distributions as
where is the Gamma distribution with shape parameter r and rate parameter and is the Uniform distribution on interval , is the precision parameter and .
The likelihood function is obtained by
where is a solution from Equation (1).
In our case, when , we don’t have an explicit expression of the solution in Equation (1). Thus, instead of , we use a numerical approximation given by Equation (6) in Equation (9), in order to obtain a new likelihood function . Then, from now ahead our statistical inference is going to come from a new posterior distribution [13].
In order to approximate we implement Markov Chain Monte Carlo (MCMC) methods, using JAGS within the R software [19]. For more details about the JAGS package see [20,21,22]. For Bayesian point estimation, we use the MAP estimator of , i.e.,
To draw samples from the posterior distribution, JAGS use the Gibbs sampling and sometimes it is combined or replaced by complex techniques such that Metropolis-Hastings algorithm, Slice sampling [23] and Adaptive Rejection Sampling.
4. Simulation
In this section, we carried out a simulation study to give evidence of the properties of Bayesian estimators in the context of the inverse problem for fractional logistic model () in the presence of the ordinary logistic model () misspecification. For this task, we used R [19] with R2jags package [21], following the procedure below:
- We calculated the MAP estimators of the parameters for the models and . To make inference, we use a total of 2000 iterations for each parameter of interest, with two chains of length 10,000 each one. We propose the following weakly informative prior distributions [24],
- From the 1000 samples, we obtained measures of the bias and mean-squared error of the estimators.
For each simulation, we carried out standard convergence diagnostics, such as the factor of reduction, the Gelman-Rubin factor and Geweke diagnostics, which were calculated and showed evidence of convergence. In Table 1, we report the estimate bias and estimate mean squared error for the cases considered. In the fractional logistic model, both the bias and mean squared error are very close to the zero value in all the cases studied, as expected. In contrast, if we use the ordinary logistic model for the same data, the bias and mean squared error are less accurate compared to the fractional logistic model. Moreover, we can observe that the bias and mean squared error are increasing when the value tends to zero.
Table 1.
Estimation of Bias and MSE.
5. Illustrative Example
An example with real data is given to illustrate the Bayesian estimation of the derivative order in the fractional logistic model proposed in this paper. The observation data consists of 15 measurements of electric power (in kilowatts) from 20 serial connected solar panels of 255 watts each one. This data was obtained each 20 minutes from 9:20 to 14:00 hours using, a 5 kW digital inverter on July 27, 2018, in Acapulco, Mexico.
At a first glance (see Figure 2), we can observe a S-shape behaviour of the data; however, the ordinary logistic model is unable to fit the data accurately. Then, to tackle this problem we add a parameter for the order of the derivative.
Figure 2.
Data panel.
For this example, we used two chains, each with 500,000 iterations, and the first 250,000 were discarded, taking a thinning rate of 50. Thus, 10,000 posterior samples were used to obtain the summary statistics about the parameters of interest. The prior distributions used were for , and . We carried out standard convergence diagnostics, the values of factor reduction for each parameter were close to 1 for both models. Also, the Gelman-Rubin factor and Geweke diagnostics were calculated and showed evidence of convergence. As Bayesian point estimates of the parameters were used the posterior means, resulting, for , and , for and . Figure 2, shows the fitted models considered.
The Figure 3, shows the trace and estimated posterior distributions of the estimated parameters of interest.
Figure 3.
Trace and estimated posterior densities of a, and .
6. Concluding Remarks
In this paper, taking into account an experimental dataset with noise, we solve an inverse problem for a fractional logistic model via the Bayesian perspective, where the derivative order is included as a parameter of interest; that is, the order of the derivative is considered as a random variable, with a non-informative prior probability density function in the interval (0, 1). Then, we implement MCMC methods to obtain the posterior probability distribution for the derivative order and its point estimator is given by the mean of the posterior distribution. Since, it is not possible to find an analytical solution for the corresponding initial value problem, a numerical scheme was proposed, based on the definition of Grünwald-Letnikov’s fractional derivative, to solve the direct problem in each MCMC iteration, obtaining accurate numerical posterior distributions of the parameters in the following sense: from the simulation study, the biases and mean squared errors are close to zero.
In this work, deals with the problem of parameters estimation in differential equations using Bayesian statistical inference tools, which is a new subject with many interesting open problems and potential applications in different areas of knowledge. Also, the procedure that we propose can be used for mathematical problems based on system of fractional partial differential equations.
Author Contributions
Conceptualization, F.J.A.-H. and M.P.A.-A.; Formal analysis, M.P.A.-A. and J.S.-O.; Investigation, F.J.A.-H. and J.S.-O.; Methodology, F.J.A.-H. and A.F.-I.; Software, A.F.-I.; Writing—original draft, F.J.A.-H. and A.F.-I.; Writing—review and editing, M.P.A.-A. and J.S.-O. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by University of Guerrero, Mexico., grant number PFCE-2019.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Monje, C.A.; Chen, Y.; Vinagre, B.M.; Xue, D.; Feliu-Batlle, V. Fractional-Order Systems and Controls: Fundamentals and Applications; Springer: Berlin/Heidelberg, Germany, 2010. [Google Scholar]
- Vazquez, L.; Trujillo, J.J.; Velasco, M.P. Fractional heat equation and the second law of thermodynamics. Fract. Calc. Appl. Anal. 2011, 14, 334–342. [Google Scholar] [CrossRef]
- Area, I.; Batarfi, H.; Losada, J.; Nieto, J.J.; Shammakh, W.; Torres, A. On a fractional order Ebola epidemic model. Adv. Differ. Equ. 2015, 2015, 278. [Google Scholar] [CrossRef]
- Jin, B.; Rundell, W. A tutorial on inverse problems for anomalous diffusion processes. Inverse Probl. 2015, 31, 035003. [Google Scholar] [CrossRef]
- Ariza-Hernandez, F.J.; Sanchez-Ortiz, J.; Arciga-Alejandre, M.P.; Vivas-Cruz, L.X. Bayesian Analysis for a Fractional Population Growth Model. J. Appl. Math. 2017, 2017, 9654506. [Google Scholar] [CrossRef]
- Mitkowski, W.; Obraczka, A. Simple identification of fractional differential equation. Solid State Phenom. 2012, 180, 331–338. [Google Scholar] [CrossRef]
- Obraczka, A.; Mitkowski, W. The comparison of parameter identification methods for fractional, partial differential equation. Solid State Phenom. 2014, 210, 265–270. [Google Scholar] [CrossRef]
- Kaipio, J.; Somersalo, E. Statistical and Computational Inverse Problems; Springer: Berlin/Heidelberg, Germany, 2006; Volume 160. [Google Scholar]
- Heydary, M.H.; Hooshmandasl, M.R.; Cattani, C.; Li, M. Legendre Wavelets Method for Solving Fractional Population Growth Model in a Closed System. Math. Probl. Eng. 2013, 2013, 161030. [Google Scholar] [CrossRef]
- Andrés Christen, J.; Capistrán, M.A.; Ángel Moreles, M. Numerical posterior distribution error control and expected Bayes Factors in the bayesian Uncertainty Quantification of Inverse Problems. arXiv 2016, arXiv:1607.02194. [Google Scholar]
- Banks, H.T.; Hu, S.; Thompson, W.C. Modeling and Inverse Problems in the Presence of Uncertainty; CRC Press: Boca Raton, FL, USA, 2014. [Google Scholar]
- Tarantola, A. Inverse Problem Theory and Methods for Model Parameter Estimation; SIAM: Philadelphia, PA, USA, 2005. [Google Scholar]
- Capistrán, M.A.; Christen, J.A.; Donnet, S. Bayesian Analysis of ODE’s: Solver Optimal Accuracy and Bayes factors. SIAM/ASA J. Uncertain. Quantif. 2016, 4, 829–849. [Google Scholar] [CrossRef][Green Version]
- Bhaumik, P. Bayesian two-step estimation in differential equation models. Electron. J. Stat. 2015, 9, 3124–3154. [Google Scholar] [CrossRef]
- Calvetti, D.; Kaipio, J.P.; Somersalo, E. Inverse problems in Bayesian framework. Inverse Probl. 2014, 30, 110301. [Google Scholar] [CrossRef]
- Scherer, R.; Kalla, S.L.; Tang, Y.; Huang, J. The Grunwald- Letnikov method for fractional differential equations. Comput. Math. Appl. 2011, 62, 902–917. [Google Scholar] [CrossRef]
- Fan, W.; Jiang, X.; Chen, S. Parameter estimation for the fractional fractal diffusion model based on its numerical solution. Comput. Math. Appl. 2016, 71, 641–651. [Google Scholar] [CrossRef]
- Fan, W.; Jiang, X.; Qi, H. Parameter estimation for the generalized fractional element network Zener model based on the Bayesian method. Physica A 2015, 427, 40–49. [Google Scholar] [CrossRef]
- R Core Team. R: A Language and Environment for Statistical Computing; R Foundation for Statistical Computing: Vienna, Austria, 2014. [Google Scholar]
- Plummer, M. JAGS Version 4.3.0 User Manual; International Agency for Research on Cancer: Lyon, France, 2017. [Google Scholar]
- Su, Y.S.; Yajima, M. R2jags: Using R to Run ‘JAGS’. R Package Version 0.5-7. Available online: https://CRAN.R-project.org/package=R2jags (accessed on 1 December 2019).
- Plummer, M. rjags: Bayesian Graphical Models Using MCMC. R Package Version 4-6. Available online: https://CRAN.R-project.org/package=rjags (accessed on 1 December 2019).
- Neal, R.M. Slice Sampling. Ann. Stat. 2003, 31, 705–767. [Google Scholar] [CrossRef]
- Gelman, A.; Carlin, J.B.; Stern, H.S.; Dunson, D.B.; Vethari, A.; Rubin, D.B. Bayesian Data Analysis, 3rd ed.; Taylor & Francis: Milton Park, UK, 2014. [Google Scholar]
© 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).