Next Article in Journal
Identifying Long COVID Definitions, Predictors, and Risk Factors in the United States: A Scoping Review of Data Sources Utilizing Electronic Health Records
Previous Article in Journal
MSProfileR: An Open-Source Software for Quality Control of Matrix-Assisted Laser Desorption Ionization–Time of Flight Spectra
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Analysis of the Epidemic Curve of the Waves of COVID-19 Using Integration of Functions and Neural Networks in Peru

by
Oliver Amadeo Vilca Huayta
1,*,
Adolfo Carlos Jimenez Chura
1,
Carlos Boris Sosa Maydana
1 and
Alioska Jessica Martínez García
2
1
Departamento de Ingeniería de Sistemas, Universidad Nacional del Altiplano, Puno 21001, Peru
2
Departamento de Arquitectura, Universidad Nacional del Altiplano, Puno 21001, Peru
*
Author to whom correspondence should be addressed.
Informatics 2024, 11(2), 40; https://doi.org/10.3390/informatics11020040
Submission received: 25 March 2024 / Revised: 28 May 2024 / Accepted: 4 June 2024 / Published: 7 June 2024
(This article belongs to the Section Health Informatics)

Abstract

:
The coronavirus (COVID-19) pandemic continues to claim victims. According to the World Health Organization, in the 28 days leading up to 25 February 2024 alone, the number of deaths from COVID-19 was 7141. In this work, we aimed to model the waves of COVID-19 through artificial neural networks (ANNs) and the sigmoidal–Boltzmann model. The study variable was the global cumulative number of deaths according to days, based on the Peru dataset. Additionally, the variables were adapted to determine the correlation between social isolation measures and death rates, which constitutes a novel contribution. A quantitative methodology was used that implemented a non-experimental, longitudinal, and correlational design. The study was retrospective. The results show that the sigmoidal and ANN models were reasonably representative and could help to predict the spread of COVID-19 over the course of multiple waves. Furthermore, the results were precise, with a Pearson correlation coefficient greater than 0.999. The computational sigmoidal–Boltzmann model was also time-efficient. Moreover, the Spearman correlation between social isolation measures and death rates was 0.77, which is acceptable considering that the social isolation variable is qualitative. Finally, we concluded that social isolation measures had a significant effect on reducing deaths from COVID-19.

1. Introduction

The COVID-19 pandemic caused severe social, economic [1,2,3], and psychological problems around the world, with a huge loss of human life [4]. According to the World Health Organization (WHO), up until 25 February 2024, the number of COVID-19 deaths (the cumulative total) was more than seven million, with 7141 in the 28 days leading up until that date (among which 84 were Peruvians) [5]. As a result, coronaviruses, the COVID-19 pandemic, and new variants are a notable subject of study in the scientific community [6,7,8,9]. In addition, the cumulative number of deaths is the most critical indicator of the impact of the pandemic in most countries, showing typical behavior in the form of waves [10].
A representative or explanatory function of COVID-19 waves would help in the theoretical and practical study of the behavior of its spread. This interest extends to sociology, biology, psychology, economics, mathematics, statistics, and other sciences. Furthermore, predictions are essential for decision-making [11,12]; thus, explanatory models and forecasting mechanisms for COVID-19 waves are extremely useful, for example, regarding the implementation of social distancing by authorities. In addition, they can also be used in the hypothetical emergence of new pandemics [13].
Sigmoidal models adequately represent and describe COVID-19 waves. There are various works based on specific models, such as those by Gompertz, Brody, and von Bertalanffy [7,14,15,16,17]. In particular, the sigmoidal–Boltzmann model has a simple representation as compared to other similar examples (e.g., the Gompertz model), which is convenient considering that the execution time is an important factor in numerical algorithms in nonlinear regression.
The sigmoidal–Boltzmann mathematical model has been used to study the propagation of the number of individuals infected by COVID-19. In this, a method for two waves [18] and later for successive waves was proposed [19].
In addition, artificial intelligence (AI), machine learning (ML), and artificial neural network (ANN) techniques have been used in many areas [20,21,22,23,24,25] for the study of COVID-19 [26,27,28]. When a single high-accuracy prediction model is insufficient [29] to model the number of confirmed coronavirus deaths, artificial neural network techniques are used [30]. However, there is no previous work on the association between social isolation measures and the rate of death from COVID-19 infections [31].
This research hypothesizes that sigmoid functions fit well to the global cumulative number of deaths. The Peruvian dataset was used; however, similar results would likely be obtained in other countries.
To demonstrate the usefulness of the results, the correlation between social isolation measures and death rates from COVID-19 was additionally analyzed. For this purpose, the variables were adapted, which constitutes a novel contribution.
The most important contributions of this research are as follows: (a) the modeling, analysis, and comparison of the two models (the sigmoidal–Boltzmann and ANN models) of the number of COVID-19 deaths; (b) the calculation and study of the correlation between the social isolation and mortality rate from COVID-19.
We conclude that the models are novel and fit the data quite well (with a strong and positive correlation). Furthermore, they can be used to accurately predict the spread of COVID-19 with multiple waves, as demonstrated by the case study (Peru). The ANN model produced a slightly better Pearson correlation coefficient and did not require the data to follow an epidemic pattern. However, the ANN required much more time to perform the calculation. On the other hand, the sigmoidal–Boltzmann model is useful to form an explanatory model. The main drawback is that if the data do not follow a sigmoidal pattern, then the model might not fit. However, in practically all countries, COVID-19 registered sigmoidal behavior. Finally, the results demonstrate that social isolation measures had a significant effect on the reduction in deaths from COVID-19, with an acceptable Spearman correlation.
The remainder of this paper is organized as follows: Section 2 presents the “related work”. Section 3 describes “the materials and methods”. Section 4 shows the main “results”, whereas Section 5 discusses “the case study (Peru)”. Finally, Section 6 summarizes the main conclusions.

2. Related Work

We used two versions of the integration of functions method, i.e., the concatenation of functions: the mathematical version and the computational version [14]. The novelty was the use of the sigmoidal–Boltzmann model for all COVID-19 waves. This produced better correlation and determination coefficients, i.e., goodness of fit, which summarizes the similarity between the observed values and the values expected under the model. Furthermore, the proposed model was efficient in terms of execution time due to its simple structure as compared to similar examples.
Aferni et al. applied the sigmoidal–Boltzmann mathematical model to study the spread of COVID-19 in different countries for the cumulative number of infected individuals [18] for two waves. Later, they studied the use of sigmoidal models for successive COVID-19 waves [19]. A concrete method and computer program are necessary to work with many waves and consider possible pandemics in the future.
No studies consider all COVID-19 waves using integrated functions in the Peruvian case specifically. For Peruvian COVID-19 infection data, one research study used Mitchell’s criteria [32], and there are studies using times series [33], which are different methods from those used in this work.
On the other hand, there are many proposals for COVID-19 prediction using artificial neural networks [8,30,34,35]. For example, deep learning methods were used in Australia and Iran, and the authors concluded that the results could be useful for organizations working with COVID-19 [36]. In Mexico, artificial neural networks and the Gompertz model were used, where the neural networks achieved a better correlation [26] (note: sigmoidal models have the great advantage of reporting parameters of an epidemic/pandemic). ANNs were also used in Brazil and Mexico [37].
In Russia and Brazil, models based on artificial intelligence were used [38]. Those studies indicated that forecasting was a critical issue, and the principal recommendation was “total lockdown with more restrictions”. Using data from China and other countries, the authors of one study concluded that ANNs were adequate to predict confirmed global infected cases and deaths of COVID-19; they also recommended that people should gather less, especially in places with poor air mobility [34]. These recommendations were useful at the beginning of the pandemic, and social isolation was the main strategy used to control the pandemic [39,40,41].
There are many works on the effects of social isolation on human beings but almost no studies regarding the relationship between social isolation and the rate of COVID-19 cases [31]. Finally, one study explains that social isolation indices were not associated with the evolution of the pandemic, but sales of hydroxychloroquine (HCQ) and chloroquine (CQ) were significantly correlated with it (in the state of Santa Catarina in southern Brazil) [42].

3. Materials and Methods

A quantitative methodology was used, with a non-experimental, longitudinal, and correlational design. The study was retrospective with an analytical approach. Nonlinear regression (the statistical numerical method [43]) was used with a correlational hypothesis specific for coronavirus in Peru. Additionally, artificial neural networks were used.

3.1. Dataset

The dataset of the cumulative number of deaths for each country can be downloaded from the Johns Hopkins University Center for Systems Science and Engineering data repository [44] https://github.com/CSSEGISandData/COVID-19 (accessed on 1 December 2023). It is the only data source for the case study (Peru).
The dataset is a time series composed of 1099 days. The first day corresponds to the first death from COVID-19 and extends until day X = 1099 with Y = 219,539 accumulated deaths. The cumulative number of deaths is counted in thousands for representation purposes (e.g., in graphs). The information is complete, and there are no invalid or outlier data.
Two dummy variables [45] were added that indicate the wave number: the first X1 was indexed with consecutive numbers (the first wave with 1, the second with 2, the third with 3, and so on), and the second variable X2 was indexed with powers of 2 (the first wave with 1, the second with 2, the third with 4, …, the nth with 2n−1).

3.2. Inflection Points

The inflection points [46] are limits that indicate the end and beginning of waves. They were calculated as follows:
First, the data were fitted to a third-degree polynomial function P(x) = D + A·x + B·x2 + C·x3 (using the R statistical software, version 4.3.3). It was an elementary function within the set of functions that had at least one inflection point. In addition, the second derivative was easy to obtain P ( x ) = 4 · B + 6 · C · x . There were other functions, for example, P x = x / ( 1 x 2 ) , with one inflection point and P ( x ) = x / ( 1 x 2 3 ) with three inflection points. Finally, P ( x 0 ) = 0 was solved, and the solution was the inflection point x 0 = b / ( 3 c ) (since it satisfied P ( x 0 ) 0 ).
In the full scatter plot (the entire time series), concavity changes can be observed in the first two waves, but they are difficult to distinguish in the last two. However, if we zoom in, we can see the concavities. To illustrate, Figure 1 shows the cumulative deaths from day 740 to 874 (the full figure is shown in Section 5). The blue diamond indicates the calculated inflection spots, i.e., the third of fourth.

3.3. The Sigmoidal–Boltzmann Function

The sigmoidal–Boltzmann model is a function for a time series [47] and a particular case of the logistic function.
F ( x ) = I T O P I B O T T O M 1 + e Z x D + I B O T T O M
where
x is the number of days since the first case (the independent variable);
I B O T T O M and I T O P are the lower and higher asymptotes, respectively;
F(x) describes the expected cumulative number of deaths as a function of the day x; it varies from I B O T T O M to I T O P ;
Z is the center (halfway between the I B O T T O M and I T O P value);
D is the pandemic relaxation constant;
e is Euler’s number.
In order to simplify the work, the model parameters were reduced, and Equation (2) was used in the program:
F ( x ) = I 1 + e Z x D
where I = I T O P I B O T T O M is the height.

3.4. The Program

All formulas and graphs, including data dispersion and curves, were obtained with a computer program; therefore, the functions are error-free.
The program was built for general purposes. It can be run with data from any country and work with the necessary number of waves. It can even be used in other applications (not necessarily with sigmoidal functions).
Two functions are particularly useful: the first is the function that calculates the model parameters (ModelParam), which was invoked once for each wave of COVID-19; the second function is to export the functions (results) in LaTeX format [48,49], which can be used in a word processor (e.g., Microsoft Word or LaTeX itself); similarly, the functions can be exported to Octave for mathematical analysis. Algorithm 1 explains the modeling procedure.
Algorithm 1. Algorithm for modeling COVID-19
1Preprocessing: Load data, prepare data structures, scale data, and configure constants and variables.
2Calculation of model parameters: Translate coordinates and estimate parameters (with an auxiliary function).
3Construction of the Boltzmann function. Build the integrated function (with a loop according to the number of waves).
4Results: Report the model parameters and the correlation coefficient. Additionally, it can be exported in LaTeX format.
5Graphics: Set graphics plot style (e.g., line and color) and save them to a JPG file format.

4. Results

4.1. Integration of Functions

4.1.1. The Mathematical Version

Let H1(x), H2(x), …, Hn(x) be functions for n consecutive waves, which are combined into a single function and activated by the following Dp coefficient: F(x) = D1 × H1(x) + D2 × H2(x) + … + Dn × Hn(x), adding feature q to the training data (for example, consecutive numbers) [14], the coefficients are presented in Table 1.
The way to obtain the coefficients, according to q, is given by the following:
F x = w = 1 5 i = 1 w 1 ( i q ) j = w + 1 5 ( j q ) 5 w ! 1 w 1 w 1 ! H w ( x )
where w is the wave number, Hw(x) is the sigmoidal function, and x is the day number since the first case. Specifically, for n = 5 waves, the coefficients are as follows:
F x = 2 q 3 q 4 q 5 q 24 H 1 x       1 q 3 q 4 q 5 q 6 H 2 x + 1 q 2 q 4 q 5 q 4 H 3 x 1 q 2 q 3 q 5 q 6 H 4 x + 1 q 2 q 3 q 4 q 24 H 5 x
This result is general for five waves and can be applied to any dataset that presents five waves with sigmoidal behavior or otherwise. Peru had five COVID-19 waves.
If q = 2 , wave two will be activated, so the formula can be reduced to the following:
F ( x ) = 1 2 3 2 4 2 5 2 6 H 2 ( x ) = H 2 ( x )

4.1.2. The Computational Version

Using the bitwise AND (logic conjunction) operator, the values of q must be recorded in powers of two (e.g., 1, 2, 4, 8, 16, 32, …).

5. Results: The Case Study

Peru is situated in western South America. It is bordered to the north by Ecuador and Colombia, to the east by Brazil and Bolivia, to the south by Chile, and to the west by the Pacific Ocean. Its territory covers more than 1.2 million square kilometers, and it is the 19th largest country in the world. According to estimates from the National Institute of Statistics and Informatics (in Spanish, “Instituto Nacional de Estadística e Informática”), as of 30 June 2020, Peru had 32,625,948 inhabitants. Administratively, it is divided into 24 departments and the constitutional province of Callao. It is considered an emerging economy [50].

5.1. Modeling the Number of Deaths with the Sigmoidal–Boltzmann Model

The procedure explained in Section 3 (Materials and Methods) was used to build the model. The calculations were performed on a HP 11th Generation Intel(R) Core™ i7 2.80 GHz.
The sigmoidal–Boltzmann function was used to model the number of deaths from COVID-19 in Peru. Five sigmoidal–Boltzmann functions were obtained, one for each wave. The first death was on 6 March 2020, and the time series extends until 9 March 2023. In Figure 2, we can see the observed data (grey), the Boltzmann_1 function for the initial wave (in solid green), the Boltzmann_2 function for the second wave (in dashed red), the Boltzmann_3 function for the third wave (in solid brown), the Boltzmann_4 function for the fourth wave (in dashed black), and the Boltzmann_5 function for the fifth wave (in solid orange). The blue diamonds indicate the beginning and end of the waves.
In the curve observed in Figure 2 and in the parameters obtained from the sigmoidal–Boltzmann functions, it is possible to appreciate the behavior of the different COVID-19 waves. The first two waves were the largest, i.e., they lasted longer (in days), had a greater number of victims, and had a steeper slope, which denotes greater lethality. Among them, the second wave was the largest. The third wave followed with a significantly reduced propagation parameter; however, it is still possible to appreciate the wave. Finally, thanks to the function’s parameters (almost nothing can be distinguished in the figure), the fourth and fifth waves were obtained, which comprised the shortest duration in days and considerably fewer victims. In this situation, the pandemic was considered to be over.
In Peru, the first two waves were large compared to the subsequent three. Each wave followed a characteristic pandemic sigmoidal function behavior.
Figure 2 shows the adjusted sigmoidal–Boltzmann function, with a Pearson correlation R = 0.999 and an R2 = 0.9998, which are acceptable measurements. The correlation was not equal to zero.
For the case study, two versions were obtained, each with their advantages.
The mathematical version:
F x , q = ( 2 q ) ( 3 q ) ( 4 q ) ( 5 q ) 24 88.05 1 + e 128.95 x 30.88   ( 1 q ) ( 3 q ) ( 4 q ) ( 5 q ) 6 113.13 1 + e 390.65 x 34.36 + 86.49   + ( 1 q ) ( 2 q ) ( 4 q ) ( 5 q ) 4 14.18 1 + e 698.06 x 26.51 + 199.34   ( 1 q ) ( 2 q ) ( 3 q ) ( 5 q ) 6 3.61 1 + e 898.54 x 17.99 + 213.37   + ( 1 q ) ( 2 q ) ( 3 q ) ( 4 q ) 24 2.84 1 + e 1039.82 x 25.42 + 216.95
Since the aim was to interpret each wave and/or compare it to the others, factorization was not convenient.
The computational version:
F x , q = 1 & q 88.0523031784828 1 + e 128.947837721086 x 30.8842028198279 + 2 & q 2 113.134798157723 1 + e 390.646598113112 x 34.3577184587891 + 86.494319938969   + 4 & q 4 14.1794864762939 1 + e 698.060340071443 x 26.5109491687126 + 199.342863983966   + 8 & q 8 3.6142699375098 1 + e 898.537916563547 x 17.9905316794466 + 213.370239468785   + 16 & q 16 2.83855114121401 1 + e 1039.81744551784 x 25.4208381314448 + 216.945886394536
The advantage of the two versions is that the functions and parameters for each wave are visible, allowing comparisons.
In Figure 2, the sigmoidal behavior of the curves is indistinguishable due to the size and scale (the ordinate axis represents more than 200,000 deaths, and the abscissa axis represents more than 1100 days). Figure 3 shows the last two waves of the pandemic. On the abscissa axis (horizontal), the same scale was maintained to correctly appreciate the duration of the waves (in days). As can be seen, the fourth and fifth waves only lasted a few days, with the fifth having the shortest duration.

5.2. Comparison with Classic Models

In this section, classical models are compared with the Boltzmann model. Fundamentally, the classical models were not able to outperform the Boltzmann model because the waves exhibit sigmoidal behavior with vertical and horizontal inflection points. Table 2 presents the analysis of the most common models.
In the spline model, the segment joining points are called nodes. For these, vertical and horizontal inflection points were used. Then, all that remained was to calculate a curve for each segment.
Figure 4 shows the estimated Spline function in red, the cumulative number of confirmed deaths (in thousands) per day (2020–2023). The observed data in black and the vertical lines in blue are the projected nodes (inflection points) that were used to build the model.
The spline model stood out among the classical models; however, the function did not fit as well as that of the Boltzmann model, and the correlation and determination coefficients were R = 0.9979443 and R2 = 0.9958928, respectively. Another drawback is that it required ten segments (or nine inflection points), whereas the Boltzmann model only required five segments (specifically, four horizontal inflection points). Finally, the model had no epidemic parameters.

5.3. Correlation between Isolation Measures and the Mortality Rate

First, the social isolation measures in the case of Peru will be explained, followed by the procedure for calculating the correlation of the two variables.
The social isolation measures included the use of masks, border closures, police control, and others, as specified in law (Table 3).
In Table 3, group 1 is characterized by strict measures. In group 2, partial permission was granted for outdoor sports activities, as well as the use of beaches, temples, amongst others. Subsequently, for the third decree of group 2, alert levels (moderate, high, exceedingly high, and extreme) were established for the focused application of restrictions in each place.
The first death occurred on 6 March 2020, and the last occurred on 9 March 2023. Within this timeframe, there were two groups of isolation measures: the first began on 16 March 2020 and ended on 30 November 2020; the second began on 1 December 2020 and ended on 31 May 2021.
For the social isolation measures, we assigned a value of one to the days with social isolation measures and zero to the days without social isolation measures, according to Table 3.
In addition, it was necessary to consider the pandemic death rate, not the cumulative number of deaths (as seen in Figure 2). Therefore, the first derivative of the functions F ( x , p ) was calculated. The new function F ( x , p ) represents the increase or decrease in the death rate. The ordinate axis is the slope or gradient (velocity). It was positive because successive values of F ( x , p ) always increased or at least remained the same (the cumulative variable).
A wave can be large according to two main dimensions: the abscissa axis, which indicates the duration in days, and the ordinate axis, which explains the rate of growth of the cumulative number of deaths.
In Figure 5, F ( x , p ) , or the rate of death, is shown in blue, and the days with social isolation measures are shown in shaded bands (group 1 in yellow and group 2 in orange). The first two waves were large, and the subsequent waves were progressively smaller, until they ended up practically flat. Isolation measures were in effect during the first two waves, and there were no isolation measures as the waves became considerably smaller.
As derived from the computational version (the blue curve in Figure 5), the death rate of the change function is as follows:
F x , q = 1 & q 1193956 533205 π Cosh 2 709 x 13940 π 4008686 1920235 + 2 & q 2 1238487 1504456 Cosh 2 123 x 8452 1597647 281029
where “Cosh” is the hyperbolic cosine function.

5.3.1. Statistical Results

The statistical report indicates that there was a positive and significant association between the isolation measures and the death rate, i.e., the size of the waves. The alternative hypothesis is as follows: the true rho is greater than 0 (with p-value = 2.2 × e 16 less than the significance level of 0.05).
The Spearman correlation was ρ = 0.7653103 . It should be highlighted that the Spearman correlation was used for numerical scores and ordinal categorical options (nonparametric correlation) [51,52].
There are a few investigations that aim to find correlations between COVID-19 (deaths, cases, etc.) and other variables, such as COVID-19 occurrences and hospitalizations and Contextual Social Determinants of Health (SDoHs) [9]. However, to the best of the authors’ knowledge, there are no studies on the correlation between social isolation measures and death rates from COVID-19.
In Figure 5, the curve begins to grow, which shows an exponential increase in the death rate from COVID-19. At the peak, the rate reaches its maximum value, which is interpreted as a change in the death rate (velocity). From this point on, the death rate begins to decrease until it almost flattens. The second wave has a greater height and higher death rates. Therefore, it is more significantly prolonged on the abscissa axis, which shows that it lasted longer in days and finally ended with a trend towards zero.

5.3.2. Discussion

The social isolation measures could be interpreted as “a weight placed on the waves of COVID-19” or a hammer blow that flattened or reduced the growth rate. Without them, the wave would have grown larger and reached higher mortality rates. We must clarify that the decline in the waves may have been due to other causes, and these may be unknown, inaccessible, and/or difficult or impossible to process.
Vaccination began on day 342 (9 February 2021), as counted from the first death (during the second wave). It was applied exclusively to intensive care medical personnel. When the 300,000 doses of vaccines arrived, it was declared “National Vaccination Day against COVID-19 in Peru” (Ministerial Resolution N. 924-2021-MINSA). The second batch of 276,000 doses arrived on day 410 (18 April 2021) (Organización Panamericana de la Salud), and the other groups arrived later. Therefore, the decline in the first wave was not due to vaccines, with vaccines playing a respective role in the later waves.

5.4. Modeling the Number of Deaths with the ANN

An artificial neural network (ANN) is constructed based on a mathematical structure of layers (the input layer, which is determined from the input variable; the hidden layer; and the output layers), in which information is inserted to model outputs through a learning process [53,54].
Optimal artificial neural networks were used to model the number of deaths in Peru [35,36] from 6 March 2020 to 9 March 2023.
The calculations were completed with the same computer used to develop the sigmoidal–Boltzmann model. All calculations to obtain the ANN model were carried out with Python language programming.
Figure 6 shows the number of deaths (grey) and the estimated data from the artificial neural network (blue). The comparison of these data exhibits a correlation of R = 0.9999 and an explained variance of 99.98% (R2).
The obtained model could at least represent the number of cumulative deaths caused by the COVID-19 pandemic.
We built a program in Python, the details and architecture of which are presented in the next subsection.

The Procedure and Architecture of the ANN

The data were normalized and split: 75% for training (green) and 25% for testing (blue).
The time series from t to t + 2 was the “feature” for a window of three time steps, while the target was from t + 1 to t + 3. The knowledge from t + 1 to t + 2 was used for training.
We used an LSTM (Long Short-Term Memory) ANN model with one input neuron, one-hundred hidden neurons, and one output neuron. A fully connected layer was used in the model. The first component consisted of the hidden states, one for every input time step. The second, which was not utilized, was the memory and hidden states. Finally, 500 epochs were used, with a lookback = 10 (lookback period).
Since it is a regression problem, Adam’s optimizer was used to minimize the mean square error (MSE) as the loss function. We evaluated the model’s performance once per 100 epochs, assessing both the training and test data.

5.5. Comparison

In the case study (Table 4), the artificial neural network model had a slightly better Pearson correlation coefficient. It did not require the data to follow an epidemic pattern. In general, it was also useful when the behavior of the data series was unknown.
However, the ANN model required much more time to perform the calculation than the sigmoidal–Boltzmann model, and it did not report the p-value and other statistics, which are fundamental for statistical inference. Moreover, in some cases (when there were several layers and neurons), it had many coefficients.
On the other hand, the sigmoidal–Boltzmann model was useful to form an explanatory model. Statistical inference could be used, and it could even be used for prediction (with the confidence interval). It also provided with pandemic parameters. The Pearson’s product–moment correlation was δ = 0.9999 . The procedure is deterministic, i.e., each execution always reports the same result (e.g., parameters, p-value, t-Student, degrees of freedom, amongst others). The drawback is that if the data do not follow a sigmoidal pattern, then the model might not fit. In this case, it is replaced with another function depending on the pattern of the data, and classical models (for example, exponential, logarithmic, square root, and polynomial), advanced models (for example, logistics, Poisson, Negative Binomial, Dirichlet), time series, and others can be used. However, in practically all countries, COVID-19 registered sigmoidal behavior, which represents a future avenue of study.
In terms of similarities, both are useful as representative/competitive models and even serve for predictions.
Finally, there was no absolute winner, with each model exhibiting virtues and disadvantages. We believe that it is better to have two models than one, as there is the option to compare them.

5.6. Limitations

The Peru dataset contains the number of deaths at a global level. It is not disaggregated by regions or cities (with the exception of, for example, Australia, Canada, China, and the United Kingdom). In addition, our results are limited to the constraints of the methodology and models. In the case of social isolation measures, we were limited to the adaptations made. The other variables were not available and/or were difficult or impossible to discretize.

5.7. Future Research Directions

This work can be extended to other countries and other epidemics/pandemics. To do so, it will be necessary to have access to a dataset, as was the case for COVID-19. For example, this year, Dengue (break-bone fever) has caused waves of infections and even deaths. This methodology could be useful for studying the behavior of the associated variables. In general, it is possible to study different phenomena that present certain patterns in their datasets.

6. Conclusions

The cumulative number of deaths from COVID-19 was modeled using artificial neural networks and sigmoidal–Boltzmann functions based on daily data from Peru. In addition, according to our pilot study, the results do not lose generality, i.e., similar results would be obtained in other countries.
The models are novel and fit the data reasonably well. Statistically, there was a strong, positive, and very significant correlation between the two variables, and the null hypothesis, i.e., the non-existence of a correlation, was rejected. Furthermore, the models could be used to accurately predict the spread of COVID-19 with multiple waves, as demonstrated in the case study (Peru).
In the case study, the ANN model had a slightly better Pearson correlation coefficient. Moreover, it did not require the data to follow an epidemic pattern. However, the model required much more time to perform the calculation than the sigmoidal–Boltzmann model.
On the other hand, the sigmoidal–Boltzmann model may be useful to form an explanatory model; specifically, the formula provides pandemic parameters. Statistical inference can be used, and it could even be used for predictions. The drawback is that if the data do not follow a sigmoidal pattern, then the model might not fit; however, there are other functions depending on the pattern of the data, and classical models (for example, exponential, logarithmic, square root, and polynomial), advanced models (for example, logistics, Poisson, Negative Binomial, Dirichlet), and time series can be used.
In conclusion, there was no absolute winner, with each model exhibiting advantages and disadvantages.
Additionally, the Boltzmann model was compared with classical models. In this, only the spline model stood out, but the function did not fit as well as that of the Boltzmann model.
The proposed method can be useful for other pandemics and for many general applications that involve certain patterns in the data. The procedure and program only require a change in the type of function.
Finally, the analytical results demonstrate that there was a positive and significant correlation between the isolation measures and the death rate from COVID-19, with an acceptable Spearman correlation considering that the social isolation variable is qualitative.

Author Contributions

Methodology, O.A.V.H.; project administration, A.C.J.C.; software, O.A.V.H.; supervision, C.B.S.M.; writing—original draft, A.J.M.G. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Universidad Nacional del Altiplano (UNA), grant number 48 (RR. N. 1588-2023-R-UNA).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data used in this study are available in the Johns Hopkins University repositories (time series of COVID-19 deaths and infection cases) at https://github.com/CSSEGISandData/COVID-19 (accessed on 1 September 2023). It should be highlighted that the database includes other countries.

Conflicts of Interest

The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or any interpretation; in the writing of the paper; or in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
AIArtificial intelligence
ANNArtificial neural network
COVID-19Coronavirus disease
CQChloroquine
HCQHydroxychloroquine
IMFInternational Monetary Fund
INEIInstituto Nacional de Estadística e Informática
JHUJohns Hopkins University
LSTMLong Short-Term Memory
MINSAMinisterio de Salud
MLMachine learning
NNNeural network
UNAUniversidad Nacional del Altiplano
WHOWorld Health Organization

References

  1. Irawati, I.; Suwaryo, U.; Sulaeman, A.; Yuningsih, N.Y. The Customary Law of the Communal Property and Sustainability in Coping with the Economic Impact of COVID-19 in Minangkabau Indigenous Peoples, Indonesia. J. Law Sustain. Dev. 2024, 12, e2548. [Google Scholar] [CrossRef]
  2. Clemente-Suárez, V.J.; Navarro-Jiménez, E.; Moreno-Luna, L.; Saavedra-Serrano, M.C.; Jimenez, M.; Simón, J.A.; Tornero-Aguilera, J.F. The Impact of the COVID-19 Pandemic on Social, Health, and Economy. Sustainability 2021, 13, 6314. [Google Scholar] [CrossRef]
  3. Das, K.; Behera, R.L.; Paital, B. Socio-Economic Impact of COVID-19. In COVID-19 in the Environment: Impact, Concerns, and Management of Coronavirus; Elsevier: Amsterdam, The Netherlands, 2022; pp. 153–190. [Google Scholar] [CrossRef]
  4. Msemburi, W.; Karlinsky, A.; Knutson, V.; Aleshin-Guendel, S.; Chatterji, S.; Wakefield, J. The WHO Estimates of Excess Mortality Associated with the COVID-19 Pandemic. Nature 2022, 613, 130–137. [Google Scholar] [CrossRef] [PubMed]
  5. COVID-19 Cases|WHO COVID-19 Dashboard. Available online: https://data.who.int/dashboards (accessed on 11 March 2024).
  6. Ćmiel, A.M.; Ćmiel, B. A Simple Method to Describe the COVID-19 Trajectory and Dynamics in Any Country Based on Johnson Cumulative Density Function Fitting. Sci. Rep. 2021, 11, 17744. [Google Scholar] [CrossRef] [PubMed]
  7. Ramírez-Valverde, G.; Ramírez-Valverde, B.; Ramírez-Valverde, G.; Ramírez-Valverde, B. Modelo Estadístico Para Defunciones y Casos Positivos de COVID-19 En México. EconoQuantum 2021, 18, 1–20. [Google Scholar] [CrossRef]
  8. Dharani, N.P.; Bojja, P. Analysis and Prediction of COVID-19 by Using Recurrent LSTM Neural Network Model in Machine Learning. Int. J. Adv. Comput. Sci. Appl. 2022, 13, 2022. [Google Scholar] [CrossRef]
  9. Chen, A.; Zhao, Y.; Zheng, Y.; Hu, H.; Hu, X.; Fishe, J.N.; Hogan, W.R.; Shenkman, E.A.; Guo, Y.; Bian, J.; et al. Exploring the Relation between Contextual Social Determinants of Health and COVID-19 Occurrence and Hospitalization. Informatics 2024, 11, 4. [Google Scholar] [CrossRef]
  10. Bessadok-Jemai, A.; Al-Rabiah, A.A. Predictive Approach of COVID-19 Propagation via Multiple-Terms Sigmoidal Transition Model. Infect. Dis. Model. 2022, 7, 387–399. [Google Scholar] [CrossRef] [PubMed]
  11. Watson, G.L.; Xiong, D.; Zhang, L.; Zoller, J.A.; Shamshoian, J.; Sundin, P.; Bufford, T.; Rimoin, A.W.; Suchard, M.A.; Ramirez, C.M. Pandemic Velocity: Forecasting COVID-19 in the US with a Machine Learning & Bayesian Time Series Compartmental Model. PLoS Comput. Biol. 2021, 17, e1008837. [Google Scholar] [CrossRef]
  12. Yue, P.; Gizem Korkmaz, A.; Zhou, H. Household Financial Decision Making Amidst the COVID-19 Pandemic. Emerg. Mark. Financ. Trade 2020, 56, 2363–2377. [Google Scholar] [CrossRef]
  13. Karnon, J. A Simple Decision Analysis of a Mandatory Lockdown Response to the COVID-19 Pandemic. Appl. Health Econ. Health Policy 2020, 18, 329–331. [Google Scholar] [CrossRef]
  14. Vilca-Huayta, O.A.; Tito Yancachajlla, U. Efficient Function Integration and a Case Study with Gompertz Functions for Covid-19 Waves. Int. J. Adv. Comput. Sci. Appl. 2022, 13, 545–551. [Google Scholar] [CrossRef]
  15. Tjørve, K.M.C.; Tjørve, E. The Use of Gompertz Models in Growth Analyses, and New Gompertz-Model Approach: An Addition to the Unified-Richards Family. PLoS ONE 2017, 12, e0178691. [Google Scholar] [CrossRef] [PubMed]
  16. Chintalapudi, N.; Battineni, G.; Amenta, F. Second Wave of COVID-19 in Italy: Preliminary Estimation of Reproduction Number and Cumulative Case Projections. Results Phys. 2021, 28, 104604. [Google Scholar] [CrossRef] [PubMed]
  17. Kumar, J.; Agiwal, V.; Yau, C.Y. Study of the Trend Pattern of COVID-19 Using Spline-Based Time Series Model: A Bayesian Paradigm. Jpn. J. Stat. Data Sci. 2021, 5, 363–377. [Google Scholar] [CrossRef] [PubMed]
  18. El Aferni, A.; Guettari, M.; Tajouri, T. Mathematical Model of Boltzmann’s Sigmoidal Equation Applicable to the Spreading of the Coronavirus (COVID-19) Waves. Environ. Sci. Pollut. Res. 2021, 28, 40400–40408. [Google Scholar] [CrossRef]
  19. El Aferni, A.; Guettari, M.; Hamdouni, A. COVID-19 Multiwaves as Multiphase Percolation: A General N-Sigmoidal Equation to Model the Spread. Eur. Phys. J. Plus 2023, 138, 393. [Google Scholar] [CrossRef]
  20. Mishra, R.K.; Urolagin, S.; Jothi, J.A.A.; Nawaz, N.; Ramkissoon, H. Machine Learning Based Forecasting Systems for Worldwide International Tourists Arrival. Int. J. Adv. Comput. Sci. Appl. 2021, 12, 55–64. [Google Scholar] [CrossRef]
  21. Albuquerque, P.C.; Cajueiro, D.O.; Rossi, M.D.C. Machine Learning Models for Forecasting Power Electricity Consumption Using a High Dimensional Dataset. Expert. Syst. Appl. 2022, 187, 115917. [Google Scholar] [CrossRef]
  22. Papacharalampous, G.; Tyralis, H. A Review of Machine Learning Concepts and Methods for Addressing Challenges in Probabilistic Hydrological Post-Processing and Forecasting. Front. Water 2022, 4, 8998. [Google Scholar] [CrossRef]
  23. Pinasco, G.C.; Moreno, E.; de Mattos Farina, J.; Novaes, F.; Filho, B.; Fiorotti, W.F.; Coradini, M.; Ferreira, M.; Cristina De Souza Cruz, S.; Louzada Colodette, A.; et al. An Interpretable Machine Learning Model for Covid-19 Screening. J. Hum. Growth Dev. 2022, 32, 268–274. [Google Scholar] [CrossRef]
  24. Xiong, Y.; Ma, Y.; Ruan, L.; Li, D.; Lu, C.; Huang, L. Comparing Different Machine Learning Techniques for Predicting COVID-19 Severity. Infect. Dis. Poverty 2022, 11, 19. [Google Scholar] [CrossRef] [PubMed]
  25. Alali, Y.; Harrou, F.; Sun, Y. A Proficient Approach to Forecast COVID-19 Spread via Optimized Dynamic Machine Learning Models. Sci. Rep. 2022, 12, 2467. [Google Scholar] [CrossRef] [PubMed]
  26. Conde-Gutiérrez, R.A.; Colorado, D.; Hernández-Bautista, S.L. Comparison of an Artificial Neural Network and Gompertz Model for Predicting the Dynamics of Deaths from COVID-19 in México. Nonlinear Dyn. 2021, 104, 4655–4669. [Google Scholar] [CrossRef] [PubMed]
  27. Kumar, R.L.; Khan, F.; Din, S.; Band, S.S.; Mosavi, A.; Ibeke, E. Recurrent Neural Network and Reinforcement Learning Model for COVID-19 Prediction. Front. Public Health 2021, 9, 744100. [Google Scholar] [CrossRef] [PubMed]
  28. Gomez-Cravioto, D.A.; Diaz-Ramos, R.E.; Cantu-Ortiz, F.J.; Ceballos, H.G. Data Analysis and Forecasting of the COVID-19 Spread: A Comparison of Recurrent Neural Networks and Time Series Models. Cogn. Comput. 2021, 1, 1–12. [Google Scholar] [CrossRef]
  29. Dhamodharavadhani, S.; Rathipriya, R.; Chatterjee, J.M. COVID-19 Mortality Rate Prediction for India Using Statistical Neural Network Models. Front. Public Health 2020, 8, 575814. [Google Scholar] [CrossRef]
  30. Namasudra, S.; Dhamodharavadhani, S.; Rathipriya, R. Nonlinear Neural Network Based Forecasting Model for Predicting COVID-19 Cases. Neural Process Lett. 2023, 55, 171–191. [Google Scholar] [CrossRef]
  31. da Silva, F.C.; Zamprogna, K.M.; de Souza, S.S.; Silva, D.H.; Sella, D. Social Isolation and the Speed of Covid-19 Cases: Measures to Prevent Transmission. Rev. Gauch. Enferm. 2021, 42, e20200238. [Google Scholar] [CrossRef]
  32. Nieto-Chaupis, H. Modeling and Interpretation of Covid-19 Infections Data at Peru through the Mitchell’s Criteria. Int. J. Adv. Comput. Sci. Appl. 2020, 11, 717–722. [Google Scholar] [CrossRef]
  33. Torky, M.; Torky, M.S.; Azza, A.A.; Hassanein, A.E.; Said, W. Investigating Epidemic Growth of COVID-19 in Saudi Arabia Based on Time Series Models. Int. J. Adv. Comput. Sci. Appl. 2020, 11, 459–466. [Google Scholar] [CrossRef]
  34. Guo, Q.; He, Z. Prediction of the Confirmed Cases and Deaths of Global COVID-19 Using Artificial Intelligence. Environ. Sci. Pollut. Res. 2021, 28, 11672–11682. [Google Scholar] [CrossRef]
  35. Heidari, A.; Jafari Navimipour, N.; Unal, M.; Toumaj, S. Machine Learning Applications for COVID-19 Outbreak Management. Neural Comput. Appl. 2022, 34, 15313–15348. [Google Scholar] [CrossRef] [PubMed]
  36. Ayoobi, N.; Sharifrazi, D.; Alizadehsani, R.; Shoeibi, A.; Gorriz, J.M.; Moosaei, H.; Khosravi, A.; Nahavandi, S.; Gholamzadeh Chofreh, A.; Goni, F.A.; et al. Time Series Forecasting of New Cases and New Deaths Rate for COVID-19 Using Deep Learning Methods. Results Phys. 2021, 27, 104495. [Google Scholar] [CrossRef] [PubMed]
  37. Hamadneh, N.N.; Tahir, M.; Khan, W.A. Using Artificial Neural Network with Prey Predator Algorithm for Prediction of the COVID-19: The Case of Brazil and Mexico. Mathematics 2021, 9, 180. [Google Scholar] [CrossRef]
  38. Al-qaness, M.A.A.; Saba, A.I.; Elsheikh, A.H.; Elaziz, M.A.; Ibrahim, R.A.; Lu, S.; Hemedan, A.A.; Shanmugan, S.; Ewees, A.A. Efficient Artificial Intelligence Forecasting Models for COVID-19 Outbreak in Russia and Brazil. Process Saf. Environ. Prot. 2021, 149, 399–409. [Google Scholar] [CrossRef] [PubMed]
  39. Macleod, S.; Tkatch, R.; Kraemer, S.; Fellows, A.; McGinn, M.; Schaeffer, J.; Yeh, C.S. COVID-19 Era Social Isolation among Older Adults. Geriatrics 2021, 6, 52. [Google Scholar] [CrossRef] [PubMed]
  40. Gupta, R.; Dhamija, R.K. Covid-19: Social Distancing or Social Isolation? BMJ 2020, 369, m2399. [Google Scholar] [CrossRef] [PubMed]
  41. O’sullivan, R.; Burns, A.; Leavey, G.; Leroi, I.; Burholt, V.; Lubben, J.; Holt-Lunstad, J.; Victor, C.; Lawlor, B.; Vilar-Compte, M.; et al. Impact of the COVID-19 Pandemic on Loneliness and Social Isolation: A Multi-Country Study. Int. J. Environ. Res. Public Health 2021, 18, 9982. [Google Scholar] [CrossRef]
  42. Neves, F.S. Correlation of the Rise and Fall in COVID-19 Cases with the Social Isolation Index and Early Outpatient Treatment with Hydroxychloroquine and Chloroquine in the State of Santa Catarina, Southern Brazil: A Retrospective Analysis. Travel. Med. Infect. Dis. 2021, 41, 102005. [Google Scholar] [CrossRef]
  43. James, G.; Witten, D.; Hastie, T.; Tibshirani, R. Linear Regression. In An Introduction to Statistical Learning; Springer: New York, NY, USA, 2021; pp. 59–128. [Google Scholar] [CrossRef]
  44. 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] [PubMed]
  45. Neifer, T. Regression Analysis Using Dummy Variables. In Operations Research and Management; Springer: Cham, Switzerland, 2024; pp. 105–129. [Google Scholar] [CrossRef]
  46. Jones, S.R. Students’ Application of Concavity and Inflection Points to Real-World Contexts. Int. J. Sci. Math. Educ. 2019, 17, 523–544. [Google Scholar] [CrossRef]
  47. Galaris, E.; Fabiani, G.; Gallos, I.; Kevrekidis, I.; Siettos, C. Numerical Bifurcation Analysis of PDEs From Lattice Boltzmann Model Simulations: A Parsimonious Machine Learning Approach. J. Sci. Comput. 2022, 92, 34. [Google Scholar] [CrossRef] [PubMed]
  48. Greiner-Petter, A. Making Presentation Math Computable: A Context-Sensitive Approach for Translating LaTeX to Computer Algebra Systems; Springer: Berlin/Heidelberg, Germany, 2023; pp. 1–197. [Google Scholar] [CrossRef]
  49. Cheng, H.; Yu, R.; Tang, Y.; Fang, Y.; Cheng, T.; Szymanski, J.; Sobecki, A.; Mora, H.; Logof, D. Text Classification Model Enhanced by Unlabeled Data for LaTeX Formula. Appl. Sci. 2021, 11, 10536. [Google Scholar] [CrossRef]
  50. Hong, S. MPCs in an Emerging Economy: Evidence from Peru. J. Int. Econ. 2023, 140, 103712. [Google Scholar] [CrossRef]
  51. Croux, C.; Dehon, C. Influence Functions of the Spearman and Kendall Correlation Measures. Stat. Methods Appl. 2010, 19, 497–515. [Google Scholar] [CrossRef]
  52. Macklin, J.T. An Investigation of the Properties of Double Radio Sources Using the Spearman Partial Rank Correlation Coefficient. Mon. Not. R. Astron. Soc. 1982, 199, 1119–1136. [Google Scholar] [CrossRef]
  53. Strnad, D.; Nerat, A.; Kohek, Š. Neural Network Models for Group Behavior Prediction: A Case of Soccer Match Attendance. Neural Comput. Appl. 2017, 28, 287–300. [Google Scholar] [CrossRef]
  54. Suri, J.S.; El-Baz, A.S. State of the Art in Neural Networks and Their Applications; Elsevier: Amsterdam, The Netherlands, 2021; Volume 1. [Google Scholar]
Figure 1. The cumulative number of deaths (in thousands) with respect to the day number (day one is the first death). The observed data (or dataset) are in gray (day 740 to 874), the regression function is in solid red, and the third inflection point is the blue diamond.
Figure 1. The cumulative number of deaths (in thousands) with respect to the day number (day one is the first death). The observed data (or dataset) are in gray (day 740 to 874), the regression function is in solid red, and the third inflection point is the blue diamond.
Informatics 11 00040 g001
Figure 2. The sigmoidal–Boltzmann model for the cumulative number of confirmed deaths (in thousands) per day (2020–2023). The observed data in grey, the Boltzmann1 function for the initial wave in solid green, the Boltzmann2 function for the second wave (in dashed red), the Boltzmann3 function for the third wave (in solid brown), the Boltzmann4 function for the fourth wave (in dashed black), and the Boltzmann5 function for the fifth wave (in solid orange). The blue diamonds indicate the beginning and end of the waves.
Figure 2. The sigmoidal–Boltzmann model for the cumulative number of confirmed deaths (in thousands) per day (2020–2023). The observed data in grey, the Boltzmann1 function for the initial wave in solid green, the Boltzmann2 function for the second wave (in dashed red), the Boltzmann3 function for the third wave (in solid brown), the Boltzmann4 function for the fourth wave (in dashed black), and the Boltzmann5 function for the fifth wave (in solid orange). The blue diamonds indicate the beginning and end of the waves.
Informatics 11 00040 g002
Figure 3. The sigmoidal–Boltzmann model for the cumulative number of confirmed deaths (in thousands) according to days. The fourth and fifth waves are on the left and right sides, respectively. The observed data are in grey; the Boltzmann function for the fourth and fifth waves is in solid red.
Figure 3. The sigmoidal–Boltzmann model for the cumulative number of confirmed deaths (in thousands) according to days. The fourth and fifth waves are on the left and right sides, respectively. The observed data are in grey; the Boltzmann function for the fourth and fifth waves is in solid red.
Informatics 11 00040 g003
Figure 4. The spline model for the cumulative number of confirmed deaths (in thousands) per day (2020–2023). The observed data are in black, and the spline function is in red. The vertical blue lines are the projected inflection points.
Figure 4. The spline model for the cumulative number of confirmed deaths (in thousands) per day (2020–2023). The observed data are in black, and the spline function is in red. The vertical blue lines are the projected inflection points.
Informatics 11 00040 g004
Figure 5. Comparison between the death rate function F′(x,p) (in blue) and days with social isolation in shaded bands (yellow and orange).
Figure 5. Comparison between the death rate function F′(x,p) (in blue) and days with social isolation in shaded bands (yellow and orange).
Informatics 11 00040 g005
Figure 6. Dataset of the cumulative number of deaths (scaled and in red) according to days and those estimated by the ANN (blue)—Peru (2020–2023). Train data in green and test data in blue.
Figure 6. Dataset of the cumulative number of deaths (scaled and in red) according to days and those estimated by the ANN (blue)—Peru (2020–2023). Train data in green and test data in blue.
Informatics 11 00040 g006
Table 1. Coefficients for five waves.
Table 1. Coefficients for five waves.
WH1(x)H2(x)H3(x)H4(x)H5(x)
1 1 − q1 − q1 − q1 − q
22 − q 2 − q2 − q2 − q
33 − q3 − q 3 − q3 − q
44 − q4 − q4 − q 4 − q
55 − q5 − q5 − q5 − q
Table 2. Analysis of classical regression models.
Table 2. Analysis of classical regression models.
ModelsModel Adjustment to COVID-19 Data
Exponential, logarithmic, square root model.The functions are not suitable because they have no inflection points and represent a single curve. Note: the observed data represent a sequence of sigmoidal shapes.
Polynomial model
F ( x ) = β 0 + β 1 · x + β 2 · x 2 + + β n · x n
where n 2 .
The functions are continuous and can have several inflection points; however, they cannot represent a step sequence of sigmoidal functions. Moreover, they do not flatten at the end and do not have horizontal asymptotes; when “x” tends to infinity, “y” tends to ±∞.
Spline model (segmental polynomial fit).Because in the spline model, the data on the abscissa axis are divided into segments, the problem of the step sequence of sigmoidal functions is solved. However, this model is limited to the polynomial functions that the spline uses in each segment.
Table 3. Laws (supreme decrees) for social isolation measures due to COVID-19.
Table 3. Laws (supreme decrees) for social isolation measures due to COVID-19.
GroupSupreme Decree (Law)FromTo
Group 1. Supreme Decree No. 044-2020 and its extensions. It is characterized by strict social isolation measures.N° 044-2020-PCM16 March 202030 March 2020
N° 051-2020-PCM31 March 202012 April 2020
N° 064-2020-PCM13 April 202026 April 2020
N° 075-2020-PCM27 April 202010 May 2020
N° 083-2020-PCM11 May 202024 May 2020
N° 094-2020-PCM25 May 202030 June 2020
N° 116-2020-PCM1 July 202031 July 2020
N° 135-2020-PCM1 August 202031 August 2020
N° 146-2020-PCM1 September 202030 September 2020
N° 156-2020-PCM1 October 202031 October 2020
N° 174-2020-PCM1 November 202030 November 2020
Group 2. Supreme Decree No. 174-2020 and its extensions allow some activities outside the home.N° 184-2020-PCM1 December 202031 December 2020
N° 201-2020-PCM1 January 202131 January 2021
N° 008-2021-PCM1 February 202128 February 2021
N° 036-2021-PCM1 March 202131 March 2021
N° 058-2021-PCM1 April 202130 April 2021
N° 076-2021-PCM1 May 202131 May 2021
Table 4. Differences between models.
Table 4. Differences between models.
Comparison CriterionSigmoidal ModelANN Model
Pearson correlation coefficientFixed valueCan be improved (e.g., with more training)
Execution time
(according to reference computer)
Less than a third of a secondMore than 2 min depending on parameters
Requires data to follow a sigmoidal pattern?YesNo
Statistical reportFrom a regression (e.g., p-value, t-Student, degrees of freedom, etc.)It has its own metrics (e.g., accuracy)
Pandemic parametersYesNo
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Vilca Huayta, O.A.; Jimenez Chura, A.C.; Sosa Maydana, C.B.; Martínez García, A.J. Analysis of the Epidemic Curve of the Waves of COVID-19 Using Integration of Functions and Neural Networks in Peru. Informatics 2024, 11, 40. https://doi.org/10.3390/informatics11020040

AMA Style

Vilca Huayta OA, Jimenez Chura AC, Sosa Maydana CB, Martínez García AJ. Analysis of the Epidemic Curve of the Waves of COVID-19 Using Integration of Functions and Neural Networks in Peru. Informatics. 2024; 11(2):40. https://doi.org/10.3390/informatics11020040

Chicago/Turabian Style

Vilca Huayta, Oliver Amadeo, Adolfo Carlos Jimenez Chura, Carlos Boris Sosa Maydana, and Alioska Jessica Martínez García. 2024. "Analysis of the Epidemic Curve of the Waves of COVID-19 Using Integration of Functions and Neural Networks in Peru" Informatics 11, no. 2: 40. https://doi.org/10.3390/informatics11020040

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