IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0287556.html
   My bibliography  Save this article

Direct numerical solutions of the SIR and SEIR models via the Dirichlet series approach

Author

Listed:
  • Kiattisak Prathom
  • Asama Jampeepan

Abstract

Compartment models are implemented to understand the dynamic of a system. To analyze the models, a numerical tool is required. This manuscript presents an alternative numerical tool for the SIR and SEIR models. The same idea could be applied to other compartment models. The result starts with transforming the SIR model to an equivalent differential equation. The Dirichlet series satisfying the differential equation leads to an alternative numerical method to obtain the model’s solutions. The derived Dirichlet solution not only matches the numerical solution obtained by the fourth-order Runge-Kutta method (RK-4), but it also carries the long-run behavior of the system. The SIR solutions obtained by the RK-4 method, an approximated analytical solution, and the Dirichlet series approximants are graphically compared. The Dirichlet series approximants order 15 and the RK-4 method are almost perfectly matched with the mean square error less than 2 × 10−5. A specific Dirichlet series is considered in the case of the SEIR model. The process to obtain a numerical solution is done in the similar way. The graphical comparisons of the solutions achieved by the Dirichlet series approximants order 20 and the RK-4 method show that both methods produce almost the same solution. The mean square errors of the Dirichlet series approximants order 20 in this case are less than 1.2 × 10−4.

Suggested Citation

  • Kiattisak Prathom & Asama Jampeepan, 2023. "Direct numerical solutions of the SIR and SEIR models via the Dirichlet series approach," PLOS ONE, Public Library of Science, vol. 18(6), pages 1-19, June.
  • Handle: RePEc:plo:pone00:0287556
    DOI: 10.1371/journal.pone.0287556
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0287556
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0287556&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0287556?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Daron Acemoglu & Victor Chernozhukov & Iván Werning & Michael D. Whinston, 2021. "Optimal Targeted Lockdowns in a Multigroup SIR Model," American Economic Review: Insights, American Economic Association, vol. 3(4), pages 487-502, December.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Kumar, Anand & Priya, Bhawna & Srivastava, Samir K., 2021. "Response to the COVID-19: Understanding implications of government lockdown policies," Journal of Policy Modeling, Elsevier, vol. 43(1), pages 76-94.
    2. Graham, James & Ozbilgin, Murat, 2021. "Age, industry, and unemployment risk during a pandemic lockdown," Journal of Economic Dynamics and Control, Elsevier, vol. 133(C).
    3. M. Hashem Pesaran & Cynthia Fan Yang, 2022. "Matching theory and evidence on Covid‐19 using a stochastic network SIR model," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 37(6), pages 1204-1229, September.
    4. Nicola Fuchs-Schündeln & Dirk Krueger & André Kurmann & Etienne Lalé & Alexander Ludwig & Irina Popova, 2023. "The Fiscal and Welfare Effects of Policy Responses to the Covid-19 School Closures," IMF Economic Review, Palgrave Macmillan;International Monetary Fund, vol. 71(1), pages 35-98, March.
    5. Hakan Yilmazkuday, 2022. "Nonlinear effects of mobility on COVID-19 in the US: targeted lockdowns based on income and poverty," Journal of Economic Studies, Emerald Group Publishing Limited, vol. 50(1), pages 18-36, April.
    6. Xiao Chen & Hanwei Huang & Jiandong Ju & Ruoyan Sun & Jialiang Zhang, 2022. "Endogenous cross-region human mobility and pandemics," CEP Discussion Papers dp1860, Centre for Economic Performance, LSE.
    7. Luca Gori & Piero Manfredi & Simone Marsiglio & Mauro Sodini, 2023. "A parsimonious model of optimal social distancing and vaccination during an outbreak," Discussion Papers 2023/292, Dipartimento di Economia e Management (DEM), University of Pisa, Pisa, Italy.
    8. Bisin, Alberto & Moro, Andrea, 2022. "Spatial‐SIR with network structure and behavior: Lockdown rules and the Lucas critique," Journal of Economic Behavior & Organization, Elsevier, vol. 198(C), pages 370-388.
    9. Kim, Dongwoo & Lee, Young Jun, 2022. "Vaccination strategies and transmission of COVID-19: Evidence across advanced countries," Journal of Health Economics, Elsevier, vol. 82(C).
    10. Torsten Heinrich, 2021. "Epidemics in modern economies," Chemnitz Economic Papers 045, Department of Economics, Chemnitz University of Technology, revised May 2021.
    11. Chen, Xiaowei & Chong, Wing Fung & Feng, Runhuan & Zhang, Linfeng, 2021. "Pandemic risk management: Resources contingency planning and allocation," Insurance: Mathematics and Economics, Elsevier, vol. 101(PB), pages 359-383.
    12. Dong, Zhanyu & Cai, Jiayi & Li, Xuchao & Luan, Mengna, 2025. "Firm-level impacts and recovery dynamics following a public health crisis: Lessons from China’s SARS experience," Journal of Asian Economics, Elsevier, vol. 98(C).
    13. Mart n Gonzales-Eiras, Dirk Niepelt, 2023. "Optimal Epidemic Control," Diskussionsschriften dp2311, Universitaet Bern, Departement Volkswirtschaft.
    14. Hakan Yilmazkuday, 2021. "Welfare costs of COVID‐19: Evidence from US counties," Journal of Regional Science, Wiley Blackwell, vol. 61(4), pages 826-848, September.
    15. Bouveret, Géraldine & Mandel, Antoine, 2021. "Social interactions and the prophylaxis of SI epidemics on networks," Journal of Mathematical Economics, Elsevier, vol. 93(C).
    16. Valentina Aprigliano & Alessandro Borin & Francesco Paolo Conteduca & Simone Emiliozzi & Marco Flaccadoro & Sabina Marchetti & Stefania Villa, 2021. "Forecasting Italian GDP growth with epidemiological data," Questioni di Economia e Finanza (Occasional Papers) 664, Bank of Italy, Economic Research and International Relations Area.
    17. Lazebnik, Teddy & Shami, Labib & Bunimovich-Mendrazitsky, Svetlana, 2023. "Intervention policy influence on the effect of epidemiological crisis on industry-level production through input–output networks," Socio-Economic Planning Sciences, Elsevier, vol. 87(PA).
    18. Biswas, Debajyoti & Alfandari, Laurent, 2022. "Designing an optimal sequence of non‐pharmaceutical interventions for controlling COVID-19," European Journal of Operational Research, Elsevier, vol. 303(3), pages 1372-1391.
    19. Zhen Zhu & Enzo Weber & Till Strohsal & Duaa Serhan, 2020. "Sustainable Border Control Policy in the COVID-19 Pandemic: A Math Modeling Study," Papers 2008.13561, arXiv.org, revised Feb 2021.
    20. Pol Antràs & Stephen J. Redding & Esteban Rossi-Hansberg, 2023. "Globalization and Pandemics," American Economic Review, American Economic Association, vol. 113(4), pages 939-981, April.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0287556. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.