Abstract
The dynamics of an infectious disease in a population has a stochastic nature. Considering this stochastic behavior is more desirable when modeling the epidemics. Analyzing a stochastic model gives more insight as compared to its deterministic part only. This work presents a reliable numerical analysis for stochastic hepatitis B virus epidemic model with the migration effect. The outcomes of stochastic hepatitis B model are compared with its corresponding deterministic part. The dynamics of stochastic model is dependent upon a parameter H*, called basic reproductive number. As the value of H* changes from greater than 1 to less than 1, the dynamics of disease switches from endemic to infection-free state. In this paper, a structure-preserving numerical method is proposed for the analysis of stochastic hepatitis B model. The results obtained using MATLAB programs are compared with existing schemes in the literature which have certain limitations regarding stability and dynamical consistency. The proposed scheme remains stable and consistent for all choices of parameter values.