Next Article in Journal
Method of Distinguishing Styles by Fractal and Statistical Indicators of the Text as a Sequence of the Number of Letters in Its Words
Next Article in Special Issue
Multisensor Fusion Estimation for Systems with Uncertain Measurements, Based on Reduced Dimension Hypercomplex Techniques
Previous Article in Journal
Dynamic Modeling and Vibration Characteristics Analysis of Deep-Groove Ball Bearing, Considering Sliding Effect
Previous Article in Special Issue
Calendar Effect and In-Sample Forecasting Applied to Mesothelioma Mortality Data
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Two Multi-Sigmoidal Diffusion Models for the Study of the Evolution of the COVID-19 Pandemic

by
Antonio Barrera
1,2,†,
Patricia Román-Román
2,3,†,
Juan José Serrano-Pérez
3,† and
Francisco Torres-Ruiz
2,3,*,†
1
Departamento de Análisis Matemático, Estadística e Investigación Operativa y Matemática Aplicada, Facultad de Ciencias, Universidad de Málaga, Bulevar Louis Pasteur, 31, 29010 Málaga, Spain
2
Instituto de Matemáticas de la Universidad de Granada (IMAG), Calle Ventanilla, 11, 18001 Granada, Spain
3
Departamento de Estadística e Investigación Operativa, Facultad de Ciencias, Universidad de Granada, Avenida Fuente Nueva s/n, 18071 Granada, Spain
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Mathematics 2021, 9(19), 2409; https://doi.org/10.3390/math9192409
Submission received: 30 July 2021 / Revised: 20 September 2021 / Accepted: 22 September 2021 / Published: 28 September 2021

Abstract

:
A proposal is made to employ stochastic models, based on diffusion processes, to represent the evolution of the SARS-CoV-2 virus pandemic. Specifically, two diffusion processes are proposed whose mean functions obey multi-sigmoidal Gompertz and Weibull-type patterns. Both are constructed by introducing polynomial functions in the ordinary differential equations that originate the classical Gompertz and Weibull curves. The estimation of the parameters is approached by maximum likelihood. Various associated problems are analyzed, such as the determination of initial solutions for the necessary numerical methods in practical cases, as well as Bayesian methods to determine the degree of the polynomial. Additionally, strategies are suggested to determine the best model to fit specific data. A practical case is developed from data originating from several Spanish regions during the first two waves of the COVID-19 pandemic. The determination of the inflection time instants, which correspond to the peaks of infection and deaths, is given special attention. To deal with this particular issue, point estimation as well as first-passage times have been considered.

1. Introduction

There can be no doubt that the outbreak of the global pandemic caused by the SARS-CoV-2 virus has produced a strong shock worldwide, the repercussions of which are still far from being seen. Obviously, the main concern is to contain the spread as soon as possible, thus putting a stop to the interminable trickle of deaths left in its wake. The data provided in real time by Johns Hopkins University [1] quantify the number of the infected, as of 22 July 2021, at around 192 million, while the deceased amount to more than 4.1 million. Fortunately, vaccination campaigns are beginning to bear fruit, although there is still a long way to go, especially in developing countries. To add to the problem, severe economic losses are being felt as a result of the pandemic. It is still too early to evaluate their full impact, although some studies are already looking into the matter (see for example [2]).
Since the beginning of the pandemic, multiple efforts have been made to model its evolution and understand its behavior. Knowledge of applicable models can help, on the one hand, to make correct decisions to mitigate the spread of the virus and, on the other, to design actions against future health crises of the same nature. For this reason, the scientific community is making strenuous efforts to apply existing techniques and develop new ones capable of modeling and predicting the evolution of the epidemic.
In this regard, compartmental epidemiological models have been a main focus of attention. Among them, SIR models stand out, which are based on the assumption that the population can be classified into three independent compartmentalized groups (susceptible, infected, and recovered). The number and type of compartmentalized groups can be modified to better reflect the specific dynamics of the disease, giving way, for example, to SEIR models (susceptible, exposed, infected, and recovered). In both cases, the models represent how individuals can progress from one compartmentalized group to the next (see [3] for more details about the compartmental models).
Although such models have been widely applied, the specifics of the present pandemic has led researchers to explore how certain modifications can be introduced in the models. For example, Gounane et al. [4] developed a non-linear SIR model that includes the effect of social distancing imposed by governments around the world. Khan et al. [5] introduced the so-called SQUIDER model in which new compartments are incorporated; specifically infected and undetected cases (U), undetected recovered cases (E), quarantined cases affected by social distancing (Q), and deaths from contagion (D). Furthermore, Ianni et al. [6] introduced temporal dependence on the parameters of the classical SIR model, thus affecting the behavior of the basic reproductive number R 0 over time. This is intended to take into account containment measures, such as lockdowns, social distancing, and limitations on commercial activities. The resulting models are called SIR-T and SIRD-T. While all the efforts mentioned above address compartmental models from a deterministic point of view, some research has looked into the development of stochastic models, including fractional versions of the same (see for instance [7]).
Apart from these epidemiological models, several authors have considered other approaches. Among others we can cite the work of Maleki et al. [8] in which they considered ARMA processes based on two-piece scale mixture normal distributions; Ünlu and Namb [9] used machine learning techniques and addressed various epidemiological models from a Bayesian perspective. Special mention must be made of functional data techniques, which have been applied to several lines of research. For example, Ref. [10] used principal component analysis to discover patterns of pandemic progression as well as to identify the countries that better represent these archetypes. Similarly, Acal et al. [11] proposed a principal components multiple function-on-function regression model for the imputation of missing data in the COVID-19 hospitalized and intensive care curves of several Spanish regions.
The evolution dynamics of the current pandemic, as in previous ones, point at the importance of considering models based on growth curves, mainly those of the sigmoidal type. Some of them, such as the Richards curve, have already been used in previous situations of this nature (Hsi et al. [12], Wang et al. [13]). Concerning COVID-19 specifically, mention must be made of Català et al. [14], where the authors employed the Gompertz curve; and of Li et al. [15], a comparative study performed using the Richards, logistic, Von Bertalanffy, and Gompertz curves, among others. However, such curves present a fairly rigid behavior, so it is necessary to resort to more flexible models. In this sense, Tovissodé et al. [16] have used the generic growth model introduced by Turner et al. [17]. A fundamental aspect that must be taken into consideration is that practically all the studies in this line of research focus on modeling the first wave of the pandemic. This is due to these curves presenting a sigmoidal behavior with only one inflection point. Sadly, this does not allow for a more in-depth analysis of the evolution of the pandemic as a whole. Therefore, if more complex behaviors are to be modeled, it becomes necessary to consider multi-sigmoidal curves. Likewise, a large part of the studies have been carried out from a deterministic point of view, so they do not take into account possible random fluctuations as well as influences external to the system. The fact that growth curves have their origin, for the most part, in the solution of an ordinary differential equation naturally leads to the consideration of stochastic differential equations whose solutions are, under certain conditions, diffusion processes. Some works have recently been published which combine both aspects, that is, the multi-sigmoidal and the stochastic character of the model. Román-Román et al. [18] considered a diffusion process associated with a plurisigmoidal Gompertz curve, while Di Crescenzo et al. [19] proposed two growth and death processes and a diffusion process whose mean functions are logistic curves that present several inflection points.
In summary, the starting motivations of the present work can be summarized as:
  • The need for the broadest possible knowledge of the evolution dynamics of the pandemic, focusing on determining points of contagion peaks, inflections in its evolution, duration, and the succession of waves.
  • The need to consider models that reproduce the observed multi-sigmoidal behavior of the pandemic.
  • The need to consider stochastic models that allow the aspects mentioned above to be studied from a probabilistic perspective.
With these ideas in mind, the present paper is a proposal to employ diffusion processes, whose mean functions are multi-sigmoidal curves, in order to model the evolution of the pandemic through various waves by considering both the number of infected individuals and the number of deaths. Specifically, the Gompertz process introduced in [18] is considered, as well as a version of the generalized Weibull-type process that was proposed by Barrera et al. [20]. In both cases, the processes are obtained by including polynomial-type functions in the ordinary differential equations that give rise to the Gompertz and Weibull curves, respectively. Both processes can be viewed from a common perspective such as that provided by the inhomogeneous lognormal diffusion process. Stochastic diffusion processes provides advantages over other commonly-used models for the study of epidemiological phenomena, such as SIR models based on differential equations. The probabilistic nature of the model allows the researcher to evaluate the variability of the model estimates, considering, for example, confidence intervals for the estimates and predictions made. In addition, in the specific case of diffusion processes such as the ones considered in this paper, they can be used to study several temporary variables of notable interest. Specifically, in the present case the determination of the time instants in which the infection and death peaks are reached can be approached by calculating first-passage times, which provides a valuable probabilistic tool for its study and analysis.
Under these general considerations, this paper is structured as follows: Section 2 is dedicated to introducing the multi-sigmoidal Gompertz and Weibull curves, while Section 3 introduces the processes associated with each of the previous curves, based on the inhomogeneous lognormal diffusion process. These two sections cover both models in a unified way, which will help simplify the expressions to be derived later on. Section 4 is dedicated to the estimation of the parameters of the models being considered, which is carried out by maximum likelihood. This section includes some strategies aimed at the selection of initial solutions for the numerical methods necessary for the estimation, and describes a strategy for the selection of the optimal polynomial in each case. Finally, Section 5 uses both processes to model pandemic-related data originating from several Spanish regions during the first two waves of infection, and proposes a strategy for selecting the model that best fits the observed data. For the selected model, a study of the inflection times is considered, which determine the infection and deaths peaks in each wave. This analysis is carried out from the point estimation of said instants and from the study of the first-passage times of the process through the values where inflections occur. Finally, some conclusions are drawn.

2. Gompertz and Weibull Multi-Sigmoidal Curves

In this section, we introduce two multi-sigmoidal versions of the Gompertz and Weibull curves. Both are obtained through the inclusion of polynomial functions in the ordinary differential equations whose solutions are said curves. More in detail, let Q β ( t ) = = 1 p β t be a polynomial of degree p > 0 , where β = β 1 , , β p T is a real parametric vector such that β p > 0 . Let us consider t 0 and define the multi-sigmoidal Gompertz function as
f θ ¯ g ( t ) = k g exp α g exp Q β g ( t ) , θ ¯ g = α g , β g T T ,
and the multi-sigmoidal Weibull functions as
f θ ¯ w ( t ) = k w α w exp Q β w ( t ) , θ ¯ w = α w , β w T T ,
where α g , α w > 0 and the parameters k g , k w > 0 are the asymptotic values of every curve, i.e., the carrying capacity of every model. Here we denote with g and w those expressions related to the Gompertz and Weibull models, respectively. Each of such functions can be viewed as the solution of the Malthusian-type linear differential equation
d d t f θ ( t ) = h θ ( t ) f θ ( t ) , θ = θ ¯ g , θ ¯ w ,
where the key function h θ is defined as follows:
h θ ( t ) = α g P β g ( t ) e Q β g ( t ) if   θ = θ ¯ g , α w P β w ( t ) e Q β w ( t ) k w α w exp Q β w ( t ) 1 if   θ = θ ¯ w .
Here, P β g ( t ) is the polynomial satisfying d d t Q β g ( t ) = P β g ( t ) for all t (analogously for the Weibull case with β w ). From the definition of h θ it follows that the growth periods of the curves are related with the roots of P β g and P β w . Indeed, at every root the derivative vanishes and the process stops growing. This is also directly related with the inflection points of the curves, which are discussed at the end of this section.
Other differential equations can be derived from (3) by taking into account the original expressions (1) and (2) for Gompertz and Weibull multi-sigmoidal models, respectively. Indeed,
d d t f θ ( t ) = log k g log f θ ¯ g ( t ) f θ ¯ g ( t ) P β g ( t ) if   θ = θ ¯ g , k w f θ ¯ w ( t ) P β w ( t ) if   θ = θ ¯ w ,
leads to solutions, provided the initial condition f θ ( t 0 ) = f 0 > 0 for all θ ,
f θ ( t ) = exp log k g 1 e Q β g ( t ) Q β g ( t 0 ) + log f 0 e Q β g ( t ) Q β g ( t 0 ) if   θ = θ ¯ g , k w k w f 0 exp ( α w Q β w ( t ) Q β w ( t 0 ) ) if   θ = θ ¯ w .
By taking limits when t goes to infinity, such functions tend to values (the carrying capacity) which do not depend on the initial values. This is the main difference with respect to the model solution of Equation (3). As a matter of fact, by considering f θ ( t 0 ) = f 0 for t t 0 0 , Equation (3) leads to curves
f θ ( t ) = f 0 exp α e Q β g ( t ) e Q β g ( t 0 ) if   θ = θ g , f 0 η exp Q β w ( t ) η exp Q β w ( t 0 ) if   θ = θ w ,
where θ g = α , β g T T and θ w = η , β w T T for α = α g and η = k w / α w . Note that, provided such reformulation, the Weibull model now has one less parameter. From now on, all definitions depending on θ will be considered for values θ g and θ w , instead of θ ¯ g and θ ¯ w .
Related with the above equations, note that the expression of h θ is simplified after the reformulation, being now
h θ ( t ) = α P β g ( t ) e Q β g ( t ) if   θ = θ g , P β w ( t ) e Q β w ( t ) η exp Q β w ( t ) 1 if   θ = θ w .
Furthermore, note that the limit value of such models depends on initial values t 0 and f 0 , that is,
lim t f θ ( t ) = f 0 exp α e Q β g ( t 0 ) if   θ = θ g , f 0 η η exp Q β w ( t 0 ) if   θ = θ w .
The use of the latter models is justified in the cases of phenomena with multiple sample paths of observations, each starting at different points and having different limit values. Due to this more general character, in what follows we will consider the expressions of f θ given in (4).
As mentioned above, inflection points are of great importance in studying the behavior of this type of curves. As such points make the second derivative of the curve vanish, expressions can be obtained by differentiating (3) and taking into account expressions of h θ . Therefore, in the case of the multi-sigmoidal Gompertz function, condition d 2 d t 2 f θ g ( t ) = 0 leads to equation
d d t P β g ( t ) = P β g 2 ( t ) 1 α exp Q β g ( t ) ,
whereas, in the case of the multi-sigmoidal Weibull function, it follows that
d d t P β w ( t ) = P β w 2 ( t ) .
The solutions of these equations are the inflection points of the curves. Many growth phenomena usually present at least one inflection, representing the moment when the growth rate changes. Multi-sigmoidal models may have multiple inflection points, and are therefore useful in modeling such types of growth phenomena.
In order to illustrate the behavior related with inflection points, Figure 1 shows multi-sigmoidal Gompertz and Weibull curves for different values of the polynomial coefficients when p = 3 , f 0 = 5 , α = log 2 and η = 2 , as well as its first and second derivatives, all according to the values of Table 1.

3. Gompertz and Weibull Multi-Sigmoidal Diffusion Processes

The aforementioned deterministic models are useful to describe growth phenomena in their most basic terms. However, in order to build a more precise model able to take into account other factors and uncertainties, their stochastic counterparts are recommended. Random fluctuations appear in every dynamical behavior, whether as a result of the nature of the phenomenon under study or as the uncertainty derived from observation and measurement instruments. They must therefore be included in any model attempting to describe the growth phenomena in any significant depth.
A traditional way to build stochastic models is including a random term (usually a white noise) in an ordinary differential equation. Nevertheless, such approach may lead to intractable models due to the potentially high complexity of the deterministic base model.
For this reason, it might be useful to consider other approaches, such as adding a random perturbation to a parametric function. In this case, following (3), it is possible to introduce a white noise ζ ( t ) with spectral density σ 2 , where σ > 0 will be the diffusion coefficient of the stochastic model, in order to randomly perturb function h θ ( t ) (from (5)) and to obtain a function h θ ( t ) + ζ ( t ) . Please note that, for the sake of clarity and following the unified notation of the previous section, from now on we will omit the subscript in the expression for θ .
After replacing h θ ( t ) with h θ ( t ) + ζ ( t ) in (3), such expression becomes a stochastic differential equation; concretely
d X ( t ) = h θ ( t ) X ( t ) d t + σ X ( t ) d W ( t ) ,
where W ( t ) is the standard Wiener process, independent of initial value X ( t 0 ) for t t 0 . Here, t 0 0 is the initial time and t [ t 0 , T ] where [ t 0 , T ] is the parametric space of the process.
Taking into account that h θ is continuous in t [ t 0 , T ] , Equation (6) verifies the conditions for the existence and uniqueness of a solution. Said solution is a stochastic diffusion process, known as inhomogeneous lognormal diffusion process, taking values on R + and characterized by infinitesimal moments A 1 ( x , t ) = h θ ( t ) x and A 2 ( x ) = σ 2 x 2 . In addition, a closed-form expression for the solution can be provided. In fact, by considering initial condition X ( t 0 ) = X 0 , being X 0 a random variable whose distribution must be either degenerate or lognormal (as further explained later in this section), we have
X ( t ) = X 0 exp H θ ˜ ( t 0 , t ) + σ W ( t ) W ( t 0 ) , θ ˜ = θ T , σ 2 T ,
where function H θ ˜ is defined, for t 0 s < t T , as
H θ ˜ ( s , t ) = s t h θ ( u ) d u σ 2 2 ( t s ) .
Note that parameter θ ˜ takes the form θ ˜ g or θ ˜ w when θ = θ g or θ = θ w , respectively, where θ ˜ g = θ g T , σ 2 T and θ ˜ w = θ w T , σ 2 T .
Function H θ ˜ depends on the integral of function h θ , defined in the previous section. Such integral can be computed easily for every multi-sigmoidal model, leading to
H θ ( s , t ) = s t h θ ( u ) d u = α e Q β ( θ ) ( t ) + α e Q β ( θ ) ( s ) if   θ = θ g , log η e Q β ( θ ) ( t ) log η e Q β ( θ ) ( s ) if   θ = θ w .
where parameter β depends on θ in the sense that β ( θ g ) = β g and β ( θ w ) = β w .
Such results can be expressed in a more compact form as
H θ ( s , t ) = ψ θ e Q β ( θ ) ( t ) ψ θ e Q β ( θ ) ( s )
where function ψ θ is defined as
ψ θ ( r ) = α r if   θ = θ g , log η r if   θ = θ w .
The inhomogeneous lognormal process has been the subject of many studies, theoretical as well as applied. In particular, Román and Torres [21] analyzed their versatility when modeling phenomena governed by growth curves such as those considered here (for example Richards [22] and Hubbert [23], among other curves). Gutiérrez et al. [24] carried out a detailed analysis of that process from the perspective of SDE as well as from the point of view of Kolmogorov’s partial differential equations, including the study of the distribution of the process and characteristics of interest, such as the moment and percentile functions.
As regards the distribution of the process, if X 0 is either degenerate or lognormal, then the finite-dimensional distributions of the process are distributed according to a lognormal law. Indeed, random vector X ( t 1 ) , , X ( t n ) T , where t 1 < < t n for all n > 0 , has an n-dimensional lognormal distribution Λ n ε , Σ where ε is a vector of elements ε i = μ 0 + H θ ˜ ( t 0 , t i ) and Σ is a matrix of elements σ i j = σ 0 2 + σ 2 min ( t i , t j ) t 0 , for i , j = 1 , , n . Here, μ 0 and σ 0 2 are the parameters of the initial distribution Λ 1 μ 0 , σ 0 2 . Note that, if X 0 > 0 is degenerate at a point x 0 , i.e., X 0 = x 0 a.s., then μ 0 = x 0 and σ 0 2 = 0 in the previous expressions.
The transition probability distribution is particularly useful for inferential purposes. From the two-dimensional distributions ( X ( s ) , X ( t ) ) T , s < t , the transitions of the process can be obtained, which are also lognormal. Concretely,
X ( t ) | X ( s ) = y Λ 1 log y + H θ ˜ ( s , t ) , σ 2 ( t s ) .
Once the distribution of the process has been established, different characteristics associated with it can be calculated, including the mean and conditioned mean functions, whose expressions are
E X ( t ) = E ( X 0 ) exp ψ θ e Q β ( θ ) ( t ) exp ψ θ e Q β ( θ ) ( t 0 )
and
E X ( t ) | X ( t 0 ) = x 0 = x 0 exp ψ θ e Q β ( θ ) ( t ) exp ψ θ e Q β ( θ ) ( t 0 ) .
In addition, taking into account (4) and (7) it can be verified that
exp ψ θ e Q β ( θ ) ( t ) exp ψ θ e Q β ( θ ) ( t 0 ) = f θ ( t ) f θ ( t 0 ) ,
thus the two mean functions are of the type considered in the previous section. This supports the use of the processes introduced to model phenomena whose behavior is of the multi-sigmoidal type. This provides good reason to study the inference of the processes, which is the subject of the next section.

4. Inference

In this section, the maximum likelihood estimation of the parameters of the two multi-sigmoidal processes is discussed, following the general methodology suggested by Román-Román et al. [25].
Let us now consider a discrete sampling of d paths observed at times t i j for i = 1 , , d and j = 1 , , n i . For the sake of simplicity, we will consider t i 1 = t 0 for all i, i.e., all the paths are observed at the same time instants. Furthermore, let X i T = X ( t i 1 ) , , X ( t i n i ) be the vector corresponding to the i -th sample path ( i = 1 , , d ). Then, X = X 1 T | | X d T T .
Let us assume a lognormal initial distribution, i.e., X 0 Λ 1 μ 1 , σ 1 2 . Then, for a fixed value x X , the log-likelihood function is
log L x ( ζ , θ ˜ ) = ( n + d ) log 2 π 2 d log σ 1 2 2 n log σ 2 2 i = 1 d log x i 1 1 2 σ 1 2 i = 1 d log x i 1 μ 1 2 1 2 σ 2 Z 1 + Φ θ ˜ 2 Γ θ ˜
where n = i = 1 d n i 1 , ζ = μ 1 , σ 1 2 T is the vector containing the parameters of the initial distribution and
Z 1 = i = 1 d j = 2 n i Δ i , j 1 , j 1 log x i j x i , j 1 2 , Φ θ ˜ = i = 1 d j = 2 n i Δ i , j 1 , j 1 H θ ˜ 2 ( t i , j 1 , t i j ) , Γ θ ˜ = i = 1 d j = 2 n i Δ i , j 1 , j 1 log x i j x i , j 1 H θ ˜ ( t i , j 1 , t i j ) ,
where Δ i , j 1 , j : = t i j t i , j 1 (note that, in the case of equidistant times, this term becomes constant).
Provided the functional independence of parametric vectors ζ and θ ˜ , the estimate of the former is
μ ^ 1 = 1 d i = 1 d log x i 1 , σ ^ 1 2 = 1 d i = 1 d log x i 1 μ ^ 1 2 ,
while the estimate of θ ˜ is obtained from the solution of the system of equations (see [25] for details)
Ξ θ + σ 2 2 Ω θ = 0 , σ 2 n + σ 2 Z 2 / 4 X 1 θ + 2 X 2 θ Z 1 = 0 ,
where
Ξ θ = i = 1 d j = 2 n i Δ i , j 1 , j 1 log x i j x i , j 1 H θ ( t i , j 1 , t i j ) θ H θ ( t i , j 1 , t i j ) , Ω θ = i = 1 d j = 2 n i θ H θ ( t i , j 1 , t i j ) , X 1 θ = i = 1 d j = 2 n i Δ i , j 1 , j 1 H θ 2 ( t i , j 1 , t i j ) , X 2 θ = i = 1 d j = 2 n i Δ i , j 1 , j 1 log x i j x i , j 1 H θ ( t i , j 1 , t i j ) , Z 2 = i = 1 d j = 2 n i Δ i , j 1 , j .
The maximum-likelihood equations use the vector derivative of H θ , which is done by the following expressions, according to the compact form presented previously:
θ H θ ( t i , j 1 , t i j ) = M θ 0 ( t i j ) M θ 0 ( t i , j 1 ) M θ 1 ( t i j ) M θ 1 ( t i , j 1 ) M θ p ( t i j ) M θ p ( t i , j 1 )
where, for k = 0 , , p ,
M θ k ( t ) = 𝟙 { θ = θ w } t k e Q β ( θ ) ( t ) 1 δ 0 k ψ θ ( r ) η | r = e Q β ( θ ) ( t ) 𝟙 { θ = θ g } ( α t k ) 1 δ 0 k ψ θ ( r ) α | r = e Q β ( θ ) ( t ) ,
where 𝟙 { · } and δ · · are the indicator function and the Kronecker delta, respectively. Note that, provided the degree p of the polynomial, that is, the number of parameters of the curve, then θ H θ R p + 1 .
The system of Equation (9) can not be solved explicitly, and it is therefore necessary to use numerical methods for which an initial solution is required. However, it is not possible to carry out a general study of the system of equations in order to check the conditions of convergence of the chosen numerical method, since the system is dependent on sample data which may therefore lead to unforeseeable behavior. One alternative would be using optimization procedures on the log-likelihood (8), for which it is usually necessary to bound the parametric space. These two questions will be covered in Section 4.2.

4.1. About [ t 0 , T ]

Before applying the inference procedure, it is necessary to discuss a modification involving the time interval where the processes are considered. Although such processes have been defined on a generic interval [ t 0 , T ] , two main reasons motivate the standardization of such interval to [ 0 , 1 ] . The first one is the analytical complexity of the multi-sigmoidal lognormal model. When t 0 = 0 , many exponential functions turn to 1, making calculus more tractable than the general case t 0 0 . The second reason is the numerical precision of computational operations. When T = 1 , fluctuations of the objective function (derived from the log-likelihood function) allow for a good performance of the numerical algorithms.
Such standardization does not, nevertheless, modify the nature of the process. Indeed, the two multi-sigmoidal lognormal diffusion processes being considered remain the same when the parametric space is transformed from [ t 0 , T ] to [ 0 , 1 ] . In particular, infinitesimal moments fully characterizing the process are equal up to a term coming from the standardization procedure. A more formal explanation is shown in Appendix A.

4.2. Initial Solutions

As mentioned earlier, the use of numerical methods to solve the system of Equation (9), or of optimization methods in the case of maximizing (8), requires having initial solutions in the first case or limiting the parametric space in the second.
In order to obtain initial solutions, we propose a simple linear regression. Taking t 0 = 0 in agreement with the remark made in the previous subsection, from (4) it follows, for the Gompertz case, that
log log k g f θ g ( t ) = log α Q β g ( t ) ,
where k g = f 0 e α , whereas for the Weibull case it has
log η f θ w ( t ) f 0 η 1 = Q β w ( t ) ,
which, taking into account relation η = 1 f 0 k w 1 , becomes
log k w f θ w ( t ) k w f 0 = Q β w ( t ) .
Both Equations (10) and (11) can be viewed as linear regression models over ( t , z g ) , and ( t , z w ) , where t is the time vector and z g is the vector of elements z i g = log log ( k ˜ g / m i g ) for the Gompertz case, and z w the vector of elements z i w = log ( k ˜ w m i w ) / ( k ˜ w m 1 w ) for the Weibull case ( i = 1 , , d ). Here, k ˜ g , m i g , k ˜ w , m i w are the final and i-th observed value of the sample mean, respectively, to be modeled by Gompertz and Weibull processes. With all of this, initial values of polynomial parameters β θ g and β θ w follow from linear regression. The initial values for α and η are obtained from the relationships between these parameters and limit values k g and k w .
A similar procedure can be applied to obtain an initial value of σ 2 . The equation for the regression comes from having a lognormal distribution. Indeed, it is known that, given a random sample from a lognormal distribution Λ 1 [ η , δ ] , the quotient between the arithmetic mean and the geometric one provides an estimation of δ . By applying this to the distribution of X ( t ) , we obtain, for each t i , an estimate of σ 0 2 + σ 2 t i ; that is, σ i 2 = 2 log ( m i / g i ) , being m i { m i g , m i w } and g i { g i g , g i w } the geometric mean at time t i for Gompertz and Weibull cases. The initial value of σ 2 is calculated by performing a simple linear regression of the σ i 2 values against t i . Note that if X 0 is a degenerate distribution, then σ 0 2 = 0 . Otherwise, σ 0 2 is previously estimated from the values of the sample paths at t 0 .
Regarding the maximization of the likelihood function, not all specialized software requires bounding the parametric space. However, for those that do, we suggest the following procedure:
  • Since high values of σ 2 lead to sample paths with great variability around the mean of the process, we consider 0 < σ 2 < 1 , so that the multi-sigmoidal behavior is advisable.
  • For the Gompertz case, we propose considering confidence intervals provided by the linear regression previously performed in order to find the initial solutions. It is advisable to use a high level of confidence, i.e., 0.999.
  • For the Weibull case, we consider the confidence intervals for parameters β j , whereas for η , and since it is verified that η = 1 f 0 k w 1 , we suggest taking interval ( a , b ) , where
    a : = min 1 i d 1 x i , 1 x i , n i 1 , and b : = max 1 i d 1 x i , 1 x i , n i 1 .

4.3. Degree of Polynomial

The choice of the degree of the polynomial included in the infinitesimal mean of the multi-sigmoidal Gompertz and Weibull models must obviously be based on the data. Thus, we propose setting a high degree of polynomial in advance, q, and selecting:
  • For the multi-sigmoidal Gompertz model, the optimal polynomial regression model in M g for the data set ( t , z g ) being M g the class of polynomial regression models of degree less than or equal to q;
  • For the multi-sigmoidal Weibull model, the optimal polynomial regression model in M w for the data set ( t , z w ) being M w the class of polynomial regression models of degree less than or equal to q without the intercept term.
In order to do this, we will employ the usual Bayesian procedure for variable selection in normal regression models using intrinsic priors for model parameters and the uniform prior for models (see Moreno et al. [26,27,28] for details). The optimal model will be the one having the highest posterior probability.
A slight adaptation of the Bayesian procedure for variable selection is required in our case:
  • For the multi-sigmoidal Gompertz model, by M j we denote the polynomial regression model of degree j, j = 0 , , q .
    Given data set ( t , z g ) , which comes from a model in M g , the posterior probability of model M j is given by
    P ( M j | t , z g ) = B j 0 ( t , z g ) π ( M j ) i = 0 q B i 0 ( t , z g ) π ( M i )
    where π ( M i ) = 1 / ( q + 1 ) and
    B i 0 ( t , z g ) = 2 π ( i + 2 ) i / 2 0 π / 2 sin i φ ( n + ( i + 2 ) sin 2 φ ) ( n i 1 ) / 2 ( n B i 0 + ( i + 2 ) sin 2 φ ) ( n 1 ) / 2 d φ
    is the Bayes factor for comparing models M i and M 0 for the intrinsic priors, which depends on B i 0 , the ratio of the square sum of the residuals of models M j and M 0 .
  • For the multi-sigmoidal Weibull model, by M j we denote the polynomial regression model of degree j without the intercept term, j = 1 , , q .
    Given data set ( t , z w ) , which comes from a model in M w , the posterior probability of model M j becomes
    P ( M j | t , z w ) = B j 1 ( t , z w ) π ( M j ) i = 1 q B i 1 ( t , z w ) π ( M i )
    where π ( M i ) = 1 / q and
    B i 1 ( t , z w ) = 2 π ( i + 1 ) ( i 1 ) / 2 0 π / 2 sin i 1 φ ( n + ( i + 1 ) sin 2 φ ) ( n i ) / 2 ( n B i 1 + ( i + 1 ) sin 2 φ ) ( n 1 ) / 2 d φ
    is the Bayes factor for comparing models M i and M 1 for the intrinsic priors, which depends on B i 1 , the ratio of the square sum of the residuals of models M j and M 1 .

5. Application to the Description of the Evolution of the COVID-19 Pandemic

In this section, the stochastic models introduced earlier will be used to describe the evolution of COVID-19 in Spain during the first two waves of the pandemic. For the purposes of this analysis, which comprises two successive periods of infection, multi-sigmoidal models become particularly necessary.

5.1. About the Data

Since the beginning of the pandemic, the National Epidemiology Center (CNE), dependent on the Carlos III Health Institute, coordinates information related to the evolution of the disease in Spain. The CNE works at the service of public health, contributing to the control of diseases and risks in collaboration with the autonomous communities, the Ministry of Health, Consumer Affairs, and Social Welfare, and the rest of the national administrations with health-related attributions. Through the National Epidemiological Surveillance Network, this center collects the data obtained from the epidemiological survey that each Spanish autonomous community completes upon the identification of a COVID-19 case.
As is well known, keeping count of the number of positive cases posed many problems during the early stages of the epidemic because there was insufficient capacity for detection, mainly due to the shortage of diagnostic tests and the administrative chaos resulting from the collapse of the healthcare system. For this reason, the studies initially carried out were mostly based on data concerning hospitalizations and deaths, and such data were used to estimate the number of infected. This made it difficult to carry out a detailed analysis of the real evolution of the disease, and also to determine the occurrence of certain key moments such as the peak of infection. As time went by, the protocols to determine infected cases were improved, so that the data reported for the second and successive waves can be considered more reliable than those reported in the first.
The data considered are based on the number of infected and deceased individuals reported every 4 days by 15 Spanish regions between 8 March and 21 December 2020, a period that covers the first two waves of the pandemic as officially reported. Data have been extracted from https://cnecovid.isciii.es/covid19/#documentacion-y-datos (last accessed on 24 July 2021). Each data series was modified by dividing by the value observed at the first time instant, so that the data processed represent, at each t, how many times the value of confirmed cases and deaths multiplies the value initially observed.
Figure 2 shows the data. Note that the average value of the data (the solid black line) exhibits a multi-sigmoidal-type growth.

5.2. Fitting the Number of Infected Individuals

This section presents the application of the models introduced to adjust the data on the number of infected individuals. In the developed application we have addressed the following issues in sequence:
  • The choice of the degree of the polynomials included in the infinitesimal mean of the multi-sigmoidal Gompertz and Weibull models.
  • The maximum likelihood estimation of the parameters of the models.
  • The determination of the best model.
  • The study of the inflection time instants.
Results are presented next for each of these issues, according to the methodology described in previous sections. Likewise, and following the comments made in Section 4.1, the time instants have been rescaled to the [ 0 , 1 ] interval.

5.2.1. The Choice of the Degree of Polynomials

This subsection follows the methodology presented in Section 4.3. For the Gompertz model, and after choosing a maximum degree q = 8 , Table 2 summarizes the posterior probabilities of the polynomial regression model of degree j, j = 0 , , 8 , given data set ( t , z g ) coming from a model in M g . The highest posterior probability is 0.8167759, corresponding to the polynomial regression model of degree 5.
In the same way, for q = 8 in the multi-sigmoidal Weibull model, Table 3 summarizes the posterior probabilities of the polynomial regression model of degree j without intercept term, j = 1 , , 8 , given data set ( t , z w ) coming from a model in M w . Again, the optimal regression polynomial model is that of degree 5, which presents a posterior probability of 0.9349964 .

5.2.2. The Maximum Likelihood Estimation of the Parameters in Each Model

We address now the maximum likelihood estimation of the multi-sigmoidal Gompertz and Weibull models. In agreement with the conclusions drawn earlier, in both cases a polynomial of degree 5 will be considered in the infinitesimal mean of each process. Although in both cases an attempt has been made to solve the non-linear system of likelihood equations, arithmetic overflows in the calculus have prevented the likelihood equations for the multi-sigmoidal Gompertz process to be established. For this reason, in this case we have chosen to directly maximize the log-likelihood function.
The estimation process has provided the following results, where β i g and β i w are the elements of vectors β g and β w , respectively:
  • By using the spectral projected gradient method, implemented in the spg R function of the BB R-package [29], the values of the parameters that maximize the logarithm of the likelihood for the multi-sigmoidal Gompertz model are: α ^ = 8.0267883 , β ^ 1 g = 15.550577 , β ^ 2 g = 71.903013 , β ^ 3 g = 147.217478 , β ^ 4 g = 135.119470 , β ^ 5 g = 49.005728 , and σ ^ 2 = 0.480871 .
  • Applying the Newton method, implemented in the nleqslv R function of the nleqslv R-package [30], in order to solve the non-linear system of likelihood equations for the multi-sigmoidal Weibull model, the following estimates of the model parameters have been obtained: η ^ = 1.0003498 , β ^ 1 w = 1.1278246 , β ^ 2 w = 6.1992975 , β ^ 3 w = 19.1664358 , β ^ 4 w = 30.4880009 , β ^ 5 w = 20.0609318 , and σ ^ 2 = 0.5562937 .

5.2.3. Determination of the Best Model

Once the models have been estimated from the observed data, the question arises of determining which of the two models is the most appropriate to describe the global behavior of the phenomenon under study. Figure 3 displays, for each model, the sample and estimated mean functions and the 95% confidence band for the mean function together with the sample paths.
In view of the plots in Figure 3, it is not easy to decide on one model or another, although we must point out that, while the multi-sigmoidal Weibull model does not replicate the data trend very well at the beginning, the multi-sigmoidal Gompertz model does. However, the confidence band plots also indicate that both models have difficulties in fitting the data at the beginning.
A global measure of how well the sample mean is fit by the mean of the estimated model is the absolute relative error given by
RAE = 1 n i = 1 n | m i E ( X ^ ( t i ) ) | m i .
This measure presents values 0.06537265 and 0.2657263, respectively, for the multi-sigmoidal Gompertz and Weibull models. In this sense, the first model appears to be more suitable.
Another relevant question is which of the two models provides a better estimate of the sample distribution at each instant of time. This can be done by determining the resistor-average distance [31] between the sample and estimated distributions at each time instant.
The resistor-average distance is a symmetrized Kullback–Leibler distance defined as the harmonic sum (half the harmonic mean) of the component Kullback–Leibler distances, that is,
D R A ( f s | | f e ) = D K L ( f s | | f e ) D K L ( f e | | f s ) D K L ( f s | | f e ) + D K L ( f e | | f s )
where D K L ( f s | | f e ) denotes the Kullback–Leibler distance between the sample distribution ( f s ) and that of the estimated model ( f e ).
For the models under consideration, the component Kullback–Leibler distances at time instant t i are given by
D K L ( f s | | f e ) = 1 2 log σ ^ 2 ( t i t 0 ) σ i ^ 2 + σ i ^ 2 σ ^ 2 ( t i t 0 ) + log g i log E ( X 0 ) ^ H θ ˜ ( t 0 , t i ) 2 σ ^ 2 ( t i t 0 ) 1
and
D K L ( f e | | f s ) = 1 2 log σ i ^ 2 σ ^ 2 ( t i t 0 ) + σ ^ 2 ( t i t 0 ) σ i ^ 2 + log g i log E ( X 0 ) ^ H θ ˜ ( t 0 , t i ) 2 σ i ^ 2 1
where σ i ^ 2 = 2 log ( m i / g i ) , being m i and g i , respectively, the sample mean and sample geometric mean at t i .
The values of resistor-average distances allow us to appreciate the time periods in which the estimated distribution moves away or approaches the sample distribution, and how close or far it is from said distribution. Furthermore, measures such as the mean or median of the resistor-average distances values allow us to globally assess the goodness of fit and select the best model.
For the estimated models, Figure 4 shows the resistor-average distance between sample and estimated distributions as a function of time. An initial period of time is observed in which the Weibull model estimates the sample distributions much worse than the Gompertz model, and only at a later time does the Weibull model estimate the sample distributions somewhat better than the Gompertz model.
Table 4 collects some measures of interest to summarize the values of resistor-average distances. All such measures point at the multi-sigmoidal Gompertz model as the best choice.

5.2.4. The Study of Inflection Time Instants

A matter of great interest when describing the behavior of a set of growth-related data is to establish when the growing pattern changes, which is revealed by the inflection time instants. In the specific case that we are considering, these instants of time mark the moments in which infection peaks are reached in each wave.
Once we have determined and estimated an appropriate model X ^ ( t ) to explain the evolution of the COVID-19 data, inflection times can be estimated using the inflection points of the estimated mean function of the selected model, m ^ ( t ) = E ( X ^ ( t ) ) .
By setting d 2 d t 2 m ^ ( t ) = 0 , we have been able to estimate three inflection time instants. Table 5 contains the estimated values of the inflections times, t ^ I , j , together with values S j = m ^ ( t ^ I , j ) for j = 1 , 2 , 3 . We can conclude that changes in the average growth pattern occur on 2 April, 30 May, and 6 November.
Figure 5a depicts the second derivative of the estimated mean function. The vertical lines are located on the estimated inflection time instants. Figure 5b locates the estimated inflection time instants (vertical lines) on the graph of the estimated mean function. The horizontal lines are placed on the values of the estimated mean function at those time instants. It should be noted that the second inflection moment obtained does not seem to correspond to a peak of infection proper. Indeed, Figure 2 shows how between instants 0.2 and 0.4 (corresponding to the dates between 4 May and 30 June, approximately) the evolution of the pandemic slowed down considerably, in such a way that a plateau is observed on the graph. In that period of time, and despite fitting the observed average quite well, the estimated average shows a very slight decrease that motivates the appearance of this new inflection, without it being linked to a new wave of infection. Regarding the other two dates, they can be related to actions promoted by the Spanish government as well as the governments of the different autonomous communities. Indeed, on 14 March a state of alarm and nationwide lockdown and quarantine were imposed to control the spread of the virus, which meant that around 14 days later the peak of the first wave was reached. Similarly, around the third week of October an increase in the number of infected was observed. The reason for this must be found in the holidays that occurred in Spain on the occasion of the celebration of the National Day (12 October) and the mobility that this motivated among the population. For this reason, government actions took place, such as restricting attendance at university teaching, the closure of activities related to nightlife, and the limitation of opening hours for bars and restaurants. Again, around 14 days later, the peak of infection in this second wave was observed.
Furthermore, and regarding each of the inflection points, we can consider the first-passage-time variable, defined as the time required for data to reach the mean growth at the inflection point for the first time. By studying the distribution of this random variable we may determine, for example, the probability that the change in the growth pattern occurs in a certain period of time as well as the average or most frequent time instant in which the growth pattern changes.
The first-passage-time variable associated with each inflection time instant can be approximated by the first-passage-time variable defined as the time required for the estimated model to reach its mean growth at the estimated inflection point for the first time, that is, the time variable
T S j = inf t t 0 t : X ^ ( t ) > S j .
The probability density function of the first-passage-time variable can be obtained as the solution of a Volterra integral equation of the second kind (see Gutiérrez et al. [32,33]). Nevertheless, and apart from some particular processes and boundaries, closed-form solutions for the integral equation are not available, as is the one we are considering in this application. For this reason, for these cases numerical procedures are needed. The most usual methods are based on numerical quadrature procedures, as the composite trapezoid method (see [34,35]).
Considering the comment made earlier about the second inflection time obtained, we will now focus on the other two, for which we will obtain the first-passage-time variables using the fptdApprox R-package [36,37,38]. Figure 6 contains the density functions of random variables T S j , j = 1 , 3 , (note that we have kept the same notation used in the point estimation of the inflection time points).
The approximation procedure of the density functions provided the following information about changes in the growth pattern of the COVID-19 data:
  • The first change occurs, with a probability of 0.999, in [0.055306, 0.185625], that is, between 23 March and 30 April.
  • The second relevant change (remember the above remark) happens in time interval [0.251004, 1], that is, between 19 May and 21 December, with a probability of 0.656171. It should be noted that in this case there is a part of the range of the first-passage-time variable that exceeds the temporal limits considered in the data (see Figure 6b), which means that the complete probability mass is not confined to this interval. This is due to the fact that some regions reached the established level of contagion after 21 December.
Table 6 summarizes some of the main numerical characteristics of variables T S j , j = 1 , 3 , concretely the mean, variance, and mode, as well as some of the most relevant percentiles of the distributions. Note that in the case of variable T S 3 , neither the mean nor the variance have been calculated since the observation interval does not contain the complete probability mass. The percentiles falling into said interval are shown. From the values taken by these characteristics we can draw some conclusions, namely:
  • The first change in the growth pattern of the COVID-19 data happened, on average, at time instant 0.091806, that is, on 3 April, and more frequently at time instant 0.086358, that is, on 1 April. Of all regions, 50% reached the peak of infection before 2 April, while by 4 April they had already exceeded the peak by around 75%.
  • Regarding the second relevant change, it occurs more frequently at time instant 0.801248, that is, on 24 October, while 50% of regions peaked before 17 November.

5.3. Fitting the Number of Deaths

Next we show the results about the fitting of the number of deaths, for which the same methodology that has been considered with the number of infected has been followed. The study of the number of deaths has shown to be of great interest to epidemiologists. Indeed, as mentioned above, the collection of data on those infected during the first waves of the epidemic, especially during the first, has presented quite a few drawbacks meaning that the data collected does not show, most likely, the reality of the number of infected. This has given rise to an extensive literature in which procedures are shown to approximate the data of infected from that of deceased.
Since the methodology and procedures used have been described in detail in the previous application, below we summarize the main results obtained. Note that in this case it has not been necessary to rescale the time space associated with the process.
Regarding the degree of the polynomial, the selection method chooses degree 7 for both the Gompertz and Weibull models as can be deduced from Table 7.
Once the degree of the polynomial has been selected, the estimation of the parameters of both models provide the following results:
  • for Gompertz model, α ^ = 2.869936 , β ^ 1 g = 6.346708 × 10 2 ,   β ^ 2 g = 1.361939 × 10 3 , β ^ 3 g = 1.641620 × 10 5 ,   β ^ 4 g = 1.227131 × 10 7 ,   β ^ 5 g = 5.733615 × 10 10 ,   β ^ 6 g = 1.527834 × 10 12 ,   β ^ 7 g = 1.774433 × 10 15 and σ ^ 2 = 7.484960 × 10 4 ,
  • for Weibull model, η ^ = 1.059529 ,   β ^ 1 w = 1.862481 × 10 2 ,   β ^ 2 w = 2.421367 × 10 4 ,   β ^ 3 w = 1.866785 × 10 6 ,   β ^ 4 w = 1.656611 × 10 8 ,   β ^ 5 w = 1.368341 × 10 10 ,   β ^ 6 w = 5.895702 × 10 13 ,   β ^ 7 w = 9.569781 × 10 16 and σ ^ 2 = 7.48496 × 10 4 ,
from which the mean functions are estimated as well as the 95% confidence bands, whose graphs can be seen in Figure 7.
Regarding the selection of the optimal model, the results provided by the resistor-average distance (see Figure 8 and Table 8) indicate that both models fit the variable of interest quite well, although the Gompertz multi-sigmoidal model offers a better fit in the initial phase, which makes the measurements calculated from the resistor-average distance bias the decision towards said model.
Regarding the determination of the death peaks, the point estimation determines that these were reached on 31 March and 22 November, respectively. Finally, the probability density functions of the first-passage time of the process through the barriers defined by the value of the mean estimated in said time instants ( S 1 = 2.476951 and S 2 = 14.392886 , respectively) have been approximated. Figure 9 shows the graph of such density functions.
Finally, by applying the proposed methodology, we can deduce the following:
  • The first-passage-time variable through S 1 is quite symmetric. In fact, it can be seen how the mean coincides with both the mode and the median. This leads to establishing 31 March as the date on which the peak of deceased was reached with a high probability. Furthermore, the variable is quite concentrated, observing that on 1 April, 75% of the regions had already reached the peak, while 97.5% did so on 2 April.
  • Regarding the second peak, which more frequent date is 20 November, while 50% of regions peaked before 27 November. Furthermore, at the end of the observed period, 64.4% of the regions have reached the peak.

6. Conclusions

In real phenomena governed by growth curves there are situations in which the maximum level of growth is reached after successive stages, in each of which there is a slowdown followed by an exponential explosion. A clear example of this is provided by the evolution of pandemics, as is the case of the current one caused by the SARS-CoV-2 virus, where the appearance of successive waves of infection has been (and continues to be) observed. This motivates the use of sigmoidal curves with more than one inflection point.
In this work, two stochastic diffusion processes are presented, their main characteristic being that their means are multi-sigmoidal growth curves derived from classical curves such as the Gompertz and the Weibull. In both cases, these curves have been generated by introducing polynomial functions in their classic expressions.
Starting from a global formulation for both processes, this paper studied the problem of estimation using the method of maximum likelihood. Parameter estimates have been obtained by solving the system of likelihood equations as well as by direct maximization of the likelihood function. This entails analyzing how to obtain initial solutions in the first case and the delimitation of the parametric space in the second. Determining the degree of the polynomial before approaching the estimation of the parameters is a fundamental question in real-world applications. To do this, a Bayesian approach to the model selection problem has been considered based on the methodology derived from intrinsic prior distributions.
The stochastic models introduced here have been applied to data concerning the evolution of the COVID-19 epidemic in Spain during the first two officially recognized waves. For this, sample trajectories have been considered corresponding to the data of infected and deceased individuals reported by 15 Spanish regions between 8 March and 21 December 2020. The method of selecting the degree of the polynomial leads to the choice of degree 5 as optimal in the case of the number of infected, while for that of the deceased the selected degree is 7. After estimating the models, we proceeded to select the optimal one for the description of the evolution of the pandemic. Although the two diffusion processes considered are good models to describe the phenomenon under study, one of them was selected as the best choice. For this, two criteria were used: the absolute relative error between the observed and the estimated mean, and the average resistor distance, which measures the discrepancy between the sample and the estimated distributions. Both criteria favor the choice of the model based on the multi-sigmoidal Gompertz curve for both the number of infected and the number of deaths.
The study of the inflection times of the estimated mean function provides an estimate of the moments when the peak of the epidemic was reached. Our conclusions were drawn considering the total number of infected and death at the national level. By including in our analysis data from several regions we can account for the variability derived from their specific characteristics. Regarding the point estimation of the inflection instants, the results indicate that, for the number of infected, the peak of the first wave was reached around 2 April, while the second peak occurred around 6 November. In the case of the number of deaths, such values are around 31 March and 22 November, respectively.
Making a comparison with the information provided by other studies, we can see how the already refined statistics from the National Epidemiology Center (CNE) of Spain indicate that the nation-wide first-wave infection peak occurred on 20 March, 6 days after the national lockdown was implemented, and the cases of COVID-19 steadily decreased after then (see [39] for details). Other studies place the peak on 26 March (Guirao, [40]), while in the work of Mora et al. [41] an interval is established that goes from 29 March to 3 April. Since the first week of July, Spain experienced an increasing trend in the cumulative incidence. The data provided by the CNE place the peak of the second wave around 27 October, two weeks after the National Day holidays (21 October), which led to a large increase in the mobility of the population. Regarding the number of deaths, the peak of the first wave is placed on 30 March, whereas the corresponding to the second wave is placed on 17 November.
Another perspective for the analysis of the tipping peaks is provided by studying the time required for data to reach, for the first time, the mean growth values at an inflection point. Our results indicate that 50% of regions reached the first peak of infection before 2 April, while by 4 April they had already exceeded the peak by around 75%. Regarding the second peak it occurred more frequently on 24 October, with 50% of regions reaching peak values before 17 November. In the case of the number of deaths, 50% of the regions reached the first peak before 31 March, while on 2 April it was 97.5% the regions that had reached it. On the other hand, 20 November is the most frequent date in which the regions reached the second peak, with 26 November being the date on which 50% of the regions had already reached it.
With the present work as a starting point, several lines of research can be suggested. Among them, the models may be modified by introducing exogenous variables that represent the therapeutic and non-therapeutic actions promoted by the authorities, and thereby explore their impact on the evolution of the pandemic. Other studies may look into how the number of death and/or hospitalized can be introduced as exogenous variables with the aim of improving the estimates of the real number of infected. Such research initiatives may be undertaken by introducing temporal variables in the infinitesimal moments of the diffusion processes being considered. Other research lines can be derived from the incorporation of this type of multisigmoidal curves to SIR-type models as well as considering diffusion processes with delays.
Finally, it is important to highlight the fact that the models presented in this work have allowed a good adjustment of both the number of infected and the number of deaths. This is of special interest given the vast literature that has been generated around the estimation of the number of infected from the number of deaths given the low quality of the data on infected during, especially, the first wave.

Author Contributions

Conceptualization, A.B., P.R.-R., J.J.S.-P. and F.T.-R.; methodology, A.B., P.R.-R., J.J.S.-P. and F.T.-R.; software, J.J.S.-P.; validation, A.B., P.R.-R., J.J.S.-P. and F.T.-R.; formal analysis, A.B., P.R.-R., J.J.S.-P. and F.T.-R.; investigation, A.B., P.R.-R., J.J.S.-P. and F.T.-R.; writing—original draft preparation, A.B., J.J.S.-P. and F.T.-R.; writing—review and editing, A.B., J.J.S.-P. and F.T.-R.; supervision, P.R.-R.; funding acquisition, F.T.-R. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by the Ministerio de Economía, Industria y Competitividad, Spain, under Grant MTM2017-85568-P and by the FEDER, Consejería de Economía y Conocimiento de la Junta de Andalucía, Spain under Grant A-FQM-456-UGR18.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Publicly available datasets were analyzed in this study. This data can be found here: https://cnecovid.isciii.es/covid19/#documentacion-y-datos (last accessed on 20 September 2021).

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. Standardization of [t0, T]

For a fixed u 0 , T t 0 , let us consider the diffusion process Y ( t ) ; t 0 , T t 0 u , such that Y ( t ) = X ( t ) a.s., where t 0 , T t 0 u and X ( t ) is the multi-sigmoidal diffusion process defined with t [ t 0 , T ] . Note that t = t t 0 u and then, t = t u + t 0 .
Let A m Y x , t be the infinitesimal moment of order m > 0 of Y ( t ) evaluated in a state x. Such moment can be expressed in terms of the moment of the process X ( t ) :
A m Y x , t = lim h 0 1 h E Y t + h Y ( t ) m | Y ( t ) = x = lim h 0 1 h E Y t t 0 u + h Y t t 0 u m | Y t t 0 u = x = lim h 0 1 h E X ( t + h u ) X ( t ) m | X ( t ) = x = u lim k 0 1 k E X ( t + k ) X ( t ) m | X ( t ) = x = u A m X ( x , t ) ,
where k = h u . Now, by considering the relation between t and t , it follows
A m Y x , t = u A m X x , t u + t 0 .
Finally, if u = T t 0 , then t [ 0 , 1 ] and
A m Y x , t = T t 0 A m X x , t T t 0 + t 0 .
Note that the computed moments may depend on initial values such as t 0 . In order to avoid this, parametric and functional modifications could be performed in some cases. In particular, the multi-sigmoidal processes with lognormal distributions are suitable to achieve this.
Indeed, after the parametric transformation with u = T t 0 , it can be defined a differentiable function g θ ( t ) = f θ ( t ( T t 0 ) + t 0 ) for t [ 0 , 1 ] and a new parametric vector θ . Then, by the Malthusian expression (3), it follows
d d t g θ ( t ) = d d t f θ ( t ( T t 0 ) + t 0 ) ( T t 0 ) = f θ ( t ( T t 0 ) + t 0 ) h θ ( t ( T t 0 ) + t 0 ) ( T t 0 ) = g θ ( t ) h θ ( t ( T t 0 ) + t 0 ) ( T t 0 ) = g θ ( t ) h θ ( t ) ( T t 0 ) = g θ ( t ) h θ ( t ) ,
where h θ is a suitable modification (involving the parameter and the function itself) such that
h θ ( t ) = h θ ( t ( T t 0 ) + t 0 ) ,
and h θ is the new transformation in order to avoid the term T t 0 , that is,
h θ ( t ) = h θ ( t ( T t 0 ) + t 0 ) ( T t 0 ) .
The reason for the distinction made by the introduction of h and h is that according to the previous relation between infinitesimal moments, the process Y is then characterized by
A 1 Y ( x , t ) = h θ ( t ) ( T t 0 ) x , A 2 Y ( x ) = ( T t 0 ) σ 2 x 2 .
In order to avoid the term T t 0 , the second infinitesimal moment can be easily transformed by considering a new parameter σ 2 = ( T t 0 ) σ 2 . Analogously, the first infinitesimal moment might be transformed to h θ ( t ) x . Nevertheless, such transformation is not always guaranteed and depends mainly in the functional form of h (or hence h).
As it has been said before, in the multi-sigmoidal case, such kind of transformation exists and can be obtained without modify the nature of the process (indeed, the base curve).
In both the multi-sigmoidal Gompertz and Weibull cases, it is necessary to consider the polynomial evaluated in the transformed parametric space. It follows that such function is indeed a polynomial with independent term. Indeed, by taking t [ t 0 , T ] and t [ 0 , 1 ] related as t = t ( T t 0 ) + t 0 and a polynomial Q β ( t ) = k p β k t k of degree p, it follows
Q β ( t ) = Q β ( t ( T t 0 ) + t 0 ) = k = 1 p β k t ( T t 0 ) + t 0 k = k = 1 p β k j = 0 k k j t j ( T t 0 ) j t 0 k j = γ 0 + m = 1 p γ m t m ,
where
γ 0 = j = 1 p β j t 0 j = Q β ( t 0 ) , γ m = ( T t 0 ) m j = m p β j j m t 0 j m , m = 1 , , p .
Let us denote Q γ ( t ) : = m = 1 p γ m t m . Summarizing, the following relation holds:
Q β ( t ) = γ 0 + Q γ ( t ) .
Finally, the relation between the derivative polynomials follows easily from the chain rule:
P γ ( t ) = d d t Q γ ( t ) = d d t Q β ( t ( T t 0 ) + t 0 ) = P β ( t ( T t 0 ) + t 0 ) ( T t 0 ) = P β ( t ) ( T t 0 ) ,
where P β is the derivative of Q β .
By applying these results to the Gompertz curve, it follows
f θ g ( t ) = f θ g ( t ( T t 0 ) + t 0 ) = f 0 exp α e Q γ ( t ) 1 = v θ g ( t ) ,
where α = α e γ 0 and θ g = α , γ T T . Then, from function h θ g ( t ) ,
h θ g ( t ) = α P γ ( t ) T t 0 e Q γ ( t ) ,
thus
d d t v θ g ( t ) = v θ g ( t ) h θ g ( t ) .
Analogously for the Weibull model, we have
f θ w ( t ) = f θ w ( t ( T t 0 ) + t 0 ) = f 0 η e Q γ ( t ) η 1 = v θ w ( t ) ,
where η = η e γ 0 and θ w = η , γ T T . Then, from function h θ w ( t ) ,
h θ w ( t ) = P γ ( t ) T t 0 e Q γ ( t ) η e Q γ ( t ) ,
thus
d d t v θ w ( t ) = v θ w ( t ) h θ w ( t ) .

References

  1. Dong, E.; Du, H.; Gardner, L. An interactive web-based dashboard to track COVID-19 in real time. Lancet Infect. Dis. 2020, 20, 533–534. [Google Scholar] [CrossRef]
  2. Verschuur, J.; Koks, E.E.; Hall, J.W. Global economic impacts of COVID-19 lockdown measures stand out in high-frequency shipping data. PLoS ONE 2021, 16, e0248818. [Google Scholar] [CrossRef] [PubMed]
  3. Brauer, F.; Castillo-Chávez, C.; Feng, Z. Mathematical Models in Epidemiology; Springer: New York, NY, USA, 2019. [Google Scholar]
  4. Gounane, S.; Barkouch, Y.; Atlas, A.; Bendahmane, M.; Karami, F.; Meskine, D. An adaptive social distancing SIR model for COVID-19 disease spreading and forecasting. Epidemiol. Meth. 2021, 10, 20200044. [Google Scholar] [CrossRef]
  5. Khan, Z.; Van Bussel, F.; Hussain, F. A predictive model for Covid-19 spread—With application to eight US states and how to end the pandemic. Epidemiol. Infect. 2020, 148, E249. [Google Scholar] [CrossRef] [PubMed]
  6. Ianni, A.; Rossi, N. Describing the COVID-19 outbreak during the lockdown: Fitting modified SIR models to data. Eur. Phys. J. Plus 2020, 135, 885. [Google Scholar] [CrossRef] [PubMed]
  7. Alkahtani, B.S.T.; Koca, I. Fractional stochastic sır model. Results Phys. 2021, 24, 104124. [Google Scholar] [CrossRef]
  8. Maleki, M.; Mahmoudi, M.R.; Heydari, M.H.; Pho, K.H. Modeling and forecasting the spread and death rate of coronavirus (COVID-19) in the world using time series models. Chaos Soliton Fractals 2020, 140, 110151. [Google Scholar] [CrossRef] [PubMed]
  9. Ünlü1, R.; Namlh, E. Machine Learning and Classical Forecasting Methods Based Decision Support Systems for COVID-19. Comput. Mater. Contin. 2020, 64, 1383–1399. [Google Scholar] [CrossRef]
  10. Lawson, A.B.; Kim, J. Space-time covid-19 Bayesian SIR modeling in South Carolina. PLoS ONE 2021, 16, e0242777. [Google Scholar] [CrossRef]
  11. Acal, C.; Escabias, M.; Aguilera, A.M.; Valderrama, M.J. COVID-19 Data Imputation by Multiple Function-on-Function Principal Component Regression. Mathematics 2021, 9, 1237. [Google Scholar] [CrossRef]
  12. Hsieh, Y.H.; Fisman, D.N.; Wu, J. On epidemic modeling in real time: An application to the 2009 Novel A (H1N1) influenza outbreak in Canada. BMC Res. Notes 2010, 3, 283. [Google Scholar] [CrossRef] [Green Version]
  13. Wang, S.-H.; Wu, J.; Yang, Y. Richards model revisited: Validation by and application to infection dynamics. J. Theor. Biol. 2012, 313, 12–19. [Google Scholar] [CrossRef]
  14. Català, M.; Alonso, S.; Alvarez-Lacalle, E.; López, D.; Cardona, P.-J.; Prats, C. Empirical model for short-time prediction of COVID-19 spreading. PLoS Comput. Biol. 2020, 16, e1008431. [Google Scholar] [CrossRef]
  15. Li, Q.; Bedi, T.; Lehmann, C.U.; Xiao, G.; Xie, Y. Evaluating short-term forecasting of COVID-19 cases among different epidemiological models under a Bayesian framework. GigaScience 2021, 10, 1–11. [Google Scholar] [CrossRef]
  16. Tovissodé, C.F.; Lokonon, B.E.; Glèlè Kakaï, R. On the use of growth models to understand epidemic outbreaks with application to COVID-19 data. PLoS ONE 2020, 15, e0240578. [Google Scholar] [CrossRef] [PubMed]
  17. Turner, M.E.; Bradley, E.L.; Kirk, K.A.; Pruitt, K.M. A theory of growth. Math. Biosci. 1976, 29, 367–373. [Google Scholar] [CrossRef]
  18. Román-Román, P.; Serrano-Pérez, J.J.; Torres-Ruiz, F. A Note on Estimation of Multi-Sigmoidal Gompertz Functions with Random Noise. Mathematics 2019, 7, 541. [Google Scholar] [CrossRef] [Green Version]
  19. Di Crescenzo, A.; Paraggio, P.; Román-Román, P.; Torres-Ruiz, F. Applications of the multi-sigmoidal deterministic and stochastic logistic models for plant dynamics. Appl. Math. Model. 2021, 92, 884–904. [Google Scholar] [CrossRef]
  20. Barrera, A.; Román-Román, P.; Torres-Ruiz, F. Hyperbolastic type-III diffusion process: Obtaining from the generalized Weibull diffusion process. Math. Biosci. Eng. 2020, 17, 814–833. [Google Scholar] [CrossRef]
  21. Román-Román, P.; Torres-Ruiz, F. The nonhomogeneous lognormal diffusion process as a general process to model particular types of growth patterns. In Lecture Notes of Seminario Interdisciplinare di Matematica; Università degli Studi della Basilicata: Potenza, Italy, 2015; Volume XII, pp. 201–219. [Google Scholar]
  22. Román-Román, P.; Torres-Ruiz, F. A stochastic model related to the Richards-type growth curve. Estimation by means of Simulated Annealing and Variable Neighborhood Search. Appl. Math. Comput. 2015, 266, 579–598. [Google Scholar] [CrossRef]
  23. Da Luz Sant’Ana, I.; Román-Román, P.; Torres-Ruiz, F. Modeling oil production and its peak by means of a stochastic diffusion process based on the Hubbert curve. Energy 2017, 133, 455–470. [Google Scholar] [CrossRef]
  24. Gutiérrez, R.; Rico, N.; Román, P.; Torres, F. Approximate and generalized confidence bands for some parametric functions of the lognormal diffusion process with exogenous factors. Sci. Math. Jpn. 2006, 64, 313–329. [Google Scholar]
  25. Román-Román, P.; Román-Román, S.; Serrano-Pérez, J.J.; Torres-Ruiz, F. Some Notes about inference for the lognormal diffusion process with exogenous factors. Mathematics 2018, 6, 85. [Google Scholar] [CrossRef] [Green Version]
  26. Moreno, E.; Girón, F.J.; Martínez, M.L.; Torres, F. Objective Testing Procedures in Linear Models: Calibration of the p-values. Scand. J. Statist. 2006, 33, 765–784. [Google Scholar] [CrossRef]
  27. Moreno, E.; Girón, F.J.; Casella, G. Posterior Model Consistency in Variable Selection as the Model Dimension Grows. Stat. Sci. 2015, 30, 228–241. [Google Scholar] [CrossRef]
  28. Moreno, E.; Vázquez-Polo, F.; Negrín, M. Bayesian Cost-Effectiveness Analysis of Medical Treatments, 1st ed.; Chapman and Hall/CRC: Boca Raton, FL, USA, 2019; ISBN 9781138731738. [Google Scholar] [CrossRef]
  29. Varadhan, R.; Gilbert, P. BB: An R Package for Solving a Large System of Nonlinear Equations and for Optimizing a High-Dimensional Nonlinear Objective Function. J. Stat. Softw. 2009, 32. [Google Scholar] [CrossRef] [Green Version]
  30. Hasselman, B. nleqslv: Solve Systems of Nonlinear Equations. R Package Version 3.3.2. 2018. Available online: https://CRAN.R-project.org/package=nleqslv (accessed on 24 July 2021).
  31. Johnson, D.H.; Sinanovic, S. Symmetrizing the Kullback-Leibler Distance. 2001. Available online: https://scholarship.rice.edu/handle/1911/19969 (accessed on 24 July 2021).
  32. Gutiérrez, R.; Román, P.; Torres, F. A note on the Volterra integral equation for the first-passage-time probability density. J. Appl. Probab. 1995, 32, 635–648. [Google Scholar] [CrossRef]
  33. Gutiérrez, R.; Ricciardi, L.; Román, P.; Torres, F. First-passage-time densities for time-non-homogeneous diffusion processes. J. Appl. Probab. 1997, 34, 623–631. [Google Scholar] [CrossRef] [Green Version]
  34. Buonocore, A.; Nobile, A.; Ricciardi, L. A new integral equation for the evaluation of first-passage-time probability densities. Adv. Appl. Probab. 1987, 19, 784–800. [Google Scholar] [CrossRef]
  35. Román, P.; Serrano, J.J.; Torres, F. First-passage-time location function: Application to determine first-passage-time densities in diffusion processes. Comput. Stat. Data Anal. 2008, 52, 4132–4146. [Google Scholar] [CrossRef]
  36. Román-Román, P.; Serrano-Pérez, J.J.; Torres-Ruiz, F. An R package for an efficient approximation of first-passage-time densities for diffusion processes based on the FPTL function. Appl. Math. Comput. 2012, 218, 8408–8428. [Google Scholar] [CrossRef]
  37. Román-Román, P.; Serrano-Pérez, J.J.; Torres-Ruiz, F. More general problems on first-passage-times for diffusion processes: A new version of the R Package fptdApprox. Appl. Math. Comput. 2014, 244, 432–446. [Google Scholar] [CrossRef]
  38. Román-Román, P.; Serrano-Pérez, J.J.; Torres-Ruiz, F. fptdApprox: Approximation of First-Passage-Time Densities for Diffusion Processes. R Package Version 2.2. 2020. Available online: https://cran.r-project.org/package=fptdApprox (accessed on 24 July 2021).
  39. Working Group for the Surveillance and Control of COVID-19 in Spain. The first wave of the COVID-19 pandemic in Spain: Characterisation of cases and risk factors for severe outcomes, as at 27 April 2020. Eurosurveillance 2020, 25, 2001431. [Google Scholar] [CrossRef]
  40. Guirao, A. The Covid-19 outbreak in Spain. A simple dynamics model, some lessons, and a theoretical framework for control response. Infect. Dis. Model. 2020, 5, 652–669. [Google Scholar] [CrossRef] [PubMed]
  41. Mora, J.C.; Pérez, S.; Dvorzhak, A. Application of a Semi-Empirical Dynamic Model to Forecast the Propagation of the COVID-19 Epidemics in Spain. Forecasting 2020, 2, 452–469. [Google Scholar] [CrossRef]
Figure 1. Examples of multi-sigmoidal curves and their inflections. Next to every curve, its first and second derivatives are shown. The first two columns correspond to the multi-sigmoidal Gompertz model, and the others to the multi-sigmoidal Weibull. The rows show, from top to bottom, the cases with no inflection, one and two inflections, respectively, (marked with a red vertical dashed line in the plot of the derivatives).
Figure 1. Examples of multi-sigmoidal curves and their inflections. Next to every curve, its first and second derivatives are shown. The first two columns correspond to the multi-sigmoidal Gompertz model, and the others to the multi-sigmoidal Weibull. The rows show, from top to bottom, the cases with no inflection, one and two inflections, respectively, (marked with a red vertical dashed line in the plot of the derivatives).
Mathematics 09 02409 g001aMathematics 09 02409 g001b
Figure 2. Number of infected individuals (left) and deaths (right) corresponding to the first two waves of the pandemic in Spain. The solid black lines represent the sample means.
Figure 2. Number of infected individuals (left) and deaths (right) corresponding to the first two waves of the pandemic in Spain. The solid black lines represent the sample means.
Mathematics 09 02409 g002
Figure 3. Study of infected: Sample and estimated mean functions (left) and 95% confidence band for the mean function together with the sample paths (right) for (a) the multi-sigmoidal Gompertz model and (b) the multi-sigmoidal Weibull model.
Figure 3. Study of infected: Sample and estimated mean functions (left) and 95% confidence band for the mean function together with the sample paths (right) for (a) the multi-sigmoidal Gompertz model and (b) the multi-sigmoidal Weibull model.
Mathematics 09 02409 g003
Figure 4. Study of infected: Resistor-average distance between sample and estimated distributions as a function of time for the two estimated models.
Figure 4. Study of infected: Resistor-average distance between sample and estimated distributions as a function of time for the two estimated models.
Mathematics 09 02409 g004
Figure 5. Study of infected: Estimated inflection time instants from (a) the second derivative of the estimated mean function and (b) the estimated mean function for the multi-sigmoidal Gompertz model. The vertical lines are located on the estimated values.
Figure 5. Study of infected: Estimated inflection time instants from (a) the second derivative of the estimated mean function and (b) the estimated mean function for the multi-sigmoidal Gompertz model. The vertical lines are located on the estimated values.
Mathematics 09 02409 g005
Figure 6. Study of infected: Probability density functions of T S 1 (a) and T S 3 (b) corresponding to the first-passage times of the estimated multi-sigmoidal diffusion process through the constant boundaries S 1 and S 3 shown in Table 5.
Figure 6. Study of infected: Probability density functions of T S 1 (a) and T S 3 (b) corresponding to the first-passage times of the estimated multi-sigmoidal diffusion process through the constant boundaries S 1 and S 3 shown in Table 5.
Mathematics 09 02409 g006
Figure 7. Study of deceased: Sample and estimated mean functions (left) and 95% confidence band for the mean function together with the sample paths (right) for (a) the multi-sigmoidal Gompertz model and (b) the multi-sigmoidal Weibull model.
Figure 7. Study of deceased: Sample and estimated mean functions (left) and 95% confidence band for the mean function together with the sample paths (right) for (a) the multi-sigmoidal Gompertz model and (b) the multi-sigmoidal Weibull model.
Mathematics 09 02409 g007
Figure 8. Study of deceased: Resistor-average distance between sample and estimated distributions as a function of time for the two estimated models.
Figure 8. Study of deceased: Resistor-average distance between sample and estimated distributions as a function of time for the two estimated models.
Mathematics 09 02409 g008
Figure 9. Study of deceased: Probability density functions corresponding to the first-passage times of the estimated multi-sigmoidal Gompertz diffusion process through the constant boundaries S 1 (a) and S 2 (b).
Figure 9. Study of deceased: Probability density functions corresponding to the first-passage times of the estimated multi-sigmoidal Gompertz diffusion process through the constant boundaries S 1 (a) and S 2 (b).
Mathematics 09 02409 g009
Table 1. Polynomial coefficients for examples in Figure 1.
Table 1. Polynomial coefficients for examples in Figure 1.
Number of Inflections β g β w
0 ( 0.4 , 0.005 , 0.0002 ) ( 0.3 , 0.003 , 0.0001 )
1 ( 0.01 , 0.003 , 0.001 ) ( 0.001 , 0.0005 , 0.001 )
2 ( 0.025 , 0.005 , 0.0015 ) ( 0.03 , 0.003 , 0.0005 )
Table 2. Study of infected: Posterior probabilities of the polynomial regression model of degree less than or equal to 8 for the multi-sigmoidal Gompertz model.
Table 2. Study of infected: Posterior probabilities of the polynomial regression model of degree less than or equal to 8 for the multi-sigmoidal Gompertz model.
DegreePosterior Probability
0 8.150422 × 10 80
1 1.392585 × 10 60
2 1.652217 × 10 46
3 1.092432 × 10 7
4 7.498777 × 10 9
5 8.167759 × 10 1
6 9.750507 × 10 2
7 7.297665 × 10 2
8 1.274224 × 10 2
Table 3. Study of infected: Posterior probabilities of the polynomial regression model of degree less than or equal to 8 for the multi-sigmoidal Weibull model.
Table 3. Study of infected: Posterior probabilities of the polynomial regression model of degree less than or equal to 8 for the multi-sigmoidal Weibull model.
DegreePosterior Probability
1 2.690540 × 10 67
2 3.882898 × 10 50
3 1.321680 × 10 21
4 1.125084 × 10 2
5 9.349964 × 10 1
6 3.856249 × 10 2
7 1.366770 × 10 3
8 1.382346 × 10 2
Table 4. Study of infected: Measures of interest from the values of resistor-average distances for each model.
Table 4. Study of infected: Measures of interest from the values of resistor-average distances for each model.
MinimumMeanMedianMaximumVariance
Gompertz model0.00000310.14065740.02886761.16916290.0554912
Weibull model0.00009140.42400500.034987813.78780143.2147742
Table 5. Study of infected: Estimated inflection time instants.
Table 5. Study of infected: Estimated inflection time instants.
t ^ I , j S j
0.08893562120.8690
0.28901782271.8643
0.845464911925.691
Table 6. Study of infected: Numerical characteristics of the inflection time random variables for the COVID-19 data.
Table 6. Study of infected: Numerical characteristics of the inflection time random variables for the COVID-19 data.
T S 1 T S 3
Mean0.091806
Variance0.000305
Modes0.0863580.801248
0.1%0.0659570.551516
2.5%0.0726430.645670
25%0.0824970.778273
Median0.0891670.883515
75%0.097491
97.5%0.122761
99.9%0.214438
Table 7. Study of deceased: Posterior probabilities of the polynomial regression model of degree less than or equal to 8.
Table 7. Study of deceased: Posterior probabilities of the polynomial regression model of degree less than or equal to 8.
Posterior Probability
DegreeGompertz ModelWeibull Model
0 7.389174 × 10 106
1 1.476089 × 10 92 2.685957 × 10 98
2 1.831829 × 10 87 1.682021 × 10 94
3 2.687253 × 10 59 2.830093 × 10 70
4 1.356825 × 10 56 3.805252 × 10 60
5 4.724887 × 10 16 3.222198 × 10 36
6 1.365893 × 10 10 2.136724 × 10 6
7 9.999999 × 10 1 8.852732 × 10 1
8 1.592107 × 10 34 1.147246 × 10 1
Table 8. Study of deceased: Measures of interest from the values of resistor-average distances for each model.
Table 8. Study of deceased: Measures of interest from the values of resistor-average distances for each model.
MinimumMeanMedianMaximumVariance
Gompertz model0.0004240.0414000.0115930.2746690.004803
Weibull model0.0001210.0607990.0118981.2234150.027666
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Barrera, A.; Román-Román, P.; Serrano-Pérez, J.J.; Torres-Ruiz, F. Two Multi-Sigmoidal Diffusion Models for the Study of the Evolution of the COVID-19 Pandemic. Mathematics 2021, 9, 2409. https://doi.org/10.3390/math9192409

AMA Style

Barrera A, Román-Román P, Serrano-Pérez JJ, Torres-Ruiz F. Two Multi-Sigmoidal Diffusion Models for the Study of the Evolution of the COVID-19 Pandemic. Mathematics. 2021; 9(19):2409. https://doi.org/10.3390/math9192409

Chicago/Turabian Style

Barrera, Antonio, Patricia Román-Román, Juan José Serrano-Pérez, and Francisco Torres-Ruiz. 2021. "Two Multi-Sigmoidal Diffusion Models for the Study of the Evolution of the COVID-19 Pandemic" Mathematics 9, no. 19: 2409. https://doi.org/10.3390/math9192409

APA Style

Barrera, A., Román-Román, P., Serrano-Pérez, J. J., & Torres-Ruiz, F. (2021). Two Multi-Sigmoidal Diffusion Models for the Study of the Evolution of the COVID-19 Pandemic. Mathematics, 9(19), 2409. https://doi.org/10.3390/math9192409

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop