<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">OJMSi</journal-id><journal-title-group><journal-title>Open Journal of Modelling and Simulation</journal-title></journal-title-group><issn pub-type="epub">2327-4018</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ojmsi.2021.93014</article-id><article-id pub-id-type="publisher-id">OJMSi-109274</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Probabilistic Modelling of COVID-19 Dynamic in the Context of Madagascar
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Angelo</surname><given-names>Raherinirina</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Tsilefa</surname><given-names>Stefana Fandresena</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Aimé</surname><given-names>Richard Hajalalaina</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Haja</surname><given-names>Rabetafika</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Rivo</surname><given-names>Andry Rakotoarivelo</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Fontaine</surname><given-names>Rafamatanantsoa</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>University of Fianarantsoa, Madagascar</addr-line></aff><pub-date pub-type="epub"><day>21</day><month>05</month><year>2021</year></pub-date><volume>09</volume><issue>03</issue><fpage>211</fpage><lpage>230</lpage><history><date date-type="received"><day>3,</day>	<month>February</month>	<year>2021</year></date><date date-type="rev-recd"><day>21,</day>	<month>May</month>	<year>2021</year>	</date><date date-type="accepted"><day>24,</day>	<month>May</month>	<year>2021</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  We propose a probabilistic approach to modelling the propagation of the coronavirus disease 2019 (COVID-19) in Madagascar, with all its specificities. With the strategy of the Malagasy state, which consists of isolating all suspected cases and hospitalized confirmed case, we get an epidemic model with seven compartments: susceptible (S), Exposed (E), Infected (I), Asymptomatic (A), Hospitalized (H), Cured (C) and Death (D). In addition to the classical deterministic models used in epidemiology, the stochastic model offers a natural representation of the evolution of the COVID-19 epidemic. We inferred 
  the models with the official data provided by the COVID-19 Command Center (CCO) of Madagascar, between March and August 2020. The basic reproduction number R<sub></sub>
  <sub>0</sub> and the other parameters were estimated with a Bayesian approach. We developed an algorithm that allows having a temporal estimate of this number with confidence intervals. The estimated values are slightly lower than the international references. Generally, we were able to obtain a simple but effective model to describe the spread of the disease.
 
</p></abstract><kwd-group><kwd>Modified SEIR Model</kwd><kwd> COVID-19 Madagascar</kwd><kwd> Basic Reproduction Number</kwd><kwd> Markov Chain Continuous Time</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Since its emergence in Wuhan, coronavirus 2 (SARS-CoV-2) has shaken up scientific communities around the world [<xref ref-type="bibr" rid="scirp.109274-ref1">1</xref>]. Currently, there are more than 100,000 articles published according to the database “COVID-19 primer” (https://covid19primer.com) most of whom are interested in modeling and forecasting [<xref ref-type="bibr" rid="scirp.109274-ref2">2</xref>] [<xref ref-type="bibr" rid="scirp.109274-ref3">3</xref>] [<xref ref-type="bibr" rid="scirp.109274-ref4">4</xref>]. The case of less developed countries in sub-Saharan Africa such as Madagascar is still less studied because of insufficient data. For Madagascar, since the first case in March 2019, the COVID-19 has affected more than 14,696 people until 30 August 2020 according to official statistics. Of the contaminated, 13,709 are cured with 187 deaths officially declared by the ministry. The cure rate is, therefore, close to 93.28% and the mortality rate is about 1.30%.</p><p>This statistic is widely questionable given the insufficient number of tests on the big island. The absence of a massive test and its management principle make the choice of the procedure for responding to the disease quite particular in Madagascar. Socio-economic factors do not allow containment measures to be strictly applied. This specificity extends to the modeling approach of the evolution of the pandemic to represent reality [<xref ref-type="bibr" rid="scirp.109274-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.109274-ref6">6</xref>]. Studies have been conducted on the identification of the various symptoms and clinical signs of COVID-19 to anticipate the detection of confirmed cases.</p><p>From the compartmental models of epidemics introduced by Daniel Bernoulli [<xref ref-type="bibr" rid="scirp.109274-ref7">7</xref>]; several extensions have been proposed to explain the evolution of more diseases [<xref ref-type="bibr" rid="scirp.109274-ref8">8</xref>] [<xref ref-type="bibr" rid="scirp.109274-ref9">9</xref>] [<xref ref-type="bibr" rid="scirp.109274-ref10">10</xref>]. These models have been widely used by scientists around the world to model the evolution of the COVID-19 epidemic. Several compartments can be used depending on the modeling context. Fa&#239;&#231;al et al. [<xref ref-type="bibr" rid="scirp.109274-ref8">8</xref>] consider an 8 compartments model and Kyrychko et al. arrived up to 10 compartments [<xref ref-type="bibr" rid="scirp.109274-ref11">11</xref>]. The number of parameters as well as the complexity of the model increase with this number of compartments. Our challenge in this article is to have a relatively simple, understandable but realistic model in the context of Madagascar.</p><p>As in all epidemic models, the basic reproduction number gives us information on the spread of the disease. In order to have a better estimate of this parameter, we combine several approaches starting from a deterministic model in order to study its stochastic extension. For the deterministic case, the main results on the ordinary differential equation make it possible to identify important properties on the propagation of the disease [<xref ref-type="bibr" rid="scirp.109274-ref12">12</xref>] [<xref ref-type="bibr" rid="scirp.109274-ref13">13</xref>]. The basic reproduction number is considered to be constant.</p><p>Considering the fact that people do not have the same sensitivities to contact with the virus and different factors can influence the rate of spread of the disease; the use of probabilistic models seems realistic to us. From section 4, we focus on the stochastic extension of the deterministic model, with the introduction of random noise. The techniques used are detailed in the article by Alen et al. [<xref ref-type="bibr" rid="scirp.109274-ref14">14</xref>].</p><p>In [<xref ref-type="bibr" rid="scirp.109274-ref15">15</xref>], with its six-compartment model, authors introduced a similar approach to model the evolution of the new coronavirus in the island of Mayotte (French). We have adapted this model for the case of Madagascar with our seven compartments epidemic model. We propose new methods for simulation and estimation of parameters. The models will be inferred with official data on COVID-19 in Madagascar, during the critical moment of the epidemic, i.e. between March and August 2020.</p></sec><sec id="s2"><title>2. Preliminaries</title><sec id="s2_1"><title>2.1. Local Context of the COVID-19 Epidemic in Madagascar</title><p>Madagascar remains vulnerable to coronavirus attack. Despite the small number of cases detected, the impact of the new coronavirus on the Malagasy health system is considerable. The country is still at risk of an unmanageable and dangerous health crisis.</p><p>As soon as the virus appeared in Madagascar, the CCO took the initiative to introduce restrictions in order to limit the spread of the virus. Studies have shown that this initiative is early and has not provided more information on how the virus spreads.</p><p>According to official data, during the first wave, between March and August 2020, the outbreaks are in two regions: Analamanga region (Antananarivo, capital) and Antsinana region (Tamatave) (<xref ref-type="fig" rid="fig1">Figure 1</xref>).</p><p>Much of the data used in this article comes from these two strategic regions of Madagascar: Antananarivo the capital and Toamasina the economic capital. <xref ref-type="fig" rid="fig2">Figure 2</xref> and <xref ref-type="fig" rid="fig3">Figure 3</xref> represent the evolution of new cases observed in these two regions.</p><p>These graphs show that the epidemic has not had the same dynamic in these two major regions of Madagascar. It first hit the east side of the big island before entering the highlands.</p><p>For the entire territory of Madagascar, the SRAS-COV2 coronavirus epidemic has experienced several phases. The numbers of new cases and deaths were considered constant during the first trimester. These numbers followed an upward phase from June 2020. The impact of the epidemic was major in July 2020. The peak of this first wave is assumed to have reached around the beginning of August 2020, see <xref ref-type="fig" rid="fig4">Figure 4</xref>.</p><p><xref ref-type="fig" rid="fig5">Figure 5</xref> describes the cumulative data observed for all 22 regions of Madagascar.</p></sec><sec id="s2_2"><title>2.2. Modelling approach</title><p>The effectiveness of SIR (Susceptible-infected-removed) models has already been shown in epidemiological modelling problems. Several modifications have been proposed based on hypotheses on how the disease is transmitted [<xref ref-type="bibr" rid="scirp.109274-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.109274-ref8">8</xref>].</p><p>To limit the spread of the COVID-19 virus, Madagascar’s strategy is to isolate all suspected cases and hospitalize confirmed case. Given the inadequacy or lack of mass screening (PCR test), the effects of this strategy remain questionable. Many people with the virus are asymptomatic and show no signs of infection.</p><p>In line with this strategy, we propose in this article a model with seven compartments:</p><p>• S (Susceptibles): individuals who are not infected but at some risk of becoming infected;</p><p>• E (Exposed): individuals who have been in contact with the virus but not yet infectious until after a latency period;</p><p>• I (Infectious): individuals who can infect and are not yet hospitalized or isolated,</p><p>• H (Hospitalized): confirmed and hospitalized (isolated) cases;</p><p>• A (Asymptomatic): infected individuals but do not have symptoms (not isolated);</p><p>• C (Cured): healed confirmed cases;</p><p>• D (Death): deaths due to COVID-19.</p><p>Diagram in <xref ref-type="fig" rid="fig6">Figure 6</xref> describes the evolution of our system according to the flows between the different compartments. The particularity of this model among others are first of all the separation of healthy (susceptible) individuals and individuals who are not yet sick but already in contact with the virus (Exposed). We have also put in another compartment infected individuals asymptomatic but who can transmit the virus.</p><p>Using the assumptions of Manou-Abi and Balicchi in [<xref ref-type="bibr" rid="scirp.109274-ref15">15</xref>] all the models’ parameters is summarized in <xref ref-type="table" rid="table1">Table 1</xref>.</p><p>The basic reproductions number R<sub>0</sub> corresponding to the model will be estimated using the officiad data recenced by the CCO-COVID-19. It represents the average number of secondary cases produced by a fundamental case over its infectious period. It is the initial growth rate of the epidemic.</p></sec></sec><sec id="s3"><title>3. Classic Deterministic Model</title><sec id="s3_1"><title>3.1. Deterministic SEIR Modified Model</title><p>As a reference, we will consider the deterministic case adapted to the context of.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Parameters of the COVID-19 SEIR modified model</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Rating</th><th align="center" valign="middle" >Description</th><th align="center" valign="middle" >range</th></tr></thead><tr><td align="center" valign="middle" >α</td><td align="center" valign="middle" >The rate at which the epidemic spreads</td><td align="center" valign="middle" >-</td></tr><tr><td align="center" valign="middle" >β</td><td align="center" valign="middle" >Time of onset of symptoms (incubation period)</td><td align="center" valign="middle" >4 - 6 days</td></tr><tr><td align="center" valign="middle" >p</td><td align="center" valign="middle" >Proportion of unse confirmed cases</td><td align="center" valign="middle" >-</td></tr><tr><td align="center" valign="middle" >γ</td><td align="center" valign="middle" >Healing time for unredmified single cases (non-hospitalized)</td><td align="center" valign="middle" >7 - 14 days</td></tr><tr><td align="center" valign="middle" >λ</td><td align="center" valign="middle" >Time to detect infectious diseases</td><td align="center" valign="middle" >5 - 10 days</td></tr><tr><td align="center" valign="middle" >q</td><td align="center" valign="middle" >Time for infectious cures</td><td align="center" valign="middle" >20 - 40 days</td></tr><tr><td align="center" valign="middle" >θ</td><td align="center" valign="middle" >Proportion of cures of confirmed cases</td><td align="center" valign="middle" >-</td></tr><tr><td align="center" valign="middle" >δ</td><td align="center" valign="middle" >Time of infections causing death</td><td align="center" valign="middle" >14 - 50 days</td></tr></tbody></table></table-wrap><p>Madagascar. This type of model is widely used in mathematical modeling of the spread of the COVID-19 [<xref ref-type="bibr" rid="scirp.109274-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.109274-ref16">16</xref>].</p><p>At a moment t, let S ( t ) , E ( t ) , I ( t ) , A ( t ) , H ( t ) , C ( t ) et D ( t ) the number of individuals in the compartments “Susceptible”, “Exposed”, “Infections”, “Asymptomatic”, “Hospitalized”, “Cured” et “Death”.</p><p>Assume that the total number of population is constant, i.e.,</p><p>N = N ( t ) , (1)</p><p>with N ( t ) = S ( t ) + E ( t ) + I ( t ) + A ( t ) + H ( t ) + C ( t ) + D ( t ) , for any momentt.</p><p>In a time interval [ t , t + d t ] , the evolution of the system is described by Equation (2):</p><p>{ d S ( t ) d t = − α S ( t ) I ( t ) N , d E ( t ) d t = α S ( t ) I ( t ) N − β E ( t ) , d I ( t ) d t = β E ( t ) − p γ I ( t ) − ( 1 − p ) λ I ( t ) , d A ( t ) d t = p γ I ( t ) , d H ( t ) d t = ( 1 − p ) λ I ( t ) − ( 1 − q ) δ H ( t ) − q θ H ( t ) , d C ( t ) d t = q θ H ( t ) , d D ( t ) d t = ( 1 − q ) δ H ( t ) . (2)</p><p>with:</p><p>- ( 1 − p ) λ I ( t ) d t the number of confirmed cases (isolated, hospitalized),</p><p>- p γ I ( t ) the number of asymptomatic cases,</p><p>- α ( S ( t ) I ( t ) ) / N d t the number of new infections in the interval [ t , t + d t ] .</p><p>By grouping asymptomatic cases and healed people into R(t) (“removed”):</p><p>R ( t ) = C ( t ) + A ( t ) , (3)</p><p>the simulation of the model with an extract from the population, in an environment where the virus circulates, gives the graphs of <xref ref-type="fig" rid="fig7">Figure 7</xref>.</p></sec><sec id="s3_2"><title>3.2. Estimation of the Parameters and Simulation</title><p>To estimate the infection rate β and recovery rate γ in the SIR sub-process, we use the method introduced by Kermarck and McKendick in [<xref ref-type="bibr" rid="scirp.109274-ref17">17</xref>] using the observed data.</p><disp-formula id="scirp.109274-formula1"><graphic  xlink:href="//html.scirp.org/file/1-2860197x19.png"  xlink:type="simple"/></disp-formula><p>(The parameters β and γ of the SIR sub-process).The number of basic reproductions R<sub>0</sub> is obtained by</p><p>R 0 = β / γ , (4)</p><p>after training the ODE system of Equation (3) with the data of the COVID-19 in Madagascar.</p><p>Note:If R<sub>0</sub> &lt; 1, the infected individual contaminates less than one other individual on average. This is why the epidemic is disappearing from the population.</p><p>If R<sub>0</sub> &gt; 1, then the virus continues to spread in the population.</p><p>For Madagascar, by running the model with the observed data and its population of about 26,026,000, we obtain:</p><p>The estimated number of basic reproductions with official data is quite small. This may be due to the specificity of the Malagasy on the vulnerability to the COVID-19. <xref ref-type="fig" rid="fig8">Figure 8</xref> shows the simulation of the model with the epidemic parameters of Madagascar. Without intervention, the dynamics stabilize over the long term, see <xref ref-type="fig" rid="fig9">Figure 9</xref>.</p></sec></sec><sec id="s4"><title>4. Stochastic Model</title><p>In this section, we study the stochastic pattern of the propagation dynamics of COVID-19 in Madagascar with a continuous time Makov chain (CTMC) [<xref ref-type="bibr" rid="scirp.109274-ref18">18</xref>]. In complex and imprecise situations, the use of stochastic models is always a better alternative. These models are very useful in epidemiology [<xref ref-type="bibr" rid="scirp.109274-ref19">19</xref>] [<xref ref-type="bibr" rid="scirp.109274-ref20">20</xref>] [<xref ref-type="bibr" rid="scirp.109274-ref21">21</xref>].</p><sec id="s4_1"><title>4.1. Stochastic Evolution of the Spread of COVID-19</title><p>The spread and speeds of transmission of the new coronavirus vary widely from country to country. It depends on many factors such as demographic, socioeconomic, geographical, biologic and especially epidemic [<xref ref-type="bibr" rid="scirp.109274-ref22">22</xref>]. At the same time, individuals strive to find good ways to deal with the disease and adapt their behaviors to the different requirements of the riposte strategy.</p><p>We assume that factors external to the virus affect its rate of spread and turn it into a random variable. Thus, the process formed by transmission speeds ( α ( t ) ) , t ≥ 0 can be considered a stochastic process in continuous time with:</p><p>α ( t ) d t = α d t + σ d B ( t ) (5)</p><p>where B is a standard Brownian movement [<xref ref-type="bibr" rid="scirp.109274-ref23">23</xref>].</p><p>α ( t ) d t represents the number of infection transmitted by an infectious individual during a period dt. It is a normally distributed random variable [<xref ref-type="bibr" rid="scirp.109274-ref15">15</xref>]:</p><p>α ( t ) d t ~ N ( α d t , σ 2 d t ) .</p></sec><sec id="s4_2"><title>4.2. Continuous-Time Markov Chain SEIR Modified Model</title><p>The works of Norris [<xref ref-type="bibr" rid="scirp.109274-ref18">18</xref>] and Durret [<xref ref-type="bibr" rid="scirp.109274-ref23">23</xref>] are good references to the theories on continuous time Markov chain. We use results that are demonstrated in these works.</p><p>For the SEIAHCD process of <xref ref-type="fig" rid="fig6">Figure 6</xref>, for each individual, consider the following events:</p><p>i) Exposition: a susceptible individual became exposed through contact with an infected individual, under a probability of p<sub>1</sub></p><disp-formula id="scirp.109274-formula2"><graphic  xlink:href="//html.scirp.org/file/1-2860197x31.png"  xlink:type="simple"/></disp-formula><p>ii) Infection: an exposed individual became infected under a probability of p<sub>2</sub></p><disp-formula id="scirp.109274-formula3"><graphic  xlink:href="//html.scirp.org/file/1-2860197x32.png"  xlink:type="simple"/></disp-formula><p>iii) Recovery: an infected individual has passed the incubation period and become an asymptomatic case, with a probability of p<sub>3</sub></p><disp-formula id="scirp.109274-formula4"><graphic  xlink:href="//html.scirp.org/file/1-2860197x33.png"  xlink:type="simple"/></disp-formula><p>iv) Hospitalization: an infected individual is hospitalized with a probability of p<sub>4</sub></p><disp-formula id="scirp.109274-formula5"><graphic  xlink:href="//html.scirp.org/file/1-2860197x34.png"  xlink:type="simple"/></disp-formula><p>v) Healing: an individual hospitalized is cured of COVID-19</p><disp-formula id="scirp.109274-formula6"><graphic  xlink:href="//html.scirp.org/file/1-2860197x35.png"  xlink:type="simple"/></disp-formula><p>vi) Death: an individual hospitalized died of COVID-19</p><disp-formula id="scirp.109274-formula7"><graphic  xlink:href="//html.scirp.org/file/1-2860197x36.png"  xlink:type="simple"/></disp-formula><p>Events i), ii), iii), iv), v) et vi) correspond to jumps in processes S ( t ) , E ( t ) , I ( t ) , A ( t ) , H ( t ) , C ( t ) et D ( t ) . Consider the following subset of events:</p><p>- Events after exposition:</p><p>G 1 = { exposition , infection , removed } , where</p><p>removed = { revovery , hospitalization } .</p><p>- Events after infections:</p><p>G 2 = { recovery , hospitalization , retired } , where</p><p>retired = { death , healing } , with</p><p>- Events after hospitalization:</p><p>G 3 = { death , healing } .</p><p>In our modeling approach, we assume that events in each subset are independent uniformly distributed. Probabilities of jumps corresponding to the different events can be written:</p><p>- For G<sub>1</sub>:</p><p>( exposition ) ~ p 1 p 1 + p 2 + p 3 + p 4 , ( infection ) ~ p 2 p 1 + p 2 + p 3 + p 4 ,</p><p>( removed ) ~ p 3 + p 4 p 1 + p 2 + p 3 + p 4 .</p><p>- For G<sub>2</sub></p><p>( recovery ) ~ p 3 p 3 + p 4 + p 5 + p 6 , ( hospitalization ) ~ p 4 p 3 + p 4 + p 5 + p 6 ,</p><p>( retired ) ~ p 5 + p 6 p 3 + p 4 + p 5 + p 6 .</p><p>- For G<sub>3</sub>:</p><p>( healing ) ~ p 5 p 5 + p 6 , ( death ) ~ p 4 p 3 + p 4 + p 5 + p 6 .</p><p>with the below assumption and with an additional hypotheses that the transition time are exponentially distributed, we can consider that processes S ( t ) , E ( t ) , I ( t ) , A ( t ) , H ( t ) , C ( t ) et D ( t ) can be modeled by continuous time Markov chain. Algorithm 1 can simulate this model with the parameters estimated using official data. The result is in <xref ref-type="fig" rid="fig1">Figure 1</xref>0.</p></sec></sec><sec id="s5"><title>5. Extending the Model to a Stochastic Differential Equation</title><sec id="s5_1"><title>5.1. Stochastic Equivalent of the Deterministic SEIR Model</title><p>The introduction of random effects into Equations (2) leads to a stochastic differential equation system. The deduced model is the stochastic equivalent of the modified SEIR model [<xref ref-type="bibr" rid="scirp.109274-ref24">24</xref>].</p><p>In a general way, a classic differential equation in explicit form</p><p>d x t d t = b t ( x t )</p><p>transforms into a stochastic differential equation by adding random noise.</p><p>This noise can be taken into account by a process of Winner W<sub>t</sub> [<xref ref-type="bibr" rid="scirp.109274-ref25">25</xref>]:</p><p>d x t d t = μ ( x t ) + σ ( x t ) d W t , (6)</p><p>where μ ( X , θ ) the average et σ 2 ( X , θ ) the covariance matrix.</p><disp-formula id="scirp.109274-formula8"><graphic  xlink:href="//html.scirp.org/file/1-2860197x58.png"  xlink:type="simple"/></disp-formula><p>Algorithm 1. Simulation of the continuous time Markov chain SEIAHCD model.</p><p>1) First, consider the sub-model SEI (Susceptible, Exposed, Infected). Let ( x 1 x 2 x 3 ) , associated random variables. For a small interval of time ∆t; transition probabilities are written:</p><p>P ( S + k , E + j , I + m ) = { p 1 = α S I N Δ t ,                                                                     ( k , j , m ) = ( − 1 , 1 , 0 ) p 2 = β E Δ t ,                                                                         ( k , j , m ) = ( 0 , − 1 , 1 ) p 3 = ( p γ I + ( 1 − p ) λ I ) Δ t ,         ( k , j , m ) = ( 0 , 0 , − 1 ) 1 − ( ∑ i = 1 3 p i ) Δ t ,                                                                 ( k , j , m ) = ( 0 , 0 , 0 ) 0 ,                                                                                                                   otherwise (7)</p><p>E ( Δ x ) = ∑ i = 1 3 p i ( Δ x ) i = p 1 ( Δ x ) 1 + p 2 ( Δ x ) 2 + p 3 ( Δ x ) 3 = p 1 ( − 1 1 0 ) + p 2 ( 0 − 1 1 ) + p 3 ( 0 0 − 1 )</p><p>E ( Δ x ) = ( − α S I N α S I N − β E β E − p γ I − ( 1 − p ) λ I ) Δ t = μ ( x 1 , x 2 , x 3 ) Δ t</p><p>E ( ( Δ x ) ( Δ x ) ) = ∑ i = 1 3 p i ( Δ x ) i ( Δ x ) i T = p 1 ( − 1 1 0 ) ( − 1 1 0 ) + p 2 ( 0 − 1 1 ) ( 0 − 1 1 ) + p 3 ( 0 0 − 1 ) ( 0 0 − 1 ) = ( p 1 − p 1 0 − p 1 p 1 + p 2 − p 2 0 − p 2 p 2 + p 3 ) = ( α S I N − α S I N 0 − α S I N α S I N + β E − β E 0 − β E β E + p γ I + ( 1 − p ) λ I ) Δ t = σ 2 ( x 1 , x 2 , x 3 ) Δ t</p><p>We obtain:</p><p>{ d S ( t ) d t = − α S ( t ) I ( t ) N + σ 1 , 1 d W d t + σ 1 , 2 d W d t d E ( t ) d t = α S ( t ) I ( t ) N − β E ( t ) + σ 2 , 1 d W d t + σ 2 , 2 d W d t + σ 2 , 3 d W d t d I ( t ) d t = β E ( t ) − p γ I(t) − (1 − p) λ I(t) + σ 3 , 2 d W d t + σ 3 , 3 d W d t (8)</p><p>where a Wienner i process.</p><p>2) For the sub-model “after infections”:</p><p>Note ( x 4 x 5 ) the random variables associated with sub-model AH.</p><p>For a small interval ∆t. Transition probabilities are:</p><p>P ( A + k , H + j ) = { p 4 = p γ I Δ t ,                                                                                 ( k , j ) = ( 1 , 0 ) p 5 = ( 1 − p ) λ I Δ t ,                                                         ( k , j ) = ( 0 , 1 ) p 6 = ( ( 1 − q ) δ H + q θ H ) Δ t ,               ( k , j ) = ( 0 , − 1 ) 1 − ( ∑ i = 4 6 p i ) Δ t ,                                                                       ( k , j , m ) = ( 0 , 0 ) 0                                                                                                                       otherwise</p><p>E ( Δ x ) = ∑ i = 4 6 p i ( Δ x ) i = p 4 ( Δ x ) 4 + p 5 ( Δ x ) 5 + p 6 ( Δ x ) 6 = p 4 ( 1 0 ) + p 5 ( 0 1 ) + p 6 ( 0 − 1 )</p><p>E ( Δ x ) = ( p γ I ( 1 − p ) λ I − q θ H − ( 1 − q ) δ H ) Δ t = μ ( x 1 , x 2 , x 3 ) Δ t</p><p>E ( ( Δ x ) ( Δ x ) ) = ∑ i = 4 6 p i ( Δ x ) i ( Δ x ) i T = p 4 ( 0 1 ) ( 0 1 ) + p 5 ( 1 0 ) ( 1 0 ) + p 6 ( − 1 0 ) ( − 1 0 ) = ( p 5 + p 6 0 0 p 4 ) = ( ( 1 − p ) λ I + q θ H + ( 1 − q ) δ H 0 0 p γ I ) Δ t = σ 2 ( x 1 , x 2 , x 3 ) Δ t .</p><p>We obtain:</p><p>{ d A ( t ) d t = p γ I ( t ) + σ 1 , 1 d W 1 d t d H ( t ) d t = ( 1 − p ) λ I ( t ) − ( 1 − q ) δ H ( t ) − q θ H ( t ) + σ 2 , 2 d W d t (9)</p><p>where W the independent processes of Winner.</p><p>3) For the last sub-model (compartments after hospitalization):</p><p>Note ( x 6 x 7 ) random variables corresponding to the CD submodel. For a small inteval ∆t, the transition probabilities are:</p><p>P ( c + k , d + j ) = { p 6 = q θ H Δ t ,                                         ( k , j ) = ( 1 , 0 ) p 7 = ( 1 − q ) δ I Δ t ,                     ( k , j ) = ( 0 , 1 ) 1 − ( ∑ i = 6 7 p i ) Δ t ,                                   ( k , j , m ) = ( 0 , 0 ) 0 ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​                                                                                           otherwise</p><p>E ( Δ x ) = ∑ i = 6 7 p i ( Δ x ) i = p 6 ( 1 0 ) + p 7 ( 0 1 )</p><p>E ( Δ x ) = ( q θ H 0 ) Δ t + ( 0 ( 1 − q ) δ H ) Δ t = μ ( x 1 , x 2 , x 3 ) Δ t</p><p>E ( ( Δ x ) ( Δ x ) ) = ∑ i = 6 7 p i ( Δ x ) i ( Δ x ) i T = p 6 ( 1 0 ) ( 1 0 ) + p 7 ( 0 1 ) ( 0 1 ) = ( p 6 0 0 p 7 ) = ( q θ H 0 0 ( 1 − q ) δ H ) Δ t = σ 2 ( x 1 , x 2 , x 3 ) Δ t</p><p>The system becomes:</p><p>{ d C ( t ) d t = q θ H + σ 1 , 1 d W d t d D ( t ) d t = ( 1 − q ) δ H + σ 2 , 2 d W d t (10)</p><p>where W a Wienner process.</p><p><xref ref-type="fig" rid="fig1">Figure 1</xref>1 represents a simulation of the model through a numerical resolution of stochastic differential Equations (8)-(10).</p></sec><sec id="s5_2"><title>5.2. Estimation of the Basic Reproduction Number R<sub>0</sub></title><p>1) Estimate by the method of maximum likelihood:</p><p>In [<xref ref-type="bibr" rid="scirp.109274-ref26">26</xref>], the authors propose maximum likelihood method to estimate the number of basic reproductions of an epidemic. This technique is based on the assumption that the number of secondary cases caused by an index case is a Poisson distribution, with the expected value R<sub>0</sub>.</p><p>Let ( I 0 , I 1 , ⋯ , I T ) the observation on consecutive time and ω generation time distribution. The number of basic reproductions R<sub>0</sub> is estimated by a maximization of the log-likelihood:</p><p>L L ( R ) = ∑ t = 1 T log ( exp ( − μ t ) μ t I t I t ) (11)</p><p>where &#181; t = R ∑ t − i t I t − i ω i .</p><p>The likelihood function must be calculated over a period of exponential growth, and the R-square deviance can be used to select the best period. For Madagascar, using the observed data, the maximum likelihood estimate (MLE) of the basic reproduction number is:</p><p>R 0 = 1.1027</p><p>with 95% of confidence interval.</p><p>2) Bayesian estimate:</p><p>Introduced by Bettencourt and Ribeiro [<xref ref-type="bibr" rid="scirp.109274-ref27">27</xref>], this technique allows sequential estimate of the number of reproduction R. It is based on the assumption that the number of infections I ( t ) is a discrete random variable and I ( t + 1 ) is a Poisson random variable: P ( λ ) , where</p><p>λ = I ( t ) exp ( γ ( R − 1 ) )     et     1 γ</p><p>the average duration of the infectious period.</p><p>With a non informative prior distribution of the basic number of reproduction R<sub>0</sub>, we have implemented an algorithm that can calculate the posterior distribution:</p><p>P ( R 0 | I 0 , I 1 , ⋯ , I t + 1 ) = P ( I t + 1 | R 0 , I 0 , I 1 , ⋯ , I t ) P ( R 0 | I 0 , I 1 , ⋯ , I t ) P ( I 0 , ⋯ , I t + 1 ) (12)</p><p>Knowledge about R<sub>0</sub> is updated as new data is observed. On each new day, the posterior distribution after the previous day is considered to be the prior distribition. At any given moment, the Bayesian estimate can be calculated with the highest probability density interval.</p><p>As before, the method requires that the epidemic be in a period of exponential growth, i.e., it does not take into account the depletion of sensitivity. It implicitly uses an exponential distribution for generation time; and assumes a random mix in the population [<xref ref-type="bibr" rid="scirp.109274-ref28">28</xref>].</p><p>For our case, on the graph of <xref ref-type="fig" rid="fig1">Figure 1</xref>2, the grayed area corresponds to the</p><p>confidence interval and the black curve to the average number of reproductions in time function R ( t ) . According to these results, the basic reproduction number in the Malagasy territory is lower than the references in neighboring countries [<xref ref-type="bibr" rid="scirp.109274-ref29">29</xref>] [<xref ref-type="bibr" rid="scirp.109274-ref30">30</xref>].</p></sec></sec><sec id="s6"><title>6. Conclusions</title><p>We have proposed a mathematical modelling framework for the spread of the COVID-19 epidemic in Madagascar taking into account local contexts. We developed a seven compartments model corresponding to the pandemic management strategies adopted by Malagasy authorities.</p><p>The implementation of containment and the imposition of various social distancing measures from the first outbreaks of the pandemic give a particular dynamic to the evolution of coronavirus in Madagascar. Due to insufficient screening tests, the detection rate of positive cases remains very low. There has been a sufficiently slow dynamic compared to other countries.</p><p>For the first deterministic model, the estimated basic reproduction number is close to 1.2. With the stochastic extensions of this model, we estimated values slightly below (near 1.1). These parameters suggest a low rate of spread of the epidemic during the first wave of coronavirus between March and August 2020 in Madagascar. According to official data, the epidemic appears to be under control. This deduction leaves much discussion given the lack of a massive test and the low rate of positive case detection.</p><p>Probabilistic tools provide a natural approach to modelling the evolution of the epidemic. Results already established in probability theory allow for more in-depth studies. The first stochastic model derived from a continuous-time Markov chain is reliable for a small-scale population. Managing transition time and events is a big challenge for a large number of populations. The stochastic differential equation (SDE) model is more interesting in this situation. Yet analyses of model characteristics, such as stability and convergence, are meriting further study.</p><p>For the proposed models, we were able to estimate the key parameters of epidemiological models such as the basic reproduction number. It can be interpreted as the measure of contagiousness and severity of the epidemic. Based on our results the Malagasy people are less vulnerable to the attack of the COVID-19. The epidemic is a little mild if we look at the official observed data.</p><p>With a Bayesian approach, we calculated the real-time estimation of the reproduction number. This time function of the R 0 can be used to introduce control over the spread of the disease. This is also one of the perspectives of this work.</p></sec><sec id="s7"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s8"><title>Cite this paper</title><p>Raherinirina, A., Fandresena, T.S., Hajalalaina, A.R., Rabetafika, H., Rakotoarivelo, R.A. and Rafamatanantsoa, F. (2021) Probabilistic Modelling of COVID-19 Dynamic in the Context of Madagascar. Open Journal of Modelling and Simulation, 9, 211-230. https://doi.org/10.4236/ojmsi.2021.93014</p></sec></body><back><ref-list><title>References</title><ref id="scirp.109274-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Anna O., Sandro G., David S., Carlo S. and the University Vita-Salute San Raffaele COVID-19 Literature Monitoring Working Group (2020) The First 10,000 COVID-19 Papers in Perspective: Are We Publishing What We Should Be Publishing? European Journal of Public Health, 30, 849-850. https://doi.org/10.1093/eurpub/ckaa170</mixed-citation></ref><ref id="scirp.109274-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Malik, V.S., Anton, K., Anne, P. and Boris, K. (2020) A New Modeling of the COVID 19 Pandemic. Chaos, Solitons &amp; Fractals, 139, Article ID: 110039. https://doi.org/10.1016/j.chaos.2020.110039</mixed-citation></ref><ref id="scirp.109274-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Abdul, M.I. and Osei, A. (2020) Modelling Covid-19 Deaths in Ghana as a Discrete State Process in Continuous Time. American Journal of Applied Mathematics, 8, 344-355.</mixed-citation></ref><ref id="scirp.109274-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Raberahona, M., Rakotomalala, R., Rakotomijoro, E., Rahaingoalidera, T., Andry, C. E., Mamilaza, N., Razafindrabekoto, L., Rafanomezantsoa, E., Andriananja, V., Andrianasolo, R.L., Razafimahefa, S.H., Rakotoarivelo, R.A. and Randria, M. (2020) Clinical and Epidemiological Features Discriminating Confirmed COVID-19 Patients from SARS-CoV-2 Negative Patients at Screening Centers in Madagascar. International Journal of Infectious Diseases, 103, 6-8. https://doi.org/10.1016/j.ijid.2020.11.151</mixed-citation></ref><ref id="scirp.109274-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Fa&amp;iuml&amp;ccedilal, N., Iv&amp;aacuten, A., Juan, J.N. and Delfim, F.M. T. (2020) Mathematical Modeling of COVID-19 Transmission Dynamics with a Case Study of Wuhan. Chaos, Solitons &amp; Fractals, 135, Article ID: 109846. https://doi.org/10.1016/j.chaos.2020.109846</mixed-citation></ref><ref id="scirp.109274-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Itai, C., Mathias, D., Mbuzeleni, H. and Tafadzwa, D. (2020) COVID-19: Unpacking the Low Number of Cases in Africa. Public Health in Practice, 1, Article ID: 100038. https://doi.org/10.1016/j.puhip.2020.100038</mixed-citation></ref><ref id="scirp.109274-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Marius, G., Giulia, P., Francesco, P., Eugenio, V., Chiara, P., Pierre-Yves, B., Eric, D., Yazdan, Y., Serge, P.E., Mathias, A., Bernardo, G., Moritz, U.G.K. and Vittoria, C. (2020) Preparedness and Vulnerability of African Countries against Importations of COVID-19: A Modelling Study. The Lancet, 395, 871-877. https://doi.org/10.1016/S0140-6736(20)30411-6</mixed-citation></ref><ref id="scirp.109274-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Klaus, D. and Heesterbeek, J.A.P. (2002) Daniel Bernoulli’s Epidemiological Model Revisited. Mathematical Biosciences, 180, 1-21. https://doi.org/10.1016/S0025-5564(02)00122-0</mixed-citation></ref><ref id="scirp.109274-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Mandal, S., Sarkar, R.R. and Sinha, S. (2011). Mathematical Models of Malaria—A Review. Malaria Journal, 10, Article NO. 202. https://doi.org/10.1186/1475-2875-10-202</mixed-citation></ref><ref id="scirp.109274-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Fred, B. (2017) Mathematical Epidemiology: Past, Present, and Future. Infectious Disease Modelling, 2, 113-127. https://doi.org/10.1016/j.idm.2017.02.001</mixed-citation></ref><ref id="scirp.109274-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Kyrychko, Y.N., Blyuss, K.B. and Brovchenko I. (2020) Mathematical Modelling of the Dynamics and Containment of COVID-19 in Ukraine. Scientific Reports, 10, Article No. 19662. https://doi.org/10.1038/s41598-020-76710-1</mixed-citation></ref><ref id="scirp.109274-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Piu, S., Jayanta, M. and Subhas, K. (2020) A Mathematical Model for COVID-19 Transmission Dynamics with a Case Study of India. Chaos, Solitons &amp; Fractals, 140, Article ID: 110173. https://doi.org/10.1016/j.chaos.2020.110173</mixed-citation></ref><ref id="scirp.109274-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Nguyen, H.T., Hakimeh, M. and Shahram, R. (2020) A Mathematical Model for COVID-19 Transmission by Using the Caputo Fractional Derivative. Chaos, Solitons &amp; Fractals, 140, Article ID: 110107. https://doi.org/10.1016/j.chaos.2020.110107</mixed-citation></ref><ref id="scirp.109274-ref14"><label>14</label><mixed-citation publication-type="book" xlink:type="simple">Allen, L.J.S. (2008) An Introduction to Stochastic Epidemic Models. In: Brauer, F., van den Driessche, P. and Wu, J., Eds., Mathematical Epidemiology, Lecture Notes in Mathematics, Vol. 1945, Springer, Berlin, Heidelberg, 81-130. https://doi.org/10.1007/978-3-540-78911-6_3</mixed-citation></ref><ref id="scirp.109274-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Manou-Abi, S. and Balicchi, J. (2020) Analysis of the COVID-19 Epidemic in French Overseas Department Mayotte Based on a Modified Deterministic and Stochastic SEIR Model. Cold Spring Harbor Laboratory Press.</mixed-citation></ref><ref id="scirp.109274-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Carcione, J.M., Santos, J.E., Bagaini, C. and Ba, J. (2020) A Simulation of a COVID-19 Epidemic Based on a Deterministic SEIR Mode. Frontiers in Public Health, 8, Article No. 230. https://doi.org/10.3389/fpubh.2020.00230</mixed-citation></ref><ref id="scirp.109274-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Kermack, W.O. and McKendrick, A.G. (1927) A Contribution to the Mathematical Theory of Epidemics. Proceedings of the Royal Society A, 115, 700-721. https://doi.org/10.1098/rspa.1927.0118</mixed-citation></ref><ref id="scirp.109274-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Norris, J. (1997) Markov Chains. Cambridge Series in Statistical and Probabilistic Mathematics, Cambridge University Press, Cambridge. https://doi.org/10.1017/CBO9780511810633</mixed-citation></ref><ref id="scirp.109274-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Witbooi, P.J. (2013) Stability of an SEIR Epidemic Model with Independent Stochastic Perturbations. Physica A: Statistical Mechanics and its Applications, 392, 4928-4936. https://doi.org/10.1016/j.physa.2013.06.025</mixed-citation></ref><ref id="scirp.109274-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Charles, J.M., Herman, E.G. and Nira, H. (1988) A Methodological Study of a Stochastic Model of an AIDS Epidemic. Mathematical Biosciences, 92, 201-229. https://doi.org/10.1016/0025-5564(88)90032-6</mixed-citation></ref><ref id="scirp.109274-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Cai, Y., Kang, Y. and Wang, W. (2017) A Stochastic SIRS Epidemic Model with Nonlinear Incidence Rate. Applied Mathematics and Computation, 305, 221-240. https://doi.org/10.1016/j.amc.2017.02.003</mixed-citation></ref><ref id="scirp.109274-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Byambasuren, O., Cardona, M., Bell, K., Clark, J., McLaws, M.L. and Glasziou, P. (2020) Estimating the Extent of Asymptomatic COVID-19 and Its Potential for Community Transmission: Systematic Review and Meta-Analysis. Cold Spring Harbor Laboratory Press.</mixed-citation></ref><ref id="scirp.109274-ref23"><label>23</label><mixed-citation publication-type="book" xlink:type="simple">Durrett, R. (2010) Brownian Motion. In: Durrett, R., Ed., Probability: Theory and Examples, Cambridge University Press, Cambridge, 353-400. https://doi.org/10.1017/CBO9780511779398.009</mixed-citation></ref><ref id="scirp.109274-ref24"><label>24</label><mixed-citation publication-type="other" xlink:type="simple">Ndanguza, D., Mbalawata, I. and Nsabimana, J. (2016) Analysis of SDEs Applied to SEIR Epidemic Models by Extended Kalman Filter Method. Applied Mathematics, 7, 2195-2211. http://dx.doi.org/10.4236/am.2016.717175</mixed-citation></ref><ref id="scirp.109274-ref25"><label>25</label><mixed-citation publication-type="other" xlink:type="simple">Allen, E.J., Allen, L.J.S., Armando, A. and Greenwood, P.E. (2008) Construction of Equivalent Stochastic Differential Equation Models. Stochastic Analysis and Applications, 26, 274-297. https://doi.org/10.1080/07362990701857129</mixed-citation></ref><ref id="scirp.109274-ref26"><label>26</label><mixed-citation publication-type="other" xlink:type="simple">White, L.F. and Pagano, M. (2008) A Likelihood-Based Method for Real-Time Estimation of the Serial Interval and Reproductive Number of an Epidemic. Statistics in Medicine, 27, 2999-3016. https://doi.org/10.1002/sim.3136</mixed-citation></ref><ref id="scirp.109274-ref27"><label>27</label><mixed-citation publication-type="other" xlink:type="simple">Bettencourt, L.M. and Ribeiro, R.M. (2008) Real Time Bayesian Estimation of the Epidemic Potential of Emerging Infectious Diseases. PLoS ONE, 3, e2185. https://doi.org/10.1371/journal.pone.0002185</mixed-citation></ref><ref id="scirp.109274-ref28"><label>28</label><mixed-citation publication-type="other" xlink:type="simple">Wang, K., Zhao, S., Li, H., Song, Y., Wang, L., Wang, M.H., Peng, Z., Li, H. and He, D. (2020) Real-Time Estimation of the Reproduction Number of the Novel Coronavirus Disease (COVID-19) in China in 2020 Based on Incidence Data. Annals of Translational Medicine, 8, Article No. 689. https://doi.org/10.21037/atm-20-1944</mixed-citation></ref><ref id="scirp.109274-ref29"><label>29</label><mixed-citation publication-type="other" xlink:type="simple">Evans, M.V., Garchitorena, A., Rakotonanahary, R.J., Drake, J.M., Andriamihaja, B., Rajaonarifara, E., Ngonghala, C.N., Roche, B., Bonds, M.H. and Rakotonirina, J.  (2020) Reconciling Model Predictions with Low Reported Cases of COVID-19 in Sub-Saharan Africa: Insights from Madagascar. Global Health Action, 13, Article No. 1816044. https://doi.org/10.1080/16549716.2020.1816044</mixed-citation></ref><ref id="scirp.109274-ref30"><label>30</label><mixed-citation publication-type="other" xlink:type="simple">Musa, S.S., Zhao, S., Wang, M.H., et al. (2020) Estimation of Exponential Growth Rate and Basic Reproduction Number of the Coronavirus Disease 2019 (COVID-19) in Africa. Infectious Diseases of Poverty, 9, Article No. 96. https://doi.org/10.1186/s40249-020-00718-y</mixed-citation></ref></ref-list></back></article>