Skip to main content

Socio-economic analysis of short-term trends of COVID-19: modeling and data analytics



COVID-19 caused a worldwide outbreak leading the majority of human activities to a rough breakdown. Many stakeholders proposed multiple interventions to slow down the disease and number of papers were devoted to the understanding the pandemic, but to a less extend some were oriented socio-economic analysis. In this paper, a socio-economic analysis is proposed to investigate the early-age effect of socio-economic factors on COVID-19 spread.


Fifty-two countries were selected for this study. A cascade algorithm was developed to extract the R0 number and the day J*; these latter should decrease as the pandemic flattens. Subsequently, R0 and J* were modeled according to socio-economic factors using multilinear stepwise-regression.


The findings demonstrated that low values of days before lockdown should flatten the pandemic by reducing J*. Hopefully, DBLD is only parameter to be tuned in the short-term; the other socio-economic parameters cannot easily be handled as they are annually updated. Furthermore, it was highlighted that the elderly is also a major influencing factor especially because it is involved in the interactions terms in R0 model. Simulations proved that the health care system could improve the pandemic damping for low elderly. In contrast, above a given elderly, the reproduction number R0 cannot be reduced even for developed countries (showing high HCI values), meaning that the disease’s severity cannot be smoothed regardless the performance of the corresponding health care system; non-pharmaceutical interventions are then expected to be more efficient than corrective measures.


The relationship between the socio-economic factors and the pandemic parameters R0 and J* exhibits complex relations compared to the models that are proposed in the literature. The quadratic regression model proposed here has discriminated the most influencing parameters within the following approximated order, DLBL, HCI, Elderly, Tav, CO2, and WC as first order, interaction, and second order terms.


This modeling allowed the emergence of interaction terms that don’t appear in similar studies; this led to emphasize more complex relationship between the infection spread and the socio-economic factors. Future works will focus on enriching the datasets and the optimization of the controlled parameters to short-term slowdown of similar pandemics.

Peer Review reports


Modeling pandemic propagation is one of the most complicated subjects that are studied as dynamic systems or stochastic problems. Several approaches have been developed in order to enhance the understanding of the pandemic kinetics through a population. Phenomenological models like the basic SIR model (Susceptible, Infected, Recovered) and the related upgraded versions try to simulate the way a pandemic evolves [1]. The SIR models are described by a system of Ordinary Differential Equations (ODEs) for which the initial conditions depend on the space and time considerations, according to the characteristics of each country [2,3,4].

Researchers developed number of approaches in order to estimate the different characteristics of the outbreaks evolution; Vizi et al. adopted pair-wise models with Markovian infection and arbitrary recovery processes that vary, so that the effect of recovery process choice is estimated [5]; while other introduced additional SIR compartments to quantify different aspects on the propagation mechanisms and disease transmission. For instance, Maier and Brockmann proposed a new symptomatic-quarantined infected population compartment, [6], while Nadim et al. incorporated additional compartments such as quarantined, asymptomatic, and isolated compartments to simulate and catch the short-term behavior of COVID-19 and to discuss the preventive strategies against it [7]. Other studies built up physical-inspired approaches like the recrystallization Ostwald Growth theory to study different containment scenarios; the containment strategies were proved to slow down the kinetics of the pandemic as well as the wall boundaries should do for kinetics of crystal’s growth [8]. Samely, Bouchnita and Jebrane used the physics of particles dynamics to study the dynamics of pair-wise contact models between individuals that belong to a closed population. The characteristics of the closed region and the population that were studied are included as main features of the simulation so that it was possible to quantify the effect of the demographic characteristics on the outbreak propagation in closed regions [9]. Other researchers were more interested by the mathematical structure of the SIR models; the existence of the solution of the problem and the different scenarios are built up by varying the input of the simulations. That is why, based on the SIR model, Katriel studied the seasonality of the pandemic and proved the existence of the return period of a given pandemic while R0 is higher than 1 [10].

Furthermore, other researchers tried to figure-out the eventual relationships that might exist between socio-economic characteristics of countries and the disease kinetics. Most of these researches handle systemic models in terms of time series modeling [11, 12], statistical analysis [13, 14], stochastic and dynamic analysis using epidemiological modeling [1,2,3,4]. For instance, Nader et al. [15] used non-parametric machine learning model to estimate the Non-Pharmaceutical Interventions (NPI) effects on COVID-19 propagation; based on the simulations, the authors summarized numerous conclusions related to short-term pandemic propagation in schools or according to business activities in 176 countries (that was expressed by means of GDP per capita). Symmetrically, Lee et al. [16] studied different scenarios of schools re-opening in Shanghai in terms of pandemic propagation regarding the age-structure and different contact patterns. Within the same scope, Arachchi and Managi [17] associated the death rate of COVID-19 to the social behavior for different countries; this statistical analysis included the social capital based on multidimensional analysis as community attachment, social trust, family bonds, and security. The study figured-out interesting observations of death increase according to population density and ageing, while it is the inverse as the number of hospital beds increases and lockdown policy is applied [17]. Similar results were produced by Kaufman et al. [18] proving that social distancing mandates the spread of the pandemic to decrease in USA, supporting the fact that NPI are as mostly importance even in case of vaccination.

In sum, it is remarkable that the approaches adopted in literature regarding COVID-19 spread description and modeling can be grouped into three main categories: stochastic processes, epidemiological models, physics inspired, and socio-economic approaches.

Recent works were more dedicated to socio-economic factors that should impact the disease propagation, but to a less extent they were focused on first order features, even for models involving logarithmic or exponential terms. In fact, the authors of this paper could not find publications that proposed higher order or interaction terms in their modeling to figure-out higher complexity analysis. Hence, a synthetic reading of these articles within the benchmark section of this paper will enlighten this point. After all, it is worth recalling some major challenging obstacles especially regarding data availability and completeness; several developing countries do not exhibit standardized statistics or there is, in general, lack of them, while for the developed countries, data is well-classified and available on several official web sites and publications; that led the authors of this paper to reduce of the selected countries from around 200 to 52 countries. In addition, another main obstacle is that rare are the articles that details the technics that are adapted and adopted for SIR parameters identification, and by extension R0, and J* estimation. Consequently, we have proposed the cascade algorithm as it is introduced above and detailed in the next sections.

In this paper, it is proposed to carry-out a macroscale socio-economic investigation by evaluating the reproduction rate R0 and the period (or day) J* according to a set of standardized socio-economic indicators. The day J* expresses the first important decrease day (shift day) of the infection accounted from the declaration of the first day of infection by the authorities. J* is proposed in this paper as a damping performance time indicator related to the short term government’s policies that were adopted against the outbreak. Hence, this parametric socio-economic approach was designed to emphasize the most significant socio-economic factors that should influence somehow the pandemic evolution. To illustrate the methodology, 52 countries were selected regarding data availability and completeness.

For each country, the ratio R0 was computed according to Eq. (3) [1] as presented in the SIR model section; J* was computed according to an inferential-based algorithm that is developed in the next sections. The initial conditions of the system (1.11.6) (or 2.1 - 2.6) were estimated by means of least square formulation and computed using a gradient free algorithm developed in this paper. Subsequently, R0 and J* were modeled according to the socio-economic indicators by means of multilinear stepwise regression (SW-MLR). A multicollinearity assessment was conducted so that a minimization of the Variance Inflation factors (VIF) of the predictor’s factors and models terms was achieved. The four designed algorithms were implemented as a whole-integrated cascade algorithm to reach the objectives of this research.

The present paper will be organized as follows: the next section is dedicated to the adopted methodology; the mathematical formulation of the problem to be solved is detailed in the third section; the fourth section presents the results of the proposed approach and the corresponding socio-economic discussion; after that, a benchmark study is carried out to compare the results of the present study with other references in terms of similarities and contrast; this allowed positioning our work regarding the existing literature; and the last section exhibits conclusive remarks and the perspectives of this work.


The methodology adopted consists in:

  • Data collect, cleaning, analysis, and primary data scatter visualization;

  • Dimensionless data normalization;

  • Resolution of the inverse problem by identifying the SIR optimal parameters (β, μ) and J for each country by means of the cascade algorithm;

  • Identification of the initial values of SIR system using a minimization Randomized Gradient Free Algorithm (RGFA);

  • Stepwise regression of the SIR parameters processed simultaneously with the multicollinearity analysis of the socio-economic input parameters;

  • Factorial analysis and the corresponding benchmark study;

The socio-economic data constitute the input matrix of the stepwise regression procedures; they were selected from different databases as presented Datasets collect (steps 1 and 5) section. The dimensionality reduction of the SW-MLR models was ensured by means of the multicollinearity assessment that aimed to minimize the Variance Inflation Factors (VIF) of data, of the model’s predictors and terms. Concerning the SW-MLR, reasonable level of determination coefficients R2 (> 70%) was considered the regressive models. In addition, according to the large scale differences of the variables, dimensionless min-max normalization was applied on both input and output raw data.

Workflow of the study

Figure 1 presents the architecture of the global analysis and the flow chart that was drawn for this work.

Fig. 1
figure 1

Architecture of the global analysis

The list below highlights the essential guidelines for understanding the global analysis of Fig. 1.

  • Step 1 and 5: Data were loaded and collected from various databases as it is exhibited in Table 2;

  • Step 2: The inverse problem formulation is developed in First phase: cascade algorithm results section in terms of the optimization problem (OP) to be solved;

  • Step 3: According to the inverse problem developed in step 2, for each country, the cascade algorithm computes the SIR model parameters that are to be stored according to the step 4. The subroutines of the cascade algorithm are detailed in Second phase: Modeling the parameters according to socio-economic indices section and in the Additional file 1;

  • Steps 6 to 8: coupled to multicollinearity analysis, SW-MLR algorithms were implemented as detailed in Summary of the findings section. The loop, constituted by the steps 6 to 8, expresses the multiobjective targets as the multicollinearity analysis aims to reduce the dimensionality by minimizing the VIF of the predictors; the maximization of the R2 ensures reliable models;

  • Step 9: The convergence of the loop composed by steps 6–7-8 means that the VIF factor of each terms finally reaches the minimal value; the R2 of the regressive models also reaches the higher value. Hence, the models are returned and the significant predictors are maintained;

Finally, Results and discussion section displays the results of this work and discusses the main findings.

Datasets collect (steps 1 and 5)

For this study, 52 countries were selected based on data availability and completeness; these latter are listed in the Table 1. The socio-economic features that are a-priori selected in this study are listed in the Table 2. They were selected so that the authors tried to group the most conventional socio-economic indicators that are in use in socio-economic analysis. COVID-19 statistics were collected from the references [19] (used also in [20]) and [21].

Table 1 List of countries selected for the analysis
Table 2 List of indices used in the study

Mathematical approach and algorithms design

An inverse problem is a mathematical problem that deals with the determination of the parameters of Ordinary Differential Equations (ODEs) systems or Partial Differential Equations (PDEs) systems that should describe a set of functional data that are extracted from experiments or observations [30, 31]. Inverse problems are widely practiced in many industrial sectors (process, chemistry, biology, biotechnology, etc.) [31,32,33]. In 1982, James Ramsay developed a new concept in functional data analysis that is based on the minimization of a linear differential operator (LDO); Ramsay’s approach has been used in data classification and has been known, since this date, as Principal Data Analysis (PDA) [34]. The concept of PDA was introduced by Ramsay [34] instead of the Principal Component Analysis (PCA) which presents a general approach to the classical dimensionality analysis/reduction that could not be necessarily be modeled as smooth functions which is the case of functional data [35,36,37,38].

In this paper, a straightforward PDA approach for nonlinear system identification is developed. A specific formulation in the case of linear parameters ODEs system was drawn as well. The adaptation to SIR system was direct and the SIR parameters’ formulations were determined according to the procedure that is detailed in Additional file 1. This approach was applied for each country.

The following paragraphs details step-by-step the set of mathematical tools developed in this work.

SIR model

The system (1.11.6) and (2.12.6) display the (SIR) model that is adopted in this work as the basic form of the phenomenological models in epidemiology modeling [1, 2].

$$\frac{di(t)}{dt}=\beta\ i(t)s(t)-\mu\ i(t)$$
$$\frac{ds(t)}{dt}=-\beta\ i(t)s(t)$$
$$\frac{dr(t)}{dt}=\mu\ i(t)$$
$$\forall t\in \left[{t}_1,{t}_1+{J}^{\ast}\right]$$
$${i}_1+{s}_1+{r}_1=1\ at\ time\ {t}_1$$
$$\frac{dI(t)}{dt}=\frac{\beta }{N}\ I(t)S(t)-\mu\ I(t)$$
$$\frac{dS(t)}{dt}=-\frac{\beta }{N}\ I(t)S(t)$$
$$\frac{dR(t)}{dt}=\mu\ I(t)$$
$$\forall t\in \left[{t}_1,{t}_1+{J}^{\ast}\right]$$
$${I}_1+{S}_1+{R}_1=1\ at\ time\ {t}_1$$


  • i(t): is the normalized infection function reported to population unit, s(t): is the normalized susceptible function reported to population unit, r(t): is the normalized recovered function reported to population unit;

  • I(t): is the estimated infection function, S(t): is the estimated susceptible function, R(t): is the estimated recovered function;

  • i1, s1, r1: are the initial conditions respectively related to the functions i(t), s(t), and r(t);

  • I1, S1, R1: are the initial conditions respectively related to the functions I(t), S(t), and R(t);

  • 𝛽 and μ: are the stochastic parameters that must be computed to fit the model (1) (or (2)) to the observed data. In this study, the short-term and early-age analysis will be analyzed according to sole values of the couple (𝛽, μ) as it is detailed in the rest of the paper.

The reproduction number is to be computed by means of Eq. 3.

$${R}_0=\frac{\beta }{\mu }$$

Optimization problem definition (step 2)

The optimization problem (OP) is proposed in order to formulate the parameters identification problem and to derive the corresponding cascade algorithm of the OP problem.

$${\overrightarrow{\tilde x}}_1=\underset{\left(x_{1_1},\dots,x_{N_1}\right)}{\mathrm{argmin}}\left(\chi^2\right)$$
$${\chi}^2\left({\overrightarrow{x}}_1/\overrightarrow{\theta^{\ast }}\right)=\sum_{1\le i\le m}\sum_{1\le j\le N}{\epsilon}_{j_i}^2$$
$$\varepsilon_{j_i}={\tilde x}_{j_i}-x_{j_i}$$
$${\tilde x}_{j_i}={\tilde x}_{j}\left({t}_{i},\overrightarrow{\theta^{\ast }}\right)$$
$${\overrightarrow{\tilde x}}:= \arg \left( RK\left( ODES,{\overrightarrow{\tilde x}}_1,\left[{t}_1,{t}_1+{J}^{\ast}\right]\right)\right)$$
$$ODES:\overrightarrow{\dot{x}}=\overrightarrow{f}\left(\overrightarrow{x}(t),t,\overrightarrow{\theta^{\ast }}\right)$$
$${\overrightarrow{\tilde x}}={\left(\tilde{x}_1,\dots, \tilde{x}_N\right)}^t$$
$${\overrightarrow{x}}_1={\left({x}_{1_1},\dots, {x}_{N_1}\right)}^t$$
$$\left({x}_{1_1},\dots, {x}_{N_1}\right):= \left({x}_1\left({t}_1\right),\dots, {x}_N\left({t}_1\right)\right)$$
$${J}^{\ast }=\arg (PWP)$$
$$\overrightarrow{\theta^{\ast }}= argmi{n}_{\overrightarrow{\theta}}\left({\chi}_{PDA}^2\right)$$


  • \({\overrightarrow{\tilde x}}_1\left(\tilde{x}_{1_1},\dots, \tilde{x}_{N_1}\right)\) is the optimal vector of the initial values of the solutions \({\overrightarrow{\tilde x}}\left(\tilde{x}_1,\dots, \tilde{x}_N\right)\) at the time t1;

  • \({\overrightarrow{\tilde x}}\) is the solution of the Rang-Kutta (RK) algorithm of the ODEs system denoted by the expression (6.1);

  • ODES: expression of the ODEs system to be solved (Eq. 6.2). The SIR model expressed by means of normalized variable was adopted as depicted by system (1.11.6);

  • J is the length of the interval of time of simulation [t1, t1 + J];

  • t1 is the initial time of the interval of simulation [t1, t1 + J];

  • \(\overrightarrow{\theta}\) is the vector of parameters to be optimized according to PDA approach (system 7);

  • \(\overrightarrow{\theta^{\ast }}\) is the vector of optimal parameters;

Hence, the ultimate goal of OP resolution is to compute:

  • the optimal SIR parameters \(\overrightarrow{\theta^{\ast }}=\left({\mu}^{\ast },{\beta}^{\ast}\right)\) as detailed in Cascade algorithm: PDA approach and parameters identification section;

  • the initial conditions \({\overrightarrow{\tilde x}}_1={\left(\tilde{x}_{1_1},\dots, \tilde{x}_{j_1},\dots, \tilde{x}_{N_1}\right)}^T\) of each functions \(\tilde{x}_j\). Projected to the case of COVID-19, the functions \(\tilde{x}_j\) are the Infection rate I(t) and the susceptible rate S(t). The, the initial conditions are denoted i1 and s1 respectively for infection and susceptible rates at the initial time t1. The RGFA algorithm of resolution is displayed in  Randomized gradient free algorithm for initial condition computing section;

  • the parameter J was computed using a point-wise procedure (PWP) that is developed in this work and that is detailed in Cascade algorithm: point-wise procedure (PWP) for J determination section.

Cascade algorithm and the corresponding subroutines (step 3)

Cascade algorithm: algorithm structure

The cascade algorithm was designed to solve the OP problem and adapted to the SIR model. Figure 2 presents the main blocks of the cascade algorithm. Each step of this algorithm is detailed in the next sections (Stepwise regression and multicollinearity assessment, Modeling the shift day J*, Modeling the ratio R0 and Cascade algorithm: point-wise procedure (PWP) for J determination).

Fig. 2
figure 2

Cascade algorithm presentation

Cascade algorithm: PDA approach and parameters identification

Let’s \(\left({t}_i,{\overrightarrow{x}}_i\right)\) be a set of points of N + 1 that could be fitted by a set of first order ODEs as described by N equations of the system (8.1-...8.N).

$${\dot{\tilde x}}_1(t)={f}_1\left({\overrightarrow{\tilde x}}(t),t,\overrightarrow{\theta}\right)$$
$${\dot{\tilde x}}_i(t)={f}_i\left({\overrightarrow{\tilde x}}(t),t,\overrightarrow{\theta}\right)$$
$${\dot{\tilde x}}_N(t)={f}_N\left({\overrightarrow{\tilde x}}(t),t,\overrightarrow{\theta}\right)$$


  • ti is the times of observations as (1 ≤ i ≤ m);

  • t is the continuous time parameter;

  • \({\overrightarrow{x}}_i=\left({x}_{1_i},\dots, {x}_{N_i}\right)\) is the observed dataset at each time ti;

  • \({\overrightarrow{\tilde x}}(t)={\left(\tilde{x}_1(t),\dots, \tilde{x}_N(t)\right)}^T\) is the vector of the fitting functions (estimated functions);

  • \({f}_i\left({\overrightarrow{\tilde x}}(t),t,\overrightarrow{\theta}\right)\) represents the expression of the right term of the ODE (8.i);

  • \({\dot{\tilde x}}_i(t)\) is the first order derivation of a function \(\tilde{x}_i(t)\);

  • \(\overrightarrow{\theta}=\left({\theta}_1,\dots, {\theta}_p\right)\) is the vector of the estimated parameters of system (8.18.N);

It is to notice that the set of data observations \({\overrightarrow{x}}_i\) are to be normalized before proceeding to the computations. The classical least square method considers the error of estimation of the functions \({\overrightarrow{\tilde x}}={\left(\tilde{x}_1,\dots, \tilde{x}_N\right)}^T\) as described by the syst. 9 [39]:

$${\displaystyle \begin{array}{c}{\epsilon}_{1_i}=\tilde{x}_1\left({t}_i\right)-{x}_{1_i}\\ {}\vdots \\ {}{\epsilon}_{N_i}=\tilde{x}_N\left({t}_i\right)-{x}_{N_i}\end{array}}$$

As introduced above, it is proposed to study the inverse problem by means of the minimization of the sum of squares of the Linear Differential Operators (LDOs) that are denoted as Lx as exhibited in system 10 [36].

$${\displaystyle \begin{array}{c}{Lx}_{1_i}={\dot{x}}_{1_i}-{f}_1\left({\overrightarrow{x}}_i,{t}_i,\overrightarrow{\theta}\right)\\ {}\vdots \\ {}{Lx}_{N_i}={\dot{x}}_{N_i}-{f}_N\left({\overrightarrow{x}}_i,{t}_i,\overrightarrow{\theta}\right)\end{array}}$$


  • \({Lx}_{j_i}\) expresses the LDO operator related to the function fj at the time ti;

The analytical development of the PDA Least Square Minimization (PDA-LSM) is detailed in Additional file 1. Hence, based on the PDA-LSM formulation, the optimal parameters (β, μ) of the SIR model (1.11.6) are to be computed according to Eqs. 11, 12.1, 12.2 and 12.3.

$$\left(\begin{array}{c}{\beta}^{\ast}\\ {}{\mu}^{\ast}\end{array}\right)={\left[A\right]}^{-1}\ \overrightarrow{b}$$


$$\left[A\right]=\left(\begin{array}{cc}\sum_{1\le k\le m} \limits2\ {\left({i}_k{s}_k\right)}^2& \sum_{1\le k\le m}\limits-{i}_k^2{s}_k\\ {}\sum_{1\le k\le m}\limits-{i}_k^2{s}_k& \sum_{1\le k\le m}\limits{i}_k^2\end{array}\right)$$
$$\overrightarrow{b}=\left(\begin{array}{c}\sum_{1\le k\le m-1}\limits\left(\frac{i_{k+1}-{i}_k}{\tau }{i}_k{s}_k-\frac{s_{k+1}-{s}_k}{\tau }{i}_k{s}_k\right)\\ {}\sum_{1\le k\le m-1}\limits\left(-\frac{i_{k+1}-{i}_k}{\tau }{i}_k\right)\end{array}\right)$$
$$\tau =1$$

These parameters are valid within the time interval [t1, t1 + J]. As written in the summation symbol “Σ”, “m” denotes the size of the discretized interval of time [t1, t1 + J]. For each update of J, (μ, β) are also updated.

Randomized gradient free algorithm for initial condition computing

In general, Free gradient algorithms have been designed in order to solve optimization problems regardless the need of computing the objective function’s gradient [40]. A Randomized Gradient Free Algorithm (RGFA) is designed in this paper in order to compute the initial conditions of the SIR problem. In other words, RGFA aims to solve the system (45.3) of OP problem.

It is worth mentioning to recall that the initial conditions of the basic SIR system are coupled by the equation of the mass N of population conservation, in its normalize version (13).



  • i1: is the initial number of the infected population

  • s1: is the initial number of the susceptible population

  • r1: is the initial number of recovered people

It is assumed here that, at the initial time t1, the number of recovered population is null since the immunity of the population could not be reached at the first instants of the pandemic. This statement allows directly setting r1 to 0 as a first assumption.

This allows correcting the initial conditions Eq. (13) that becomes (14):


One can write the definition of the optimal initial condition \({i}_1^{\ast }\) as (Eq. 15):

$${i}_1^{\ast }=\underset{\left({i}_1\right)}{\mathrm{argmin}}\left({\chi}^2\right)$$

For each country, the real initial conditions \(\left({I}_1^{\ast },{S}_1^{\ast}\right)\) are to be computed according to the system (16.1 and 16.2).

$${I}_1^{\ast }=N\ {i}_1^{\ast }$$
$${S}_1^{\ast }=N-{I}_1^{\ast }$$

Equation (15) corresponds to a constraints-free problem; for each country, the optimal value \({i}_1^{\ast }\) was computed by means of the RGFA algorithm as displayed below. This algorithm details the univariate unconstrained optimization problem in case of a unimodal function to be minimized (convex). The algorithm was then applied to the sum of the squared errors of the ODEs fitting. In other terms, the function f(x) that is considered in the expression (17) corresponds to the sum of the squared errors of estimation χ2 of the Infection rate function I; the argument x of Eq. (17) expresses the initial condition i1 as depicted in the expression (15).

$$(15)\iff {x}^{\ast }= argmin\left(f(x)\right)$$
figure a

RGFA uses dynamic borders {{a}, {b}}. The current position x(i) is generated randomly within the current iterative interval [a,b] by means of uniform probability distribution. The detection of the decreasing directions are performed by adding a step ±h to the current position x(i); the functions values {f(x(i)), f(x(i))-h, f(x(i)) + h} are then computed. In consequence, the interval borders a and b are updated according to the evolution directions. The convergence of the algorithm is reached when the interval is reduced to a “supposed point of accumulation” denoted {x}. This solution can be seen as the convergence point of the series an and bn that express dynamic borders of the pre-defined interval of the optimization problem. The algorithm returns the number of iterations “i” and the corresponding solution “x”.

Cascade algorithm: point-wise procedure (PWP) for J determination

A PWP procedure was developed for a point-by-point insertion of an observed point (ti, Ii) to a pre-existing fit using inferencial statistics. General speaking, the algorithm is based on a pre-determined set of points of which an interpolation is valid in terms of errors centering and model accuracy. After that an extrapolation of the pre-computed model is carried out for a new point (ti+1, Ii+1). The error of extrapolation of this point is then analyzed according to the global errors vector behavior. If this new observation presents a reasonable level of fitting error, it is systematically added to the existing set of points to fit, and the model is recomputed. The adding or the rejection of a given point is managed by the procedure displayed in the next paragraphs.

Thus, the PWP algorithm quantifies the likely trend of the error of estimation of I(t); indeed, this error must be centered on zero with a reasonable dispersion. The designed procedure was inspired by Statistical Process Control (SPC) in which the monitoring of a given property is carried out by means of control charts [41, 42]. Figure 3 depicts with details the PWP algorithm.

Fig. 3
figure 3

Point-Wise Procedure for optimal modeling interval detection in term of J parameter

The PWP procedure starts by a minimal number of points (dataset of size N). The size N can be chosen according to each phenomenon and observer expertise. The assignment of the next point (i + 1) to the dataset is controlled by means of controlling the estimated error of extrapolation “ \({\varepsilon}_i=\overset{\sim }{y}\left({t}_i\right)-{y}_i\) ” as follows:

For each iteration

  • Computing the histogram of the pre-defined dataset;

  • Computing the quantiles {Q1(α = 5%), Q2(α = 25%), Q3(α = 75%), Q4(α = 95%)}. The quantiles are defined by the Eq. (18):

$$\alpha \%=P\left(e\le {Q}_i\right)$$


“e” is the r.v. that is considered as the error of estimation at each time point ti;

  • 1st control: If the point (i + 1) is included in the range [Q1, Q4], the point (i + 1) is transferred to the 2nd control loop;

  • 2nd control: 7 next points are computed;

    • ° If a tendency of the (i + 1) with the 7 next points does not exist, it means that the estimated errors are fluctuating randomly around zero; else a tendency is caught which points-out the beginning of an important deviation from the zero line; the number 7 is fixed according to the SPC procedure [42]. This value can be changed to estimate the effect on the results of the PWP algorithm; this will be treated in future works;

    • ° The tendency behavior at a given point (i) is detected by computing p point after the current analyzed point (i). The slope and the coefficient of determination of the linear line \(\left(\overrightarrow{t},\overrightarrow{\varepsilon}\right)\) are computed at these points; therefore, tests of tendency and deviation position to the zero line are to be performed by the algorithm. The tendency is estimated according to the slope “a” and the accuracy η:

      • ▪ If |a| < η: the tendency line is supposed horizontal and then a test of limits distance is leached in order to obtain errors that are not too distant from the zero;

      • ▪ If |a| > η: the tendency line is supposed evolving through a non-horizontal direction, increasing or decreasing, so that the error of estimation is actually shifting from the zero line; the centering of “e” on zero is no longer ensured;

      • ▪ Moreover, if the fluctuation of “e” is detected between the quantiles {Q3, Q4} or {Q1, Q2}, it means that the errors are positioned near the extreme error lines Q1 or Q4; this highlights a potential change of error average that could shift from the zero line;

  • Outliers detection and management:

    • ° In case of outlier detection, in other term a point that does not fit the existing fitting curve, a counter “k” is incremented. If “k” exceeds a critical value “Cc”, the algorithm is forced to break and it returns the values of the errors subset and the optimal modeling time parameter J. The present algorithm proceeded by a setting “Cc = 20”. Other values of the “Cc” can be proposed. The effect of Cc choice will be discussed in future works;

    • ° Otherwise if no outlier is detected, neither out of range [Q1, Q4] nor caused by a tendency, the current computed point (i) is assigned to the subset of valid points; the algorithm loops;

    • ° If the index k exceeds the maximal number of outliers, the algorithm breaks and returns the parameter J and then the errors subset \(\overrightarrow{\varepsilon}=\left\{{\varepsilon}_1,\dots {\varepsilon}_N,\dots, {\varepsilon}_{J^{\ast }}\right\}\).

Figure 3 details the PWP algorithm that was implemented and applied on the error of estimation of the infection function.

Modeling using SW-MLR procedure (step 7)

Stepwise regression procedure is an automated procedure that is applied to find out the most influencing variables of a model in the case of important number of decision variables. The stepwise regression approach was firstly proposed by Efroymson [43]; it is an iterative procedure that works by adding and removing independent variables terms until reaching the targeted precision or reaching the minimal mean square error (MSE). The entrance or the exit of a model term is conditioned by the estimation of F-statistics, p-value or other valid statistics of the corresponding term. If the F-statistics is higher than a threshold value, the variable is maintained in the model, else it is eliminated [44].

Stepwise regression is applied for both linear and non-linear models [45]. For non-linear modeling, statisticians prefer to denote the model as generalized linear models in order to tackle wider range of data with different types of response variables [46]. The vector of variables or vector of predictors is denoted X and the model terms are denoted Z, where:


After stepwise algorithm convergence, the set of predictors are composed by the best input vectors X and the corresponding model terms Z.

Finally, the models could be written in two equivalent ways (20) or (21):

$$\overset{\sim }{Y}=f\left(\overrightarrow{X}\right)$$


$$\overset{\sim }{Y}=f\left(\overrightarrow{Z}\right)$$

It is worth mentioning that the Step-wise regression algorithms belong to the set of Supervised Machine Learning procedures. For more details on the stepwise regression algorithm and the corresponding statistical tests, readers are referred to [44].

In addition, the modeling procedures should fit two main objectives that could be sensitively conflictual [43,44,45]:

  • Minimizing the predictor’s number to avoid over-learning;

  • Minimizing the bias of the model by selecting the necessary predictors variables, knowing that the elimination of a predictor could cause the loss of information;

Mathematical form of the adopted models (step 9)

In this study, general quadratic models were adopted for both R0 and J* as it is exhibited by the Eq. (22). General quadratic models were adopted due to the weakness of the first order and interactions models that were tested before proceeding to the current modeling.



  • A is the symmetric matrix associated to the quadratic and interaction terms of the model y;

  • \(\overrightarrow{b}\) is the vector of constants associated to the first order terms of the function y;

  • γ is the constant term of the function y;

After performing the hypothesis test for acceptance or rejection of the series of models, the “best” models can be selected according to the following equivalent indicators [44]:

  • Coefficient of determination R2

  • Adjusted coefficient of determination adjusted of R2,

  • Mallows Cp statistics,

Moreover, structural multicollinearity was assessed and tested. This was ensured in this work by means of the Variance Inflation Factor (VIF) [47]. The modeling was applied for training countries and verified by the test dataset.

Multicollinearity assessment (step 6)

In the case of structural multicollinearity, prediction bias or overfitting should be eliminated. Hence in this paper, the stepwise procedure was constrained by VIF minimization that aims to reduce the inflation of bias due to an eventual structural and data multicollinearity. Since the VIF minimization causes the reduction of the dimensionality of the regressive models, the corresponding R2 were also verified and are tended to be maximized to produce models with reasonable accuracy and error. This procedure was programmed on matlab.

For each term “j” of a regressive model, the corresponding VIFj is given by expression (23) [48]:


General speaking, the minimization of VIF and maximization of the precision of a model should be considered as a multi-objective optimization problem as well. Thus, one can transform this statement into mathematical form as it is expresses by expression (24).

$$mode{l}^{\ast }=\mathit{\arg}\left\{\begin{array}{c}\max (R^2)\ \\ {}{\min}_{1\le i\le q}\left( VI{F}_i\right)\end{array}\right.$$


  • q” is the number of the model terms

Belslay [48] reported: VIF “measure is therefore of some use as an overall indication of collinearity. Its weaknesses, like those of the coefficient of determination, lie in its inability to distinguish among several coexisting near dependencies and in the lack of a meaningful boundary to distinguish between values of VIF that can be considered high and those that can be considered low” [48]; hence, we are proposing the interval [5, 10] as an acceptable variation range of the VIF factors [49, 50]. In addition, all normalized inputs were centered before proceeding to stepwise regression programming [48].

Results and discussion

As it can be remarked from the methodology, the results of the proposed approach should consist in two main phases; the first is dedicated to the fitting of the SIR parameters, initial conditions computation, and the validity interval in terms of the day J*. the second phase corresponds to the modeling of these parameters according to the set of socio-economic parameters using SW-MLR procedure. A last sub-section of the discussion is dedicated to the benchmark study which led to position our study according to the existing references, and then to exhibit the similarities and differences with other specialized literature in terms of the more relevant socio-economic factors that are involved in COVID-19 spread.

First phase: cascade algorithm results

The application of the cascade algorithm results in a set of optimal parameters \(\left({\beta}^{\ast },{\mu}^{\ast },{I}_0^{\ast },{J}^{\ast}\right)\) that are reported in the Table 3. The table is displayed according to a descendent sort of R0. Figure 4a and b display a colored scatter plot of R0 and J* per country.

Table 3 SIR parameters (β, μ), the initial value \({I}_0^{\ast }\), and the shift time point J
Fig. 4
figure 4

a Scatter plot of the basic reproduction number R0. b Scatter plot of the day J* (this vector map data is made with Natural Earth(1) and programed with geopanda(2); these two programs are public access). (1) (Accessed on 15 January 2022). (2) (Accessed on 15 January 2022)

It is remarkable that the China shows an acute level of disease reproduction which is higher than 2000. A preliminary Weighted Sum of Squares (WSS)-elbow clustering according to R0 was performed on data of Table 3 showing that China constitutes one-class at each cluster number; it means that China should be considered as an outlier and must be eliminated from the rest of the regressive modeling.

To illustrate the results of the cascade algorithm, an example of estimated infection function i(t) of Brazil is exhibited in Fig. 5a, the shift day J* was estimated to be equal to 133 days. After that day, the observed infections drop so that the infection behavior changes for the first time from the infection declaration; the infection behavior is no longer exponential, this corresponds so to the early age of infection propagation in Brazil. As explained in the cascade algorithm of Fig. 2, the estimated parameters \(\left({\beta}^{\ast },{\mu}^{\ast },{I}_0^{\ast}\right)\) are to be updated at each J update. The convergence of the PWP procedure determines the final value of \(\left(\ {\beta}^{\ast },{\mu}^{\ast },{I}_0^{\ast}\right)\).

Fig. 5
figure 5

a Estimated infection function i(t) computed by cascade algorithm on the interval of time [1, 133]. b Plot of the errors of estimation. c Histogram of errors

The error of estimation is centered on zero as it is depicted in Fig. 5b and c; while the initial value I0 was numerically computed by the RGFA algorithm. Thus, for Brazil, I0 was estimated to be around 1285 infections after 20 iterations. Finally, the optimal SIR parameters (β, μ) are estimated to be equal to (0.025, 3.06 E-02). Additional file 2 groups the resulting plots of all countries that have been selected for this study.

Second phase: modeling the parameters according to socio-economic indices

Stepwise regression and multicollinearity assessment

The second main phase of this article is to model the resulting parameters (β, μ), R0, and J in term of the socio-economic parameters that are listed in Table 2; the set of input parameters are {GDP, HDI, HCI, GSMI, CO2, WC, DBLD, AGE, Tav}. To assess structural multicollinearity, VIF factors were computed in all steps of the backward stepwise regression procedure coupled to the quadratic model. Concerning the infection rate β, 137 models were generated by this procedure, while for the recovering rate μ, 37 models were generated. For the shift day J*, 346 models were generated. It is worth mentioning that all the corresponding p-values of these models are less than 5%, number of them are on the scale of 10−6. Nevertheless, although this procedure generated models with excellent p-values and R-squared, the high VIF levels, sometimes of the order of tens and mostly in the order of millions, lead to conclude that high multicollinearity bias are involved by different model terms in the produced models. This results in imprecise and insignificant models due to the elimination of the terms with high VIF values.

Figure 6a to c depict 2D-plots of the maximal “VIF factors of the models” versus “the corresponding R-squared” in log-log space. One can conclude the increasing behavior of the R2 according to the VIF values. That is to say, the dimensionality reduction related to the decrease of structural multicollinearity by means of the minimization of VIF factors of the terms should enhance model’s R2. Furthermore, the max(VIF) factors of the terms of the modeled μ and β starts resp. around 2000 and 60 (resp. Figs. 5b and 6a).

Fig. 6
figure 6

Stepwise indicators analysis: max(VIF) VS R-squared a for the infection rate βb for the recovering rate μc for the shift point J*

In order to remedy multicollinearity, data were centered [40]; the interaction and the quadratic terms were then recomputed. Subsequently, the VIF factors were computed and multicollinearity was avoided by a stepwise elimination of the terms that generate high VIF values. Table 4 displays the resulting independent terms and the corresponding VIF factors. Hence, the stepwise regressions were carried out resulting in significant models of the reproduction number R0 and the shift day J* as it is detailed in the two next sections.

Table 4 Independent terms and the corresponding VIF

Modeling the shift day J*

The model of the shift day J* reached a reasonable accuracy in term of p-value, R2, and VIF factors as it is exhibited in Fig. 7; all the model terms and the model itself have significant p-values. Moreover, R2 is highly significant reaching more than 80% while the R2-adj reached more than 75%. It is noticeable that the intercept term is not significant since the corresponding p-value is higher than 5%. This is not quite important because this analysis especially deals with the variation of the infection parameters according to the socio-economic parameters. The model of Fig. 7 was computed using the training set composed by 36 countries.

Fig. 7
figure 7

Best model of J*

Figure 8 plots the histogram of the error of estimation and the corresponding t-distribution fitting. Figure 8a shows clearly that the test phase errors are quite included in the same range of variation of the error resulting from the training phase. Chi-squared test was carried out showing that training and testing population belong to the same population that is t-distributed centered on zero.

Fig. 8
figure 8

Error of estimation of J*. a Error of estimation b the corresponding histograms and t-distribution fitting curves

Figure 9 displays the slices of the J* best model according to the predictors selected in the stepwise regression that are “DBLD, GDP, CO2, Tav, WC”. Based on this figure, Table 5 summarizes the behavior of J* according to each predictor.

Fig. 9
figure 9

J* model slices of first order effects: “J* VS Predictors” a at a given position of Tav b at another position of Tav

Table 5 Behavior of J* according to the predictors

During the simulations, it was observed that the variations of J*, according to CO2 and WC, were very sensitive to the variation of Tav as it could be concluded from Fig. 9a and b comparison; according to Fig. 9a, the value of Tav forces the variation of J* according to CO2 to behave as a negative slope line, while it is totally the opposite for higher values of Tav as shown on the Fig. 9b. Subsequently, Fig. 10 is exhibited in order to highlight the second order interactions effects on J*. It should be mentioned that, according to Fig. 10, the shift day J* presents a stable behavior according to both first order and second order terms.

Fig. 10
figure 10

J* model slices: “J* VS model terms”

In general, it is clear that during a pandemic, the only parameter that can be handled in the short term is the DBLD that expresses the number of days before lockdown. Based on Fig. 10, the DBLD predictor affects the shift day J* as:

  • a first order term increasing the J*;

  • A second order term by increasing the J*

  • with interactions with other predictors: water consumption parameter WC, and Tav parameter that corresponds to the “last 20 years” temperature average.

According to the Fig. 9, it is noticeable that J* behaves like a convex parabola according to the DBLD predictor. In addition, the minimum of this parabola depends on the current values of the other predictors. In contrast, J* behaves like a concave parabola according to GDP. Both peak’s position and value intensity of J*(GDP) parabola depend on the other parameters values.

It is important to recall that one of the major objectives of each country is to enforce the decreasing of the pandemic, which can somehow be expressed as the minimization of the shift day J*. Since, all the predictors are descriptive variables and are not easy to handle in the short term, the only way to reach this objective is to tune the DBLD in order to minimize the value of J*. For each country, this latter can be ensured by solving the Eq. (25). This point will be detailed and discussed in future works.

$$DBL{D}^{\ast }= argmin\left({{J}^{\ast }}\!\left/ \!{\left( GDP, CO2, WC, Tav\right)}\right.\right)$$

Modeling the ratio R0

The reproduction number R0 was modeled by the same procedure like J*; it was also computed using the same training set. Figure 11 details the model of R0 expressed by the corresponding set of socio-economic predictors. Based on the p-values, it was noticeable that the model and the predictors are significant except the intercept term (which is not of great importance for the factorial analysis). Moreover, R-squared is ranged between 60 and 70%, that is to say, the model can be used to have a preliminary insight of the behavior of R0 according to the socio-economic predictors.

Fig. 11
figure 11

Best model of R0

Test phase was assessed using the test set. Figure 12a displays the error of estimation of both training (blue) and test phases of the modeling. Figure 12b shows that the error of estimation is centered on zero for both training and test sets. Chi squared tests were carried and proved that both sets belong to the same.

Fig. 12
figure 12

Error of estimation of R0. a Error of estimation b the corresponding histograms and t-distribution fitting curves

Figure 13 displays the slices of the R0 best model according to the predictors “CO2, HDI, HCI, WC, age”. Based on this figure, Table 6 was produced to summarize the behavior of R0 according to each predictor. By comparing Fig. 13a and b, it is remarkable that the variation of R0 according to HCI (Health Care Index) is very sensitive to the age predictor variation. For instance, on the Fig. 13a, at a low elderly parameter (age), one can observe that R0 is decreasing according to HCI; that to say that smaller is the elderly, the smaller the R0 is, and thus, the number of infection is decreasing. In contrast, at higher values of elderly, as it is exhibited in the Fig. 13b, the health system is no longer able to ensure either the pandemic damping or the infection/death kinetics deceleration regardless the HCI level. The other parameters stably affect the ratio R0, in other words, the R0’s evolution according to {CO2, HDI, WC} shows a stable profile as depicted in Fig. 13a and b, and reported in Table 6.

Fig. 13
figure 13

R0 model slices of first order effects: “R0 VS Predictors” a at a given position of age b at another position of age

Table 6 Behavior of R0 according to the predictors

Other remarks are included in the Conclusion section in order to discuss more generally the R0 and J* behaviors according to socio-economic parameters involved in this study.

Summary of the findings

Based on the simulations, number of conclusions can be depicted:

Related to shift day J*:

  • the most important parameter that can be handled for J* reduction is the DBLD, and hopefully, this is the only parameter that can be tuned in the short term. It is worth mentioning that the reduction of J* leads to an early-age flattening of the infection curves;

  • The other parameters that are involved in J* evolution are GDP and CO2:

    • ° J* behaves as a concave quadratic (parabola) of GDP which, at a given GDP level, J* is maximized, leading to a delay in pandemic damping. This behavior can be seen as an economic issue for which the human activity causes the increase of the disease propagation;

    • ° The variation \(\frac{\partial {J}^{\ast }}{\partial \left(C{O}_2\right)}\) highly depends on the value of Tav: J*(CO2) is a decreasing line for low values of Tav; in contrast, J*(CO2) is an increasing line at higher values of Temperature average Tav;

  • Related to J*(Tav) variation, it is noticeable that the increasing of the value of Tav implies the increase of J* independently of the other predictors values. Furthermore, as it was noticed about CO2 and WC predictor, Tav variation also affects the behavior of J* according to the other predictors; i.e. higher is the average temperature of countries, lower is the infection damping in term of higher values of J*;

Hence, in order to exploit the remarkable J* behavior, it would be interesting to simulate the likely values of J* for each county at the correspondent socio-economic parameters levels. This should allow determining the optimal values of the DBLD that might be adopted by each country in case of similar diseases, since DBLD is the only parameter that can be controlled by the authorities in the short term.

Concerning the reproductive number R0, it was shown that the parameters involved in its evolution are CO2, HDI, HCI, WC, and the elderly parameter. Furthermore, by varying the predictors positions in the simulation, it was highlighted that:

  • the age parameter plays a crucial role in the R0 evolution according to HCI index; the slope \(\frac{\partial (R0)}{\partial (HCI)}\) mainly depends on the elderly level. This variation is either negative or positive for respectively lower or higher values of age predictor;

  • this behavior can inform the decision makers about the usefulness of a given health system (expressed by HCI index). In the present investigation, an elderly of 65 years old was implemented, but similar studies should produce very useful data by varying the elderly in order to detect deeper effect of this parameter on the infection propagation; this can be expressed by an “age structure” relationship;

  • For high values of elderly, it was remarkable that the health care system could not control nor dampen the pandemic propagation since the variation \(\frac{\partial (R0)}{\partial (HCI)}\) becomes positive for all values of socio-economic parameters; in other terms, corrective measures would not result in the expected effects. In consequence, the confinement, lockdown, and other preventive procedures would be more appreciable;

  • In contrast, low elderly led to negative variation \(\frac{\partial (R0)}{\partial (HCI)}\) which means that the health care system can participate to the decrease of R0 and then the deceleration of the disease propagation;

Benchmark study

This benchmark study is dedicated to compare the findings of recent existing literature that treated almost similar analysis in terms of socio-economic factors’ implication in pandemic spread. This section also draws the similarities and the contrast between our findings and the literature. Table 7 summarizes the features (socio-economic indicators) that are used in the papers that were selected for this benchmark. It is possible that the papers displayed in Table 7 involved additional factors, but in order not to disturb the comparison with the current work, only common indicators were selected herein.

Table 7 The references used in the benchmark analysis and the associated socio-economic factors

The references listed in the Table 7 analyzed the infection and deaths statistics cases according to different socio-economic indicators. Different approaches were proposed by the authors, including simple or composite indicators. In the majority of those papers, regressive models were considered for structural analysis. However and technically speaking, two main remarks emerged after analyzing these references:

  • The majority of the papers adopted first order features

  • Multicollinearity was not assessed nor studied

Nevertheless, the signs of the constants of the models that are related to the different variables (features) constitute the most interesting information that should demonstrate the tendency relationship between the infection state (dependent variable) and the descriptive variables. In the present article, the infection tendency was studied according to the reproduction number R0, and the day J* that gives an idea of the infection flattening in time.

The next paragraphs extend the benchmark discussion regarding the most important factors selected in the modeling phase of this research.

DBLD variable: the effect of lockdown policies

According to the analysis of the references [1, 51,52,53,54,55, 57, 69], it was remarkable that the application of lockdown policies enhanced the slow-down of the spread of the pandemic in space and time. For instance, based on real-time statistics in Libanon, Kharroubi et Saleh [52] demonstrated the success of the lockdown measures on the containment of the disease. Same results were attested by [51] who grouped time series data corresponding to 202 countries; their modeling emphasizes the negative and statistically significance of the lockdown contribution on the infection rates. The authors also proved that the infection curves flattening takes place 7 to 20 days from the rigorous lockdown implementation [51]. Similar results were found by Padhi et al. [54] in the case of India using SIRD (SIR+Death) modeling, and by [55] in case of USA. Other researchers simulated the results of lockdown application by the countries [1], and others, forecasted the COVID-19 propagation after school re-opening including the effect of age structure in Shangai by means of an adapted SEIR model [16]. Indeed, Lee et al. [16] proved that the re-opening of all children should maintain a baseline R0 of 3.3 and reducing the daily contact among children of 10–19 years old should decrease R0 to 33% from the baseline. Contrariwise, Born and coauthors [53] tried to understand the counterfactual case of Sweden, since Sweden did not apply the lockdown as for the other countries of EU. The outcome of this research showed a decrease of the infection and death curves by about 75 and 38% respectively. The NPIs should also reduce death by about 95%; SIR model was adopted for the simulations [53]. The other studies, reported in the Table 7, which involve lockdown in their analysis exhibit similar conclusions in terms of infection and death reduction after or while applying lockdown measures, based on statistics or simulations [1, 18, 57, 69].

Based on the above, it is noticeable that this research can provide similar findings, especially if we consult the curves of Fig. 10 that are related to DBLD parameter as a second order parameter “DBLD*DBLD” or as interactions terms “WC*DBLD” and “DBLD*Tav”. But in fact, the feature of our study is that the damping time J*(DBLD) behave like a convex parabola so that the analysis could not be independent of the other socio-economic factors, and it will depend on each country. We conclude here that, indeed, the reduction of the DBLD, which is the number of days before lockdown, should accelerate the infection flattening by reducing the time J*; but according to our modeling (Fig. 9), this is true above a given DBLD value, that depends on the other socio-economic factors. Under this critical value (the minimum of the parabola), the effect is inversed and the reduction of the early application of the lockdown will have no effect on the pandemic decrease.

HCI and age variables: the coupled effect of health care system and elderly

According to the literature, the health care system was considered by means of different indicators such as ICU level [11], Prevention and Control (P&C) capacity [71], the number of hospitals and the 4 T’s (tracing, tracking, testing and treating) [69]. In this work, and as previously introduced, HCI index was adopted as a public health policy indicator.

In the existing literature, it was notified that the enhancement of the previous heath policy indices (ICU, P&C, Hospitals number, and the 4 T’s) implies the reduction of the pandemic infection and death count. Even in the case of multidimensional analysis, the health policy was not speculated nor discussed from a wider perspective that could include the other socio-economic factors [62,63,64,65,66,67,68]. The age structure was also identified to have significant effect on the infection evolution, while elderly is assumed to be highly correlated to death cases; an exponential relation was denoted [57, 59]. Thus, for older adults, social distancing remains the appreciable and the well-encouraged strategy for risk prevention [58]. However, [56] showed how delicate is to assess the age-specific number of COVID-19 death associated with regards to seroprevalence statistics. In addition, contact patterns are then discussed, by the authors leading to a systematic explanation of the excess of death especially in nursing homes. This shows how age-structure can be robustly exploited to reconstitute the level of transmission [56].

Considering the above, it is remarkable that the previous references did not include interactions between the elderly (or the age-structure) and the health care system at all. Consequently, the proposed model of R0 herein proves the need of a higher order multidimensional insight (order higher than “1”) in terms of socio-economic predictors; this statement is justified in "Modeling the ratio R0" section. Hence, the health care system effectiveness cannot be assessed nor quantified without including the interactions with other parameters such as population elderly. Indeed, in the present work, it was proved and concluded that the infection spread, expressed by the R0 ratio, tightly depends on the interaction of HCI and the elderly parameter so that it is neither obvious nor logical to interpret the level of the health care system efficiency of a country independently on the age structure of the corresponding population. Hence, deeper analysis should be performed to draw a reliable picture of the correlation between the public health system and the infection state of a country. In consequence, the authors assume that the models that do not integrate interactions or higher order terms should present modeling bias or missing links in infection interpretation according to public health effectiveness even if they could show significant fitting parameters.

HDI, GDP, and Tav variables: a multidimensional analysis

Liu et al. (2021) presented one of the earlier papers in the literature that exhibited the unexpected positive correlation between HDI and the risk of infection and deaths of COVID-19. The infection rate and fatality rate of seven regions in Italy was modeled by means of HDI index, as a composite factor, but also according to the sub-components of the HDI such as the Average Annual Gross Salary. Liu et al. models statically proved the positive correlation between both infection and fatality rates with the HDI [61]. Identical conclusions were notified by Troumbis (2021) [66], and Thazhathedath Hariharan et al. [64]; in order to well interpret these findings, a particular attention was given to the high level of life expectancy of populations in the richest countries that have high HDI which can cause the increase of more death according the corresponding high elderly [63, 64]. Moreover, Thazhathedath Hariharan et al. [64] tried to find out an eventual multidimensional explanation of the infection by coupling socio-economic factors to environmental ones such as temperature, temperature anomaly, and humidity. The results of the corresponding simulations showed that the low temperature could allow the proliferation of the viruses but also temperature may cause host shifts (denoted as temperature anomalies) for viruses and increases the susceptibility of more susceptible species. Nevertheless, after including HDI in the models, the environmental factors lost their effects and temperature becomes meaningless compared to HDI and could not describe COVID-19 transmission [64]. In another hand, Ahmed et al. [65] included GDP and life expectancy among numerous other environmental factors (temperature, humidity…). The study concluded that the infection decreases with GDP but could not propose reliable remarks regarding temperature-infection relationship [65]. Muraniya and Varga [66] exhibited same conclusions on the GDP-infection infection in the case of rich countries; In contrast, for low income countries the infection spread is correlated to population density and health care conditions [66]. A biological explanation of the GDP-infection relation in rich countries, this relation is likely associated to the unbalanced ecological milieu and to the perturbation of the natural immunity (in terms of micro-organisms) that could be caused by the industrial stress and by pollution emission in such developed countries [66]. In the same way, Varotsos et al. [67] associated the death increase to HDI and the infection evolution to the GDP per capita. Anam et Shor [68] statistically found that COVID-19 infection decreases with temperature but increases according to GDP as proposed by the previous references.

According to the previous reading, the main remark is that the models already used in the literature did not present neither interaction terms nor high order parameters in terms of temperature, HDI, and GDP dependency; the authors based their analysis on one order parameters, while neither discussion nor analysis of multicollinearity verification or assessment is introduced apart Ahmed and coauthors [65] who reported that multicollinearity of the parameters vectors of his study will not bring perturbation to the interpretation of his models. This latter remark is fundamental in this comparison paragraph. For instance, Thazhathedath Hariharan [64] found that the effect of temperature could be negligible if the HDI parameter is introduced in the analysis. Furthermore, GDP parameter was found in the literature to be a increaser factor of infection in the case of richest countries, but for the other countries, its effect vanishes in presence of demographic factors [66]. According to our findings, reported in Fig. 9, the simulations proved that the profile of the infection-slow down (in terms of J* day) according to GDP parameter is associated to the temperature, and the GDP-infection relation is not as linear as it appears; as mentioned in Summary of the findings section, J*(GDP) is a concave curve, that depends on the other socio-economic factors. Temperature also affects heavily the profile of J*(CO2) where it is either increasing or decreasing according to temperature level. Hence, the key-point of modeling proposed in this paper is that the order of modeling should be higher than those proposed in the literature and the relationships between the infection and death rates or cases must be analyzed deeper in a multidimensional perspective.


In this paper, it is proposed to draw up a macro-scale approach for understanding the pandemic propagation of COVID-19 according to socio-economic indicators. For the disease description, two main indicators were adopted; the critical shift day J*, that was proposed for the first time in this work which characterizes the first important decrease of the disease, and the reproduction number R0 that summarizes the macroscale infection time-kinetics. The study focused then on the early age of the pandemic. The methodology adopted was presented in general, and the case of SARS-COV-2 pandemic was analyzed by means of the basic SIR model. Fifty-two countries were selected according to data availability and completeness. Then, R0 and J* constituted the dependent variables to be modeled according to the socio-economic factors. Concerning the stepwise regression procedure, 2/3 of the countries were selected for the training phase and the last 1/3 served for the test phase.

The first phase of this research was achieved by means of the cascade algorithm that is composed by four sub-algorithms that were designed and implemented for each selected country. First, β and μ were computed by adapting PDA analysis to linear parameters problem. Consequently, the reproduction number R0 was estimated according to β and μ. Injecting these results in the RGFA algorithm, the optimal initial input \({I}_0^{\ast }\) was determined, and the critical shift day J* was selected using the PWP algorithm that was developed in this paper. In the second phase of modeling, a series of SW-MLR were launched to model J* and R0. The candidate independent variables selected initially are the socio-economic parameters. Furthermore, data and structural multicollinearity were taken into consideration, treated, and eliminated within the stepwise regression procedures leading to reliable and accurate general quadratic models.

A detailed comparative study was conducted by means of a benchmark which focused on the multidimensionality of COVID-19 spread in association to the adopted socio-economic vision. This comparative study allowed pointing out the main novelties brought by our research in term of interactions and higher order models terms instead of first order parameters; in fact, this should reinforce the understanding of the pandemic spread in a wider window of the public health and to avoid neglecting the likely weak relationships between the infection statistics and some socio-economic or environmental factors. Indeed, in a first order analysis, some factors appear to be not significant, but by implementing higher order or interaction terms, this insignificance relation seems to be not negligible as the infection profile varies significantly after increasing the factors modeling order.

Future works will focus on the effect of the elderly-based age analysis on the outbreak’s propagation and its dependence to other socio-economic factors; other works will be dedicated to the computing of the optimal DBLD parameters for each country and comparative scenarios are to be developed in the case of optimal DBLD factor. In addition, the authors are working on an extension of the SIR model to a new Opened-SIR (O-SIR) model that will be coupled to socio-economic factors for a deeper understanding of the pandemic spread in a meso-scale perspective. Further works will focus on to the mathematical analysis of the algorithms that were proposed in this paper in term if complexity formulation, computation, convergence analysis, and applicability to other case of study related to epidemiological modeling and industrial applications.

Finally, the authors invite the readers to share their comments and critics in order to widen the perspectives of this analysis.

Availability of data and materials

Data were gotten from online resources as it is exhibited in Table 2.



Coronavirus disease 2019


Gross Domestic Product per Capita


Human Development Index


Health Care Index


Global Social Mobility Index


CO2 emission in millions of tons


Water Consumption in millions of m3


Number of Days Before LockDown


Elderly of population (that are more than 65 Years old)


Average temperature in °C (computed for the last 20 years)


Random variable


Mean Square Error


Root Mean Square Error


Susceptible-infectious-recovered model



P&C :

Prevention and Control


  1. Post RAJ, Regis M, Zhan Z, et al. How did governmental interventions affect the spread of COVID-19 in European countries? BMC Public Health. 2021.

  2. Colombo RM, Garavello M, Marcellini F, Rossi E. An age and space structured SIR model describing the Covid-19 pandemic. J Math Ind. 2020.

  3. Correia AM, Mena FC, Soares AJ. An application of the SIR model to the evolution of epidemics in Portugal. In: Peixoto M, Pinto A, Rand D, editors. Dynamics, games and science II. Springer Proc. in Math, vol. 2. Berlin, Heidelberg: Springer; 2011. p. 247–50.

    Chapter  Google Scholar 

  4. Kantner M, Koprucki T. Beyond just flattening the curve: optimal control of epidemics with purely non-pharmaceutical interventions. J Math Ind. 2020.

  5. Vizi Z, Kiss IZ, Miller JC, Rost G. A monotonic relationship between the variability of the infectious period and final size in pairwise epidemic modelling. J Math Ind. 2019.

  6. Maier B-F, Brockmann D. Effective containment explains subexponential growth in recent confirmed COVID-19 cases in China. Science. 2020.

  7. Nadim SS, Ghosh I, Chattopadhyay J. Short-term predictions and prevention strategies for COVID-19: a model-based study. Appl Math Comput. 2021.

  8. Bianconi A, Marcelli A, Campi G, Perali A. Ostwald growth rate in controlled Covid-19 epidemic spreading as in arrested growth in quantum complex matter. Condens Matter. 2020.

  9. Bouchnita A, Jebrane A. A hybrid multi-scale model of COVID-19 transmission dynamics to assess the potential of non-pharmaceutical interventions. Chaos Solitons Fract. 2020.

  10. Katriel G. Existence of periodic solutions for the periodically forced sir model. J Math Sci. 2014.

  11. Gountas I, Quattrocchi A, Mamais I, et al. Effect of public health interventions during the first epidemic wave of COVID-19 in Cyprus: a modelling study. BMC Public Health. 2021.

  12. Zhu G, Zhu Y, Wang Z, et al. The association between ambient temperature and mortality of the coronavirus disease 2019 (COVID-19) in Wuhan, China: a time-series analysis. BMC Public Health. 2021.

  13. Adiyoso W. Social distancing intentions to reduce the spread of COVID-19: the extended theory of planned behavior. BMC Public Health. 2021.

  14. Lieberman-Cribbin W, Alpert N, Flores R, et al. A risk index for COVID-19 severity is associated with COVID-19 mortality in New York City. BMC Public Health. 2021.

  15. Nader IW, Zeilinger EL, Jomar D, et al. Onset of effects of non-pharmaceutical interventions on COVID-19 infection rates in 176 countries. BMC Public Health. 2021.

  16. Lee B, Hanley JP, Nowak S, et al. Modeling the impact of school reopening on SARS-CoV-2 transmission using contact structure data from Shanghai. BMC Public Health. 2020.

  17. Imbulana Arachchi J, Managi S. The role of social capital in COVID-19 deaths. BMC Public Health. 2021.

  18. Kaufman BG, Whitaker R, Mahendraratnam N, et al. State variation in effects of state social distancing policies on COVID-19 cases. BMC Public Health. 2021.

  19. Accessed 15 Dec 2020.

  20. Hasell J, Mathieu E, Beltekian D, et al. A cross-country database of COVID-19 testing. Sci Data. 2020.

  21. Accessed 15 Dec 2020.

  22. World Economic Outlook, GDP per capita, International Monetary Fund. Accessed 30 Mar 2020.

  23. The World Bank. Accessed 15 Dec 2020.

  24. United Nations Development Program. Human development reports. Accessed 15 Dec 2020.

  25. Numbeo, health care, ranking by country. Accessed 15 Dec 2020.

  26. World Economic Forum. The global social mobility report 2020 equality, opportunity and a new economic imperative-insight report, Switzerland. 2020.

    Google Scholar 

  27. Office of the European Union. Fossil CO2 emissions of all world countries - 2018 report. 2018. Retrieved 10 March 2019.

    Google Scholar 

  28. Worldometers. Water. Accessed 15 Dec 2020.

  29. Mitchell TD, Carter TR, Jones PD, Hulme M, New M. A comprehensive set of high-resolution grids of monthly climate for Europe and the globe: the observed record (1901-2000) and 16 scenarios (2001-2100). Tyndall Centre Working Paper No. 55, 2004. pp. 1–5.

  30. Ramsay JO, Silverman BW. Functional data analysis, Springer series in statistics. second Edition. New York: Springer; 2005.

  31. Scitovski R, Jukic D. A method for solving the parameter identification problem for ordinary differential equations of second order. App Math Comput. 1996.

  32. Varah JM. A spline least square method for numerical parameter estimation in differential equations. SIAM J Stat Comput. 1981.

  33. Kallrath J. Least square parameter estimation in chaotic differential equations. Celest Mech Dyn Astr. 1993.

  34. Ramsay JO. When the data are functions. Psychometrika. 1982.

  35. Ramsay JO. Principal differential analysis: data reduction by differential operators. J R Statist Soc B. 1996;58(3):495–508.

    Google Scholar 

  36. Ramsay JO, Silverman BW. Applied functional data analysis: methods and case studies, Springer series in statistics. New York: Springer; 2002.

  37. Ramsay JO, Hooker G, Graves S. Functional data analysis with R and Matlab. Use R! edition: Springer; 2009.

  38. Ramsay JO, Hooker G. Dynamic data analysis: modeling data with differential equations, Springer series in statistics. New York: Springer; 2017.

  39. Malinvaud E. Statistical methods of econometrics (French version). Paris: Dunod; 1984.

  40. Audet C, Hare W. Derivative-free and blackbox optimization, Springer series in operations research and financial engineering. Cham: Springer; 2017.

  41. Tesfay YY. Statistical process control (SPC). In: Developing structured procedural and methodological engineering designs. Cham: Springer; 2021.

  42. Pillet M. Appliquer la Maîtrise Statistiques des Processus (French version). Paris: Editions d’Organisation; 2005.

  43. Efroymson MA. Multiple regression analysis. In: Ralston A, Wilf HS, editors. Mathematical methods for digital computers. New York: Wiley; 1965.

  44. Draper NR, Harry S. Applied regression analysis, Wiley series in probability and statistics. 3rd ed. New York: Wiley; 1998.

  45. Huet S, Bouvier A, Gruet M-A, Jolivet E. Statistical tools for nonlinear regression, Springer series in statistics. New York: Springer; 1996.

  46. Faraway J-J. Extending the linear model with R (generalized linear, mixed effects and nonparametric regression models). 2nd ed. New York: CRC Press; 2016.

  47. Dietrich D, Heller B, Yang B. Data science and big data analytics: discovering, analyzing, visualizing and presenting data. Indianapolis: Wiley: EMC Education Services; 2015.

  48. Belslay D. Regression diagnostics, identifying influential data and sources of collinearity. New Jersey: Wiley-Interscience; 2004.

  49. Kutner M-H, Nachtsheim C-J, Neter J. Applied linear regression models. 4th ed. New York: MC Grasw-Hill/Irwin; 2004.

  50. Sheather S-J. A Model approach to regression with R. springer texts in statistics. New York: Springer; 2009.

  51. Alfano V, Ercolano S. The efficacy of lockdown against COVID-19: a cross-country panel analysis. Appl Health Econ Health Policy. 2020;18(4):509–17.

  52. Kharroubi S, Saleh F. Are lockdown measures effective against COVID-19? Front Public Health. 2020;8:549692.

  53. Born B, et al. The lockdown effect: a counterfactual for Sweden. PLoS One. 2021;16(4):e0249732.

  54. Padhi A, et al. Studying the effect of lockdown using epidemiological modelling of COVID-19 and a quantum computational approach using the Ising spin interaction. Sci Rep. 2020;10:21741.

  55. Floyd TM, Rogers J. Lockdown-type measures look effective against covid-19. BMJ. 2020;370.

  56. O’Driscoll M, et al. Age-specific mortality and immunity patterns of SARS-CoV-2. Nature. 2021;590:140–5.

  57. Ram V, Schaposnik L. A modified age-structured SIR model for COVID-19 type viruses. Sci Rep. 2021;11:15194.

  58. Nikolich-Zugich J, et al. SARS-CoV-2 and COVID-19 in older adults: what we may expect regarding pathogenesis, immune responses, and outcomes. GeroScience. 2020;42:505–14.

  59. Posch M, et al. Analysis of Austrian COVID-19 deaths by age and sex. Wien Klin Wochenschr. 2020;132:685–9.

  60. Calafiore G, Fracastoro G. Age structure in SIRD models for the COVID-19 pandemic - a case study on Italy data and effects on mortality. PLoS One. 2022;17(2):e0264324.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  61. Liu K, et al. Unexpected positive correlation between human development index and risk of infections and deaths of COVID-19 in Italy. One Health. 2020;10:100174.

    Article  PubMed  PubMed Central  Google Scholar 

  62. Libório M, et al. Factors that most expose countries to COVID-19: a composite indicators-based approach. GeoJournal. 2021;2:1–15.

    Article  Google Scholar 

  63. Troumbis A. Testing the socioeconomic determinants of COVID-19 pandemic hypothesis with aggregated human development index. J Epidemiol Community Health. 2021;75(4):414–5.

    Article  Google Scholar 

  64. Thazhathedath Hariharan H, et al. Global COVID-19 transmission and mortality-influence of human development, climate, and climate variability on early phase of the pandemic. Geohealth. 2021;5:e2020GH000378.

    Article  PubMed  PubMed Central  Google Scholar 

  65. Ahmed J, et al. Effect of environmental and socio-economic factors on the spreading of COVID-19 at 70 cities/provinces. Heliyon. 2021:e06979.

  66. Murányi A, Varga B. Relationship between the COVID-19 pandemic and ecological, economic, and social conditions. Front Public Health. 2021;9:694191.

    Article  PubMed  PubMed Central  Google Scholar 

  67. Varotsos CA, et al. Diagnostic model for the society safety under COVID-19 pandemic conditions. Saf Sci. 2021;136:105164.

    Article  PubMed  PubMed Central  Google Scholar 

  68. Anam S, Shar NA. Effect of environmental, economic and health factors on CoVid-19 transmission. Bioinformation. 2021;17(1):37–45.

    Article  PubMed  PubMed Central  Google Scholar 

  69. Sengupta P, et al. An analysis of COVID-19 clusters in India: two case studies on Nizamuddin and Dharavi. BMC Public Health. 2021;21:631.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  70. Wang X, et al. Effects of medical resource capacities and intensities of public mitigation measures on outcomes of COVID-19 outbreaks. BMC Public Health. 2021;21:605.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  71. Zhong X, et al. Evaluation of the quality of COVID-19 prevention and control by a novel comprehensive evaluation model in a tertiary general hospital: a prospective observational study. BMC Public Health. 2021;21.

  72. Ayouni I, et al. Effective public health measures to mitigate the spread of COVID-19: a systematic review. BMC Public Health. 2021;21:1015.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  73. Bazaraa MS, Sherali HD, Shetty CM. Non-linear programming – theory and algorithms. 3rd ed. New Jersey: Wiley – Interscience; 2006.

    Book  Google Scholar 

  74. Boyd S, Vandenberghe L. Convex optimization. Cambridge: Cambridge University Press; 2004.

    Book  Google Scholar 

Download references


Not applicable.


This research is funded by “Academie Hassan II des Sciences et Techniques” of Morocco under the project title “Mutli-scale modeling of COVID-19 propagation: Decision making design for health crisis management”. This projects aims to develop a multiscale approach and then a decision making platform that should help different stakeholders in such pandemic crisis. The funder finances also the salary of Mr. Mehdi Zhar who is currently a young researcher (engineer) in Euromed Center of Research. The contribution of Mr. Zhar is detailed in the authors’ contributions section.

Author information

Authors and Affiliations



ME-J wrote the paper, contributed to the conceptualization of the research, to data extraction, cleaning, and organization. He designed the algorithms, performed the mathematical developments, and was a major contributor in algorithms implementation, figures and tables production; the author also carried out the benchmark study. MZ was a major contributor in the algorithms’ implementation and resulting data, figures, and tables. DO initiated the reflection about the analysis of COVID-19 trends according to socio-economic parameters; he contributed to the conceptualization of the research, editing of the manuscript, modeling methodology, results’ discussion. IA designed the RGFA algorithm for initial conditions identification. NS collected the input datasets and contributed to the data pre-treatment. He was also a major contributor in the results’ discussion. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Mostapha El Jai.

Ethics declarations

Ethics approval and consent to participate

Not applicable.

Consent for publication

Not applicable.

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Additional file 1.

SIR parameters identification by Least square minimization and PDA approach [73, 74].

Additional file 2.

Plot of the observed and the simulated infection rates.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

El Jai, M., Zhar, M., Ouazar, D. et al. Socio-economic analysis of short-term trends of COVID-19: modeling and data analytics. BMC Public Health 22, 1633 (2022).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: