Introduction

It would be fantastic for health authorities to be able to predict future outbreaks when an unknown disease first appears and starts to cause infections and fatalities. An important method for understanding how infectious diseases spread is the representation of infectious disease behaviors by dynamical systems1,2. It is presently thought that mathematical models have been crucial instruments in qualitative and quantitatively studying the transmission and management of infectious diseases3. Numerous academics used theoretical viewpoints and simulations performed numerically to analyze the transmission of various infectious diseases4,5,6,7.

The mathematical modeling of disease propagation is limited by various restrictions using the deterministic approach. Despite being easy to understand, they offer few details. As far as we know, environmental fluctuations influence the spread of infectious diseases and make it more complicated to foresee their behavior. In such cases, deterministic systems, while able to make very informative forecasts and previsions, are not appropriate enough8. So, there is a pressing need for a developed mathematical model that can take into account the randomness effect, especially in the context of a harmful infectious disease9. The uncertainty in a process’s progress is described by its stochastic model. Uncertainty is a result of randomness, which is a result of the evolution of the universe, and ignorance, which is a trait of humans.

In recent years, the stochastic perspective for modeling infectious diseases has received a lot of attention in research papers10,11,12,13,14. For example, Din and li presented a detailed analysis of a stochastic delayed model which governs the transmission mechanism of the Hepatitis B virus while considering the white noises and the effect of vaccinations15. A stochastic delayed VEIC epidemic model with a general incidence rate was considered in16. A stochastic hepatitis B model considering a time-delay in the transmission coefficient and immune response class was established by Din et al. in17. Nissar and Sabbar provided a new framework for modeling the dynamics of HIV/AIDS infection under antiretroviral therapy which aims to reduce a person's viral load to an undetectable level by tempered stable Lévy jumps9.

Several mathematicians have investigated further infectious epidemic models based on the SIR model, which is the simplest epidemic model and consists of three compartments18,19. The SIRD model20,21, SEIR model22,23,24, SEIS25, and MSEIR26 models are modifications of SIR that represent diverse epidemiological situations for diseases27,28,29. This paper proposes a new stochastic SIRD epidemic model that incorporates a mean-reverting Ornstein Uhlenbech process (MROU process). The stochastic version of this model incorporates randomness into the system, allowing for more realistic simulations of disease spread. Stochastic epidemic SIRD models have been used to investigate a variety of diseases including influenza, HIV/AIDS, Ebola, and COVID-19.

The Ornstein-Uhlenbech process (OU process) is the main structural element of the Barndroff-Nielsen-Shephard stochastic volatility model30,31. The most recent research has seen huge interest in modeling, which is based on MROU processes of the diffusion type. Larribi et al. investigated a new MROU-based stochastic SIRS epidemic model32. Wang et al. studied a SIS model with the OU process and earn the reproduction number of the model to determine the stochastic extinction and persistence3. A stochastic SIRC model based on the OU process was analyzed by Zhiming et al.33 Zhou and Shi proposed the stationary distribution and extinction of a stochastic SEIS epidemic model motivated by Black Karasinski process34.

Our new proposed model is designed to more accurately capture the complexities of infectious diseases by taking into account the changing behaviors of individuals over time. This study provides important insights into the dynamics of infectious diseases and highlights the need for more accurate modeling techniques to better predict and control the spread of outbreaks. It makes a significant contribution to the science of epidemiology and has significant implications for public health policy. The remaining sections of this article are structured as follows. The stochastic model’s problem formulation using the MROU process is presented in “Problem formulation”. This part demonstrates the existence and uniqueness of the system’s global positive solution. The necessary conditions for the disease’s extinction and persistence are created in “Disease extinction and persistence”. The mathematical simulation of the model utilizing simulated data is shown in “Numerical simulation”. “Conclusion” concludes with some discussion and conclusions.

Problem formulation

In this study, we introduce a MROU process-based stochastic SIRD epidemic model. The proposed model is designed to better capture the complex dynamics of infectious diseases. The SIRD epidemic model employed in this study is divided into four sections: susceptible people (S), infected people (I), recovered people (R), and deceased people (D). At time t, the associated variable for each compartment is denoted by the letters S(t), I(t), R(t), and D(t), respectively. The population size is calculated by adding these classes together.

$$N\left( t \right) = S\left( t \right) + I\left( t \right) + R\left( t \right) + D\left( t \right)$$

The following ordinary differential equation system describes the traditional SIRD epidemic evolution20:

$$\left\{ \begin{gathered} dS(t) = - \beta (t)S(t)I(t)dt \hfill \\ dI(t) = \beta (t)S(t)I(t)dt - (\alpha + \gamma )I(t)dt \hfill \\ dR(t) = \alpha I(t)dt \hfill \\ dD(t) = \gamma I(t)dt \hfill \\ \end{gathered} \right.$$
(1)

with [S(t0), I(t0), R(t0), D(t0)] as starting condition for the start time t0. The parameter \(\beta\) is the infection rate. The parameters \(\alpha ,\,\gamma\) are the recovered and death rate respectively. The infection rate of a disease (\(\beta\)), defined as the number of new infections for each unit of time, is well-known and significant in mathematical epidemiology. The assumption used by the majority of stochastic epidemic models is that the rate of infection in a random environment is a linear function of Gaussian white noise.

$$\beta \to \beta + \sigma dB(t)$$

where the real-valued Brownian motion B(t) is defined on a probability space \((\Omega ,{\mathbb{F}},{\mathbb{F}}_{t} ,P)\) and σ is the standard deviation of the noise. The following perturbed model of (1) is suggested:

$$\left\{ \begin{gathered} dS(t) = - \beta (t)S(t)I(t)dt - \sigma S(t)I(t)dB(t) \hfill \\ dI(t) = \left( {\beta (t)S(t)I(t) - (\alpha + \gamma )I(t)} \right)dt + \sigma S(t)I(t)dB(t) \hfill \\ dR(t) = \alpha I(t)dt \hfill \\ dD(t) = \gamma I(t)dt \hfill \\ \end{gathered} \right.$$
(2)

The other alternative model for \(\beta\) in a randomly varying environment, is the MROU process which has the following form:

$$d\beta (t) = \theta (\overline{\beta }(t) - \beta (t))dt + \xi dB(t)$$
(3)

where \(\theta ,\,\overline{\beta }\) and ξ are positive constants. The parameter \(\theta\) is the speed of revision. The parameter \(\overline{\beta }\) determine the long run mean level of the disease transmission rate \(\beta (t)\), and ξ is the intensity of the volatility. The results in references35 leads us to obtain the explicit solution as follows:

$$\beta (t) = \overline{\beta } + (\beta_{0} - \overline{\beta })e^{ - \theta t} + \xi \int\limits_{0}^{t} {\exp ( - \theta (t - s))} dB(s)$$
(4)

which \(\beta_{0} = \beta (0)\). It is clear that:

$${\rm E}(\beta (t)) = \overline{\beta } + (\beta_{0} - \overline{\beta })e^{ - \theta t}$$
(5)

and

$${\text{var}} (\beta (t)) = \frac{{\xi^{2} }}{2\theta }(1 - e^{ - 2\theta t} )$$
(6)

As is well known the term \(\xi \int\limits_{0}^{t} {\exp \left( { - \theta (t - s)} \right)dB(s) \sim N(0,\frac{{\xi^{2} }}{2\theta }} (1 - e^{ - 2\theta t} ))\). Then we have,

$$\xi \int\limits_{0}^{t} {\exp ( - \theta (t - s))} dB(s) = \frac{\xi }{{\sqrt {2\theta } }}\sqrt {1 - e^{ - 2\theta } } \frac{dB(t)}{{dt}},\,a.s.$$

Equation (4) can be rewritten as follows:

$$\beta (t) = \overline{\beta } + (\beta_{0} - \overline{\beta })e^{ - \theta t} + \sigma (t)\frac{dB(t)}{{dt}},$$
(7)

where \(\sigma (t) = \frac{\xi }{{\sqrt {2\theta } }}\sqrt {1 - e^{ - 2\theta t} }\). Submitting (7) in to model (1) one can earn the following nonlinear SDE system:

$$\left\{ \begin{gathered} dS(t) = - \left( {\overline{\beta } + (\beta_{0} - \overline{\beta })e^{ - \theta t} } \right)S(t)I(t)dt - \sigma (t)S(t)I(t)dB(t) \hfill \\ dI(t) = \left( {\left( {\overline{\beta } + (\beta_{0} - \overline{\beta })e^{ - \theta t} } \right)S(t)I(t) - (\alpha + \gamma )I(t)} \right)dt + \sigma (t)S(t)I(t)dB(t) \hfill \\ dR(t) = \alpha I(t)dt \hfill \\ dD(t) = \gamma I(t)dt \hfill \\ \end{gathered} \right.$$
(8)

Given the proper initial condition \(S(t_{0} ) = S_{0} > 0,\,I(t_{0} ) = I_{0} > 0,\,R(t_{0} ) = R_{0} \ge 0,\), and \(D(t_{0} ) = D_{0} \ge 0\).

To determine whether the solution is universal and beneficial, we must first investigate the dynamic behavior of an epidemic model. The following theorem will be utilized in this part to show that the model is correctly described and therefore biologically meaningful by ensuring that the solution stays in ∆.

Theorem 1

There exists a singular solution to system (8) for all t > 0 almost surely (a.s.) with any initial value.

Proof 1

Let us consider X (t) = (S(t), I(t), R(t), D(t)). The coefficients of the system (8) are locally Lipschitz continuous for all starting values, hence there exists a singular solution X(t)  Γ on t  [0, τe], which τe is the time of an explosion.

Now we prove that τe = ∞ almost surely (a.s.), and the solution is global. Let κ0 > 0 is large enough to allow each member of X(0) are all in interval \([\frac{1}{{\kappa_{0} }},\kappa_{0} ]\). Define,

$$\rho_{\min } (t) = \min \{ S(t),\,I(t),\,R(t),\,D(t)\}$$
$$\rho_{\max } (t) = \max \{ S(t),\,I(t),\,R(t),\,D(t)\}$$

For any κ ≥ κ0 and

$$\tau_{\kappa } = \inf \{ t \in [0,\tau_{e} ):\,\rho_{\min } \le \frac{1}{\kappa }\,or\,\rho_{\max } \ge \kappa \}$$

Consider inf ϕ = ∞ where ϕ presents the empty set. Then τκ is increasing when κ → ∞. Set τ = limκ→∞ τκ, then we derive that τ ≤ τe a.s. It is clear that if τ = ∞ a.s., it can be concluded that τe = ∞ a.s. then X (t)   Γ for all t > 0. Let τ ≠ ∞, then, there exists two constants \(\hat{\delta }\)  > 0 and \(\tilde{\upsilon }\)  (0, 1) such that P(τ ≤ \(\hat{\delta }\)) ≥  \(\tilde{\upsilon }\). Then,

$$\exists \,t_{1} \in {\rm Z},\,t_{1} > t_{0} \,\,s.t.\,\,\,P(\tau_{e} \le \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\delta } ) \ge \tilde{\upsilon }\,\,\,\,\forall t \ge t_{1}$$
(9)

Consider the function \(\psi\): R+4 → R+, which is twice differentiable, with the definition below:

$$\psi (X(t)) = (S - 1 - \log S) + (I - 1 - \log I) + (R - 1 - \log R) + (D - 1 - \log D)$$

\(\psi\) is nonnegative function. Using the system (8) and Ito formula,

$$d\psi (X(t)) = {\mathcal{L}}\psi (X(t))dt + \sigma (t)I(t)dB(t) - \sigma (t)S(t)dB(t)$$

where

$$\begin{gathered} {\mathcal{L}}\psi (X(t)) = \left( {1 - \frac{1}{S(t)}} \right)\left( { - (\overline{\beta } + (\beta_{0} - \overline{\beta })e^{ - \theta t} )S(t)I(t)} \right) \hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, \quad + \left( {1 - \frac{1}{I(t)}} \right)\left( {(\overline{\beta } + (\beta_{0} - \overline{\beta })e^{ - \theta t} )S(t)I(t)} \right) \hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, \quad - \left( {1 - \frac{1}{I(t)}} \right)(\alpha + \gamma )I(t) + \left( {1 - \frac{1}{R(t)}} \right)\alpha I(t) \hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, \quad + \left( {1 - \frac{1}{D(t)}} \right)\gamma I(t) + \sigma^{2} (t)I^{2} (t) + \sigma^{2} (t)S^{2} (t): = \Im \hfill \\ \end{gathered}$$

which is bounded and  R+, then

$$\begin{gathered} \int\limits_{0}^{{\tau_{e} \wedge \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\delta } }} {d\psi (X(t)) \le } \int\limits_{0}^{{\tau_{e} \wedge \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\delta } }} \Im dt \hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\quad + \int\limits_{0}^{{\tau_{e} \wedge \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\delta } }} {\sigma (t)I(t)dB(t)} \hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\quad + \int\limits_{0}^{{\tau_{e} \wedge \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\delta } }} {\sigma (t)S(t)dB(t)} \hfill \\ \end{gathered}$$

and

$$\begin{gathered} {\rm E}\left( {\psi (X(t)} \right) \le {\rm E}\left( {\psi (X(0)} \right) + \Im {\rm E}(.) \hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, \le {\rm E}\left( {\psi (X(0)} \right) + \Im \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\delta } \hfill \\ \end{gathered}$$
(10)

The mathematical expectation is represented by E. Let Ωυ: = τe ≤ \(\hat{\delta }\) for υ ≥ υ1. From Eq. (9), we have \(P(\Omega_{\upsilon } ) \ge \tilde{\upsilon }\). Define

$$\Gamma_{{\tau_{e} }} : = \psi (X(\tau_{e} ))$$

Then

$$\Gamma_{{\tau_{e} }} \ge (\kappa - 1 - \log \kappa ) \wedge (\frac{1}{\kappa } - 1 - \log \kappa ).$$

Hence Eqs. (9) and (10) results:

$$\begin{gathered} {\rm E}(\Gamma_{0} ) + \Im \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\delta } \ge {\rm E}(I_{{\Omega_{\upsilon } }} \Gamma_{{t_{\kappa } }} ) \hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, \ge \tilde{\upsilon }[(\kappa - 1 - \log \kappa ) \wedge (\frac{1}{\kappa } - 1 - \log \kappa )] \hfill \\ \end{gathered}$$

which IΩτ is the indicator of set Ωτ. If υ → ∞ then ∞ > E(Γ0) + \(\hat{\delta }\) = ∞ which is contradiction. Then the hypothesis P(τ ≤ \(\hat{\delta }\) ) > \(\tilde{\kappa }\) is incorrect and τ = ∞ a.s.

Disease extinction and persistence

This section examines the factors that will determine whether the disease will disappear or continue to exist. According to the references32, the basic reproduction number of the relevant deterministic model of (8) is provided by:

$$\Re_{0} = \frac{{\overline{\beta }N}}{\alpha + \gamma }$$

This controls when an epidemic spreads or the disease just quietly disappears. Using this the threshold of stochastic model (8) is defined as follows36:

$$\Re _{{_{0} }}^{S} = \Re _{0} - \frac{{\xi ^{2} N^{2} }}{{4\theta (\alpha + \gamma )}}$$

Theorem 2

Let X (t) = (S(t), I(t), R(t), D(t)) represent the solution to the system (8) with initial values X(0)  ∆. If \(\Re_{{_{0} }}^{S} < 1\) or \(\frac{{\overline{\beta }^{2} \theta }}{\alpha + \gamma } < \xi^{2}\) then \(P(\mathop {\lim \sup }\limits_{t \to \infty } \frac{\log I(t)}{t} < 0) = 1\).

Specifically, the disease will almost surely become extinct exponentially.

Proof 2

We have using Ito formula,

$$\begin{gathered} d(\log I(t)) = \left( {\left( {\overline{\beta } + (\beta_{0} - \overline{\beta })e^{ - \theta t} } \right)S(t) - (\alpha + \gamma ) - \frac{1}{2}\sigma^{2} (t)S^{2} (t)} \right)dt \hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, \quad + \, \sigma (t)S(t)dB(t) \hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, = \left( {f(S) + g(S,t)} \right)dt + \sigma (t)S(t)dB(t) \hfill \\ \end{gathered}$$
(11)

where

$$f(S) = \overline{\beta }S - (\alpha + \gamma ) - \frac{{\xi^{2} }}{4\theta }S^{2}$$
(12)

and

$$g(S,t) = (\beta_{0} - \overline{\beta })e^{ - \theta t} S + \frac{{\xi^{2} }}{4\theta }e^{ - 2\theta t} S^{2}$$
(13)

We get the following results by integrating from 0 to t and dividing by t:

$$\frac{\log I(t)}{t} = \frac{\log I(0)}{t} + \frac{{\int\nolimits_{0}^{t} {f(u)du} }}{t} + \frac{{\int\nolimits_{0}^{t} {g(S,u)du} }}{t} + \frac{\Phi (t)}{t}$$
(14)

where \(\Phi (t) = \int\nolimits_{0}^{t} {\sigma (u)S(u)dB(u)}\).

Since f is increasing function on \((0,\frac{{2\overline{\beta }\theta }}{{\xi^{2} }})\), we earn:

$$\begin{gathered} f(S) \le f(N) = \left( {\overline{\beta }N - (\alpha + \gamma ) - \frac{{\xi^{2} }}{4\theta }N^{2} } \right) \hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, = (\alpha + \gamma )\left( {\frac{{\overline{\beta }N}}{\alpha + \gamma } - \frac{{\xi^{2} }}{4\theta (\alpha + \gamma )}N^{2} - 1} \right) \hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, = (\alpha + \gamma )(\Re_{0}^{S} - 1) \hfill \\ \end{gathered}$$

If \(\Re_{0}^{S}\) < 1 then it implies that \(\mathop {\lim }\limits_{t \to \infty } \frac{{\int\limits_{0}^{t} {f(u)du} }}{t} = 0\).

However, we also have:

$$\begin{gathered} \int\limits_{0}^{t} {g(S(u),u)du} = \int\limits_{0}^{t} {\left( {(\beta_{0} - \overline{\beta })e^{ - \theta u} S(u) + \frac{{\xi^{2} }}{4\theta }e^{ - 2\theta u} S^{2} (u)} \right)} du \hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, \le (\beta_{0} - \overline{\beta })N\int\limits_{0}^{t} {e^{ - \theta u} du + \frac{{\xi^{2} }}{4\theta }N^{2} } \int\limits_{0}^{t} {e^{ - \theta u} du} \hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, = (\beta_{0} - \overline{\beta })N(1 - \frac{1}{\theta }e^{ - \theta t} ) + \frac{{\xi^{2} }}{4\theta }N^{2} \left( {\frac{ - 1}{{2\theta }}(1 - e^{ - 2\theta t} )} \right) \hfill \\ \end{gathered}$$

Which implies that \(\mathop {\lim }\limits_{t \to \infty } \frac{{\int\limits_{0}^{t} {g(S(u),u)du} }}{t} = 0\).

Finally, we have established that \(\Phi (t)\) is a local martingale and,

$$(\Phi (t),\Phi (t)) \le \frac{{\xi^{2} }}{2\theta }N^{2} t.$$

From references36 it can be established that \(\lim_{t \to \infty } \frac{\Phi (t)}{t} = 0\) then, \(\lim \sup_{t \to \infty } \frac{\log I(t)}{t} = 0\). Also, we have, \(f(S) = - \frac{{\xi^{2} }}{4\theta }(S - \frac{{2\overline{\beta }\theta }}{{\xi^{2} }})^{2} + \frac{{\overline{\beta }\theta }}{{\xi^{2} }} - (\alpha + \gamma ) \le \frac{{\overline{\beta }^{2} \theta }}{{\xi^{2} }} - (\alpha + \gamma )\).

Under condition of theorem, it is clear that,

$$\mathop {\lim \sup }\limits_{t \to \infty } \frac{\log I(t)}{t} \le \frac{{\overline{\beta }^{2} \theta }}{{\xi^{2} }} - (\alpha + \gamma ) < 0.$$

From an epidemiological standpoint, it is more necessary to research the condition that contributes to the disease’s persistence in a community. Following this section, looks into the possibility that the disease will persist.

Theorem 3

For any initial value X(0)  ∆ if \(\Re_{{_{0} }}^{S} > 1\), then \(\mathop {\lim \inf }\limits_{t \to \infty } I(t) = \infty\). It means that the disease will persist.

Proof 3

It is simple to demonstrate from Eq. (12) that:

$$f(S) \ge f(N) - \left( {\overline{\beta } - \frac{{\xi^{2} }}{4\theta }(S + N)} \right)(N - S)$$

From formula (11) we earn:

$$d(\log I(t)) \ge \left( {f(N) - \left( {\overline{\beta } - \frac{{\xi^{2} }}{4\theta }(S + N)(N - S) + g(t,S)} \right)} \right)dt + \sigma (t)S(t)I(t)dB(t)$$

Integrating the two sides from 0 to t gives us,

$$\begin{gathered} \log I(t) \ge \log I(0) + f(N)t - (\overline{\beta } - \frac{{\xi^{2} }}{4\theta })Nt + (\overline{\beta } - \frac{{\xi^{2} }}{4\theta }N)\int\limits_{0}^{t} {S(u)du} \hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, + \int\limits_{0}^{t} {g(S,u)du} + \int\limits_{0}^{t} {\sigma (u)S(u)I(u)dB(u)} \hfill \\ \end{gathered}$$
(15)

Since \((\overline{\beta } + (\beta_{0} - \overline{\beta }))e^{ - \theta t} \le \overline{\beta } \vee \beta_{0}\), and from the first equation in system (8), the following inequality can be concluded:

\(dS \ge - (\overline{\beta } \vee \beta_{0} )NSdt - \sigma (t)S(t)I(t)dB(t)\).

Integrating between 0 and t, we earn:

$$\int\limits_{0}^{t} {S(u)du} \ge ((\overline{\beta } \vee \beta_{0} )N)^{ - 1} \left( {S(0) - S(t) - \int\limits_{0}^{t} {\sigma (u)S(u)I(u)dB(u)} } \right)$$
(16)

Combining Eqs. (15) and (16) implies that,

$$\log I(t) \ge f(N)t - (\overline{\beta } - \frac{{\xi^{2} }}{4\theta })Nt + \Theta (t)$$
(17)

where

$$\begin{gathered} \Theta (t) = \log I(0) + (\overline{\beta } - \frac{{\xi^{2} }}{4\theta }N)\left( {((\overline{\beta } \vee \beta_{0} )N)^{ - 1} \left( {S(0) - S(t) - \int\limits_{0}^{t} {\sigma (u)S(u)I(u)dB(u)} } \right)} \right) \hfill \\ \,\,\,\,\,\,\,\,\,\, + \int\limits_{0}^{t} {g(S,u)du} + \int\limits_{0}^{t} {\sigma (u)S(u)I(u)dB(u)} \hfill \\ \end{gathered}$$

For local martingales, the law of large numbers yields that \(\mathop {\lim }\limits_{t \to \infty } \frac{\Theta (t)}{t} = 0,\) a.s. then

$$\mathop {\lim \inf }\limits_{t \to \infty } \frac{\log I(t)}{t} \ge (1 - \alpha - \gamma )f(N).$$
(18)

Moreover \(f(N) = (\alpha + \gamma )(\Re_{0}^{S} - 1)\), then if \(\Re_{0}^{S} > 1\) we have:

$$\mathop {\lim \inf }\limits_{t \to \infty } \frac{\log I(t)}{t} \ge (1 - \alpha - \gamma )(\alpha + \gamma )(\Re_{0}^{S} - 1) > 0,\,a.s.$$
(19)

Hence, \(\mathop {\lim }\limits_{t \to \infty } I(t) = \infty\).

Numerical simulation

A simulation study is carried out in this phase to evaluate the proposed model’s proficiency. An approximate diffusion system (8) can be used to demonstrate the analytical findings reported in the preceding sections. Here, we use the Euler approach for the simulation study. Three data sets corresponding to the model (8) with considering the different values of parameters are considered in Examples 1–3. In all examples the values of \(S(0) = 0.75,\,I(0) = 0.25,\,R(0) = 0,\,D(0) = 0,\,\beta_{0} = 0.15\), are chosen to be same.

Example 1

Generate the data sets from the model (8) with various parameter values as follows, \(\overline{\beta } = 0.22,\,\theta = 0.4,\,\xi = 0.25,\,\alpha = 0.1,\,\gamma = 0.1,\,\Re_{{^{0} }}^{S} = 0.904 < 1\) is obtained by straightforward calculation, and the condition of theorem 2 is tested. According to theorem 2 for the stochastic model, the disease will be removed from the population. Figure 1 shows the numerical simulation of this example and confirms the results of theorem 2. As we see, the disease will expire in about 50 days.

Figure 1
figure 1

The trajectory of I(t) for the SDE model (red) and the associated deterministic variant (Blue) in the case of \(\Re_{0}^{S} < 1\) over various time intervals.

Example 2

Using the parameter values \(\overline{\beta } = 0.35,\,\theta = 1.3,\,\xi = 1.2,\,\alpha = 0.01,\,\gamma = 0.01\). It is easy to calculate that \(\Re_{{^{0} }}^{S} = 3.65 > 1\), then the condition of theorem 3 is verified. It means that the disease will persist. In Fig. 2 these results were be shown.

Figure 2
figure 2

The trajectory of I(t) for the SDE model (red) and the associated deterministic variant (Blue) in the case of \(\Re_{0}^{S} > 1\) over various time intervals.

Example 3

This example considers the parameter values \(\overline{\beta } = 0.22,\,\theta = 0.13,\,\xi = 0.12,\,\alpha = 0.1,\,\gamma = 0.09\,\) that caused \(\Re_{{^{0} }}^{S} = 1\). Numerical simulations in Fig. 3 shows that the disease will be extinct in this critical situation. The scope of the authors’ next research activity is proof of this result.

Figure 3
figure 3

The trajectory of I(t) for the SDE model (red) and the associated deterministic variant (Blue) in the case of \(\Re_{0}^{S} = 1\).

Conclusion

This study proposes and evaluates a new stochastic SIRD epidemic model using an MROU process and a general non- linear incidence rate. In the suggested model, the existence and uniqueness of a positive global solution were verified. The stochastic system (8) has a threshold \(\Re_{0}^{S}\) that controls the extinction and persistence of epidemic diseases. In Theorem 2, we established that under a few additional conditions, when \(\Re_{0}^{S} < 1\) the disease disappears exponentially with probability one. Theorem 3 allowed us to demonstrate that the stochastic process I(t) is persistent in mean if \(\Re_{0}^{S} > 1\). The efficiency and correctness of the current work are demonstrated using numerical simulations with simulated data. The findings of Example 3 show that the disease will expire when the threshold \(\Re_{0}^{S} = 1\). Proof of this result is desirable for future research. The other strategy of this research is to investigate the extended Kalman filter for the stochastic SIRD model with the OU process in the future.