Abstract

This paper addresses the discrepancy between model findings and field data obtained and how it is minimized using the binning smoothing techniques: means, medians, and boundaries. Employing both the quantitative and the qualitative methods to examine the complex pattern involved in COVID-19 transmission dynamics reveals model variation and provides a boundary signature for the potential of the disease’s future spread across the country. To better understand the main underlying factor responsible for the epidemiology of COVID-19 infection in Ghana, the continuous inflow of foreigners, both with and without the disease, was incorporated into the classical Susceptible-Exposed-Quarantined-Recovered model, which revealed the spread of the COVID-19 by these foreigners. Also, the diffusion model provided therein gives a threshold condition for the spatial spread of the COVID-19 infection in Ghana. Following the introduction of a new method for the construction of the Lyapunov function for global stability of the nonlinear system of ODEs was observed, overcoming the problem of guessing for the Lyapunov function.

1. Introduction

In Wuhan, China, in December 2019, a new type of coronavirus which is a member of severe acute respiratory syndrome (SARS) has been identified. The pandemic disease has since spread to other countries, including Ghana. Realizing the COVID-19 pandemic is not only necessary but also imperative given the increasing death toll, labour force decrease, productivity decrease, declining trend in the economy of the country, etc. There have been 6,418,381 deaths and 581,305,772 reported cases of the disease since it originally spread throughout the world. In order of size, the USA reported 93,054,184 cases and 1,055,020 deaths, India reported 44,000,138 cases and 526,312 deaths, and Brazil reported 33,795,192 cases and 678,375 deaths. Ghana, which is rated 123rd in the statistics table, is hardly an exception with 168,007 cases, 1457 deaths [1].

It is impossible to look down upon the current state of the economies of the world and those under the productivity of their labour forces as many nations, particularly those in sub-Saharan Africa that are developing, look for long-term solutions to the spread of the COVID-19 pandemic. There are continuous interventions and control efforts everywhere in the world, including the provision of the Johnson and Johnson vaccine and the AstraZeneca vaccine to population subjects. In Ghana, the government has implemented a number of measures to prevent the spread of the COVID-19 infection from one person to another, including lockdown declarations, school closures, wearing of face mask, social withdrawal, limiting attendance at social gatherings, frequent hand washing, and the use of hand sanitizers. With all these measures put in place by the government, people are not adhering to the COVID-19 protocols as they still go by with their normal activities without a sense of fear of the pandemic of COVID-19. People typically attend weddings with their close friends and family in jest, hoping to catch a glimpse of the celebration. Funerals are events that people simply cannot do away with. It is customary for family members and friends to say their final farewell to the cherished (deceased) individual without considering their proximity to one another or, in the worst-case scenario, without wearing a face mask [2].

Mathematical models are used to predict the extent of COVID-19 infection outbreaks, the rate at which the disease spreads globally, and the effectiveness of control measures in limiting the spatial spread of the disease. It cannot be overemphasized how important it is to employ mathematical models to help government officials and policymakers make informed decisions about how changes in the geographical mixing of individuals have affected the COVID-19 transmission dynamics in the country. A mathematical model provides a framework for analyzing causes, connections and concepts. A mathematical model is used to evaluate quantitative assertions. As a result, the effectiveness of the measures for preventing the spatial spread of COVID-19 in the country depends heavily on how well the model parameters capture the many characteristics of the disease. Even the trends of COVID-19 cases could be appreciated with a minimal error by the use of reliable or sufficient parameters in the model. Researchers from all across the world have investigated and evaluated the outcomes of various formulations and assumptions. The results of examining various COVID-19 infection formulations offer policymakers insights and are undoubtedly helpful in selecting models for the epidemiology of COVID-19 infection. Without taking into account the major spreaders and the influx of foreigners into the country, the authors in [37] modeled the epidemiology of COVID-19 in their respective countries. The COVID-19 pandemic in a country other than China, which involves the important factor responsible for the spatial spread of disease, requires a robust use of mathematics in order to explain and predict the major underlying mechanism and forecast trends. Since they are unable to identify the cause of the epidemiology and calculate the number of people who acquired the COVID-19 infections during the disease outbreak, their conclusions cast dust in the eyes of the general public.

The key to any mathematical model is to formulate it as simple as possible but being adequate for the subject under consideration. Identifying the primary underlying factor, the influx of immigrants into the country, the suitable collection of data, and a mathematical model whose analyses result in the solution constitute the most challenging issues in modeling the epidemiology of COVID-19 infections. The spatial spread of COVID-19 has attracted interest in this period as it involves the main underlying factor and threshold condition for the onset of the disease. The authors of [8] have used the reaction-diffusion equation to describe the COVID-19 epidemiology in Spain and Greece. They included diffusion terms for each class in the susceptible-exposed-asymptomatic-infected-hospitalization-recovered model to account for the discrepancy between predictions and observed data. It is interesting to note that the diffusion model for the spatial spread of COVID-19 developed in [9] is very similar to the one developed in [8], with the exception that diffusion terms were added to the susceptible, asymptomatic, infected, and recovered humans instead of the six subgroups of the population size. Similar to [8, 9], the study in [10] applied the susceptible-exposed-infected-recovered-deceased model to describe the spatial spread of COVID-19 in Italy. The authors in [11] considered the diffused susceptible, asymptomatic, and symptomatic infected people. Unfortunately, their model did not take into account the isolated COVID-19 infected individuals or the patients who had received treatment or had recovered from their illnesses. All of these research works have applied the diffusion concept to a group of people from various countries who have recovered from the disease. An individual who has recovered from COVID-19 is frequently not driven to travel to another country because he or she is afraid of contracting the illness again due to the control measures in place there. In terms of the spatial spread of COVID-19, this assumption is not acceptable. Nevertheless, their diffusion models did not account for the quarantined class, a crucial subgroup of the population size for describing the pandemic of COVID-19 infections. This is a major shortcoming that needs immediate attention from the scientific community and has to be addressed immediately.

Nevertheless, research works from many settings have developed the Lyapunov function, which is used to assess the overall stability of the system of ODEs. A significant flaw in the global stability of nonlinear systems of ODEs, such as the Lyapunov method, is that there is no systematic method for determining the Lyapunov function to aid in establishing the global stability of the nonlinear system of ODEs. As a result, the Lyapunov method for determining the global stability of a nonlinear system of ODEs is purely. A significant flaw in the global stability of nonlinear systems of ODEs, such as the Lyapunov method, is that there is no systematic method for determining the Lyapunov function to aid in establishing the global stability of the nonlinear system of ODEs. As a result, the Lyapunov method for determining the global stability of a nonlinear system of ODEs is purely a guess of function properties that meet the requirements. For examples, the study [12] observed the following:where is a parameter and is a fixed point of the system of ordinary differential equations (ODEs), as a Lyapunov function for the temporal-spatial variations in the interaction of the predator-prey model, and the study in [13] observedwhere is a fixed point of the system of ODEs, as the Lyapunov function for determining the global stability for the susceptible-exposed-infected model describing the epidemiology of COVID-19 infection.

According to the theory that the continuous inflow of immigrants into the country constitutes the spatial effects, the diffusion terms are only incorporated in the susceptible, exposed, and infected subgroups of the susceptible-exposed-infected-quarantined-recovered model in this paper. Thus, the major underlying cause of the spatial spread of the COVID-19 infection is the continuous inflow of foreigners into the country. The reliability and robustness of this mathematical model are established through field data assessments of its trend. The main factors that would support robustness when the discrepancy between the model values and the data get reduced over time are the model parameters that have been evaluated. In fact, the validity of the mathematical model was assessed using monthly data on COVID-19 infections in Ghana. The behavior of the immediate nonstationary points around the fixed point of the nonlinear system of ODEs is given by the local stability of the fixed point, but it does not provide complete information on all nonstationary points in the domain of the nonlinear system of ODEs. For establishing the stability of a nonlinear system of ODEs, the Lyapunov criterion provides information on all nonstationary points in the nonlinear system. This method of determining global stability requires the construction of the Lyapunov function. A systematic method for constructing the Lyapunov function for determining the global stability of a nonlinear system of ODEs is presented in this paper.

Section 1 of this paper comprises an introduction, Section 2 contains analysis and results, and Section 3 contains the key conclusions from the analyses.

2. Main Results

In this section, we provide the mathematical model for describing the epidemiology of COVID-19 in Ghana.

2.1. Preliminary Results

Theorem 1 (Lyapunov stability). Let be an equilibrium point for . Let be a differentiable function defined on an open set containing . Suppose further that(i) and if (ii) in Then, is stable. Furthermore, if also satisfies(iii) in , then is asymptotically stable.

A function satisfying and is called a Lyapunov function for . If also holds, we call a strict Lyapunov function [14].

2.2. Development of the Mathematical Model and Its Analyses

The population of Ghana, , is split into five distinct classes based on their epidemiological status: the susceptible class ), the exposed class (), the infected class , the quarantined class (), and the recovered class (). Due to the continuous inflow of immigrants into the country, including those with and without COVID-19 disease, the susceptible, exposed, and infected classes have changed over time and space. The classifications of quarantined and recovered, however, change over time since they include people who have either been isolated or who have been treated for their sickness after contracting the COVID-19 infection by the Ghana Health Service . Partial differential equations are made up of the susceptible, exposed, and infected classes, whereas ordinary differential equations are made up of the quarantined and recovered classes.

Assumptions of the mathematical model are as follows:(1)Newborn babies are recruited into the susceptible class.(2)New COVID-19 infection arises as the susceptible comes in contact with the COVID-19 patient (infective or quarantined).(3)Renewal of susceptible people through recovery from transient immunity is not taken into consideration.(4)The foreigner (invader) is categorized as either susceptible, exposed, or infective. Only these groups of people have different diffusion coefficients in one dimension because the COVID-19 infection was brought into the country through their immigration.

Based on Figure 1, the following equations are obtained to describe the epidemiology of COVID-19 infection in the country:

Thus, the total population size of Ghana is represented by following equation:

Together with , , , , and , where is the birth rate. That is, the rate at which newborn babies are recruited into the susceptible class. The transmission rate, , is the rate at which a susceptible person contracts the COVID-19 virus, is the rate at which exposed people become infectious while the average incubation period is . The disease-induced death rate, , is the rate at which an infected person dies from the COVID-19 infection, while the disease-induced death rate, , is the rate at which a quarantined person dies from the disease. is the rate at which exposed people are quarantined, whereas is the rate at which an infectious person is quarantined. is the rate at which exposed people recover from the virus, is the rate at which infectious people recover from the disease, is the rate at which quarantined people recover from the disease, and is the natural death rate. represents the constant diffusion coefficient of susceptible travelers into the country, is the constant diffusion coefficient of exposed travelers into the country, and is the constant diffusion coefficient of infectious travelers into the country.

Setting , and , the system of (3) becomestogether with , , , , and .

Nondimensionalizing of (5) is done by using the following system of equations:

Using the system of (6), we obtain the following system of equations:together with , , , , and .

2.2.1. Boundedness of the Solution of the System of ODEs

The boundedness of the system of (7) is obtained by setting the diffusion coefficients of the susceptible, exposed, and infective subgroups to zero which yields

Together with , , , , and .

Summing the ordinary derivatives on the left-hand side of the system of equations yields

The asymptotic behavior of the scaled population size is

The result in inequality (7) implies that the solution set is invariant. Thus, the population size of Ghana approaches a fixed finite number.

2.2.2. Existence and Uniqueness of the Solution of the System of Nondimensionalized PDEs

In this section, we show that the system of (7) has a unique solution in a Banach space. Consider the first three equations of the system of (7), which are given by

The existence and uniqueness of solutions of the system of nondimensionalized PDEs (11) with homogeneous Neumann boundary conditionsand initial conditionswhere is a bounded domain in with a smooth boundary .

, , and , respectively, are the normal derivatives of , and on the boundary of the domain . Moreover, , , and .

We set with .

Setting a map , the system of (11) is written aswhere is a parameter. Thus, F satisfies the Lipschitz condition in the subspace of , and the system of (11) can be written in the Banach space , where .where , , , and is the Laplace-type operator in one dimension. This result implies that the system of (11) has a solution in a Banach space.

Theorem 2. Setting the initial data , there exists a unique nonnegative solution of the system of equations (8) defined on with . Moreover, for and , , is a classical solution of the system of equations (8).

Proof 1. In this proof, the Euclidean norm is used to achieve the results. Setting and for any sufficiently small , we obtainAlso, we can see thatThis implies that is bounded above by . System (8) admits a unique nonnegative solution on with and for .
We haveBy solving and , using the method of integrating factors yieldsAt , it implies, for .To establish the uniformly boundedness of and , we haveThen,where is a finite positive constant. Also,Solving the equation yieldswhere is a finite positive constant.
We can be deduced that there exist positive constants and that depend, respectively, on and and on and such thatFrom the above, it has been proved that , , and are uniform bounded on . Therefore, it follows from the standard theory of semilinear parabolic systems that is the maximal existence time for the solution of the system of equations (11). This completes of the theorem.

2.2.3. Analysis of the Diffusion-Driven Instability

In this subsection, we investigate the epidemiology of the COVID-19 infection globally. The COVID-19 epidemiology in Ghana is presented herein. As a result, there is a lot of rumor about the COVID-19 disease spreading in Ghana, which is reportedly attributed to the increase in international immigration. There is no scientific evidence that support the claim that the inflow of foreigners caused the COVID-19 outbreak. We take into account the two scenarios in order to support this assertion about the emergence of the COVID-19 infection in the country. The qualitative method of the system of equations (7) without the inflow of foreigners is the first situation that is taken into account in this research. In addition, the analysis of (7) is in light of the continuous inflow of foreign immigrants. Setting , and leads in the qualitative solution of the system of (7) without the influx of foreigners. As a result, equation system (4) is as follows:

The eigenvalues of the linearized system of (27) are obtained aswhere, , , and .

We observe that , , and , so all the eigenvalues of characteristic polynomial (28) have negative real parts. All the eigenvalues of the system of linearized ODEs in (27) without the diffusion term are all negative for all positive parameter values, this system of (27) is a linearly asymptotically stable spatial-homogeneous solution at . This implies that there would not have been COVID-19 in Ghana without an influx of foreigners in the country.

Again, a situation where there is an influx of foreigners in the country is considered as follows. The system of equation (7) can be written as

We also have .

Here, J is a Jacobian matrix of the linear terms, is the Laplacian operator in one dimension, and is a matrix that contains the coefficients of diffusion, that is,together with , and .

The solution of the system of (29) is of the form

For the time-independent component, satisfies the following equation with the same boundary conditions as the system of (29):

Substituting (31) and (32) into (29) yields

By the Hartman–Grobman theorem, the system of (7) at is unstable. At ,where,

Using the Routh–Hurwitz criterion for determining the sign of the roots of the characteristic polynomial in (35), the system of (7) at is unstable if at least one of the following conditions is not met: , , and . Since all the parameters are positive real numbers if , then the characteristic polynomial in (34) has at least one positive root. This implies that the system of (7) is unstable at . We obsvered that is not met which implies that there is at least one of the eigenvalues has a positive real part.

The stability of the system of (7) revealed that without arrival of foreigners with the COVID-19 virus (SARS virus), there had not been the epidemiology of COVID-19 in the country. On the other hand, the arrival of foreigners, for example, COVID-19 patients from Norway and Turkey, into the country brought about the epidemiology of COVID-19 infection in Ghana. This finding is confirmed by the instability of the system of (7) at the endemic equilibrium point. The instability of the system of (7) is attributed to the assertion that the pandemic COVID-19 infection in the country is brought by the influx of foreigners especially two people: one from Norway and the other from Turkey.

2.3. Global Stability of the System of ODEs

In this subsection, we construct a Lyapunov function to assess the overall stability of the system of ODEs. A comprehensive review of related studies indicates that neither a systematic method nor a special function is utilized to assess the overall stability of system of ODEs in the Lyapunov sense. Due to this issue, one must make an informed guess for a function whose properties satisfy the requirements in the Lyapunov criterion for global stability of system of ODEs. In most cases, the guessing is not feasible since there are no guidelines in arriving at this function. In order to overcome this difficulty, we introduce a new function that can be used in determining the global stability of the system of ODEs in the Lyapunov sense. This function serves as a Lyapunov function for any system of ODEs and the result is given in Theorem 3.

Theorem 3 (Lyapunov function for the system of ODEs). Suppose a system of ordinary differential equations,is an increasing function on . Then,where is the fixed point of , is the Lyapunov function for constructing the stability of the systemof ODEs (19).

Proof 2. We can see that is a monotone increasing function on for . At , we observe thatThis implies that has a minimum value at . Therefore, is a fixed point of .
Differentiating with respect to t, we haveSince the gradient of is decreasing on [0, ], it implies that is a Lyapunov function for the system of (3). This completes the proof.
This implies that has a minimum value at .

2.3.1. Application of Theorem 2 in Determining the Global Stability of the System of ODEs

In this subsection, the global stability of the system of equation is obtained by setting , , and . By Theorem 2, the Lyapunov function for the system of equation (8) is given by

We can see that

Again,

Lastly, we can see that

Since , , , , and ,

Since all conditions of the Lyapunov function are met, it implies that the system of (8) is globally asymptotically stable.

2.4. Effects of the COVID-19 Infection in the Country

In this subsection, the travelling wave solution of the influx of foreigners into the country is analysed. Thus, the analytic method via Homotopy Perturbation Method (HPM) is used to obtain the solutions for the proportions of susceptible, exposed, and infective people.

Setting , , and where , is the constant wave speed of the foreigners into the country; the first equation in the system of equation (4) becomes

, since the movement of a quarantined person is restricted so he or she cannot travel to another country.

Similarly, we have

Setting , we have

For the travelling wave solution, that is, the influx of foreigners into the country, we consider the proportion of the susceptible, exposed, and infective people.

Using the HPM, the series approximation solutions of the system of equations (46), (48), and (49) are of the following form:

We use the HPM to find the solution of the linearized system of (7) as follows.

Equating , the following equation is obtained from equation (50).where the homogeneous part of (51) is given by

Setting into (52) yields

The complementary function of (51) iswith and .

Setting the particular solution , finding the first and second derivative and substituting the results into (51) yield the particular solution . Thus, the general solution of the proportion of susceptible is given by

Similarly, the proportion for exposed people and infected people is given byrespectively.

2.5. Conversion of a System of Mixture of PDEs and ODEs into a System of ODEs

Now, all the PDEs are expressed in their respective ODEs in order to have solutions which are of the same state.

Settingyields the following system of ODEs:

The equilibrium point of the system of ODEs in (58) is obtained by setting the ordinary derivatives on the right hand side of (58) to zero and solving the resulting equations simultaneously which yields the disease-free equilibrium point as

Linearizing the system of ODEs (30) yields the following results:

At , the eigenvalues of the Jacobian matrix in (60) are obtained as

Since , , and are all greater than zero, it implies that the COVID-19 infection at the disease-free equilibrium point, , is unstable. Hence, a sufficiently small influx of foreigners into the country will result in the spread of COVID-19 in the country.

2.5.1. Analysis of the Equilibria of the System of ODEs

In the system of (8), the basic reproductive number, , is obtained from the spectral radius of . Thus,where

is obtained as

The basic reproductive number, , for the system of ODEs without diffusion is given bywhere

We observe that the basic reproductive number, , in the environment of inflow of foreigners into the country is more realistic than the basic reproductive number in diffusive-free environment since involves the coefficient of diffusion of the susceptible, as well as the speed of the influx of the travellers into the country. The coefficient of diffusion of the susceptible and the wave speed is in direct relationship with which are inflows for the infective so as to result in transmission of the COVID-19 infection.

2.6. Numerical Results

The data on the COVID-19 patients in Ghana were obtained from [18] and then segregated into exposed people and infected people by summing the counts of COVID-19 cases of the first fourteen days (incubation period) in the month as the number of exposed people in that month and the remaining counts of COVID-19 patients as the number of infective in the month. The results on these exposed and infective people are summarized in Tables 1 and 2. The normalization of the data points was done using

Table 3 shows the estimates for the parameter in the model. Initial COVID-19 records in Ghana are shown in Table 4.

2.6.1. Numerical Results of the Nondimensionalized System of Mixture of PDEs and ODEs

This section discusses the effects of the movement of proportions of susceptible, exposed, and infectious individuals at a given time. Four cases are examined. Firstly, the same diffusion coefficient of the proportion of the exposed and the infective people are considered, i.e., .

The diffusion coefficients and are provided in Table 5 and the initial conditions for the first three compartments of system (4) are as follows:

Figure 2 is plotted using the initial condition from (68). We can see that the proportion of the susceptible curve decreases as the scaled time and scaled distance start to rise from zero at the beginning. The proportion of the susceptibility curve decreases quickly as more susceptible are infected with the SARS virus (COVID-19 disease) since there are more susceptible people who are not adhering to the COVID-19 protocols by both public and private organizations in Ghana. The sharp rises in Figures 3 and 4 illustrate how the proportions of exposed and infected individuals rise when more susceptible individuals become infected with the SARS virus. The susceptible proportion continues to monotonically decrease until stabilizing at a specific point (adequately proportion of susceptible not able to contract SARS virus). The behavior of the susceptible curve shown in Figure 2 is concurrently supported by the decreasing patterns after the peaks in Figures 3 and 4.

2.6.2. Numerical Results on the Trends of the COVID-19 Patients

The quantitative solution of the proportion of the infective subgroup system of ODEs in (40) as depicted in Figure 5. Figure 5 reveals a sinusoidal wave of the COVID-19 infection in the country with an amplitude of approximately 0.92.

The time in Figure 6 begins at zero, which corresponds to March 2020, with no data on January and February 2020, since COVID-19 erupted in Ghana on March . After the onset of COVID-19 pandemic in the country, the proportion of infective fluctuates roughly every eight months. As a result, the proportion infective curve increases until its peak and then decreases as the month progresses. Even the peak values are inconsistent, with July 2020 having a peak value of roughly 0.9058, February 2021 recording a peak value of roughly 0.8604, and January 2022 recording a peak value of almost 1.000. However, the proportion of the infective by the model (theoretical results) in Figure 5 also fluctuates at regular interval of almost every 8 months, but the peaked values were recorded on August 2020, April 2021, and October 2021, respectively. There are variations of the peak values of the proportions of the infective on the data as in Figure 6 and the peak values of the proportion of infective from the model (see Figure 5). These variations are attributed to the noise in the data, such as outliers (peak values), incomplete data on the COVID-19 patients on the grounds that not every person who contracted COVID-19 reported the issue at the nearby medical facility, or the health professionals were unable to contact trace all the COVID-19 patients. One of the major deterrents for suspected COVID-19 patients not reporting their illness to the nearest medical facility is the fear of panic brought on by the SARS virus (COVID-19) spreading to the susceptible population. However, errors in instrumentation devices used for testing COVID-19 cases across the nation as well as human error in data entry caused by the healthcare personnel cannot be ignored when it comes to the data on COVID-19 patients. Before it can be identified whether someone has COVID-19 (caused by the SARS virus), they frequently need to undergo a number of tests. In Figure 7, the quantitative result (curve) from the model is placed on the observed data curve for comparison. It was revealed that the variations of the model curve and observed data curve decrease as time passes and then fluctuate for the remaining of the period. This disparity is attributed to the unavoidable inaccuracies in the data. This necessitates data cleansing via bin smoothing techniques.

Due to all the issues observed about data on COVID-19 patients in the country, inevitably the data cleaning was carried out to remove noise from the data. In Table 6, the relative errors between the model values and data values are summarized. The relative errors are not different from the observations in Figures 810.

2.6.3. Smoothing of the Normalized Data

In smoothing the normalized data from the Ghana Health Service (GHS), discrepancies in the data were detected, such as human error in the data entry of the number of infectives, because daily cases of COVID-19 patients and accumulated monthly cases of COVID-19 patients were not segregated into the number of infective and the number of exposed people. The two subgroups, the number of infective and the number of exposed people, of the population size of Ghana cannot be lumped together as they play different roles in the epidemiology of COVID-19 pandemic in the country.

To remove noise from the data obtained from GHS, the binning smoothing methods, smoothing by bin means, smoothing by bin medians, and smoothing by bin boundaries, were employed. The proportion of the infective curve superimposed on each normalized smoothed set of data is depicted in Figures 12, 14, and 16 These graphs show that the normalized smooth data by bin boundaries are consistent and that its values are robust against noise, especially when there are outliers. As a result, in Figure 11, the variation between the infectious curve (model) and the smoothed data is smaller as the time (month) goes up to 4, then it starts to go up to 0.2687829221 (see relative error in Table 7). It is imperative to note that this peculiar trend could be caused by the unsorting of the normalized data:(1)Comparison of the smoothened normalized data by bin boundaries, bin means, and bin medians and the normalized model for infective(2)Comparison of the smoothened normalized data by bin boundaries, bin means, and bin medians and the normalized model for exposed

We can see from Figure 12 that the smoothing by bin boundaries maintains most of the features of the original normalized data (see Figure 8). Thus, there are peaks in Figure 12 as in Figure 8, whereas in Figure 13 and Figure 14, they were flattened at the top. The curve of the model superimposed on the smoothened (normalized) data by the bin boundaries, bin means, and bin medians in Figures 12, 15, and 16, respectively, exhibited variations between the two curves in each figure. Comparatively, in Figure 11, the variation between the curve and smoothened (normalized) data by the bin boundaries was minimal and more consistent as time (month) increases than the smoothened by bin means and bin medians in Figures 15 and 16. The smoothing normalized data by the bin means using the frequency of three data points assumes the mean value for all the three data points like smoothing by the bin medians. Similar comparison study of the normalized equations (model) and the smoothened data, on the proportion of exposed people, by bin boundaries, bin means, and bin medians are observed in Figures 1722. Undoubtedly, the variations between the smoothened data by bin boundaries and the model were least as compared with the variations between the smoothened data by the bin means and the model and the smoothened (normalized) data by bin medians and the model. The relative errors for the three smoothing techniques are summarized in Tables 79 for easy comparison.

3. Conclusion

The epidemiology of COVID-19 has been modelled by taking into account the main geographical factor, such as the continuous inflow of immigrants into the country, which is the primary underlying factor for so-called pandemic disease, as well as disease-related factors, such as the infectious agent, mode of transmission, latent period, infectious period, susceptibility, and resistance to the disease. The validity and robustness of this mathematical model are established through field data assessments of its trend. The model parameters that have been tested are the major aspects that will support robustness when the disparity between the model values and the data decreases over time. In reality, the validity of the mathematical model was examined using monthly data on COVID-19 infections in Ghana. A newly proposed function for constructing the global stability of the system of ODEs in the Lyapunov sense overcomes the disadvantage of guessing the function for calculating the global stability of a nonlinear ODE system. Furthermore, the Lyapunov function provides information on the magnitude of an asymptotically stable fixed point of a nonlinear system of ODEs. Furthermore, the basic reproductive number in the presence of a continuous inflow of foreigners into the country is more realistic and robust to data noise than the basic reproductive number in the absence of a continuous inflow of foreigners into the country.

Data Availability

The data for parameterizing the model are freely available at [18] https://ourworldindata.org/coronavirus.

Conflicts of Interest

The authors declare that they have no conflicts of interest.