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. Louis-Philippe Beland & Abel Brodeur & Taylor Wright, 2020. "COVID-19, Stay-at-Home Orders and Employment: Evidence from CPS Data," Carleton Economic Papers 20-04, Carleton University, Department of Economics, revised 19 May 2020.
    4. 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.
    5. Goodkin-Gold, Matthew & Kremer, Michael & Snyder, Christopher M. & Williams, Heidi, 2022. "Optimal vaccine subsidies for endemic diseases," International Journal of Industrial Organization, Elsevier, vol. 84(C).
    6. 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.
    7. 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.
    8. 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.
    9. Shami, Labib & Lazebnik, Teddy, 2022. "Economic aspects of the detection of new strains in a multi-strain epidemiological–mathematical model," Chaos, Solitons & Fractals, Elsevier, vol. 165(P2).
    10. 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.
    11. Donfouet,Hermann Pythagore Pierre & Sanogo,Ndoh Ashken & Gogoua,Amantchi Jean - Noel & Tshivuila Matala,Opope Oyaka & Traore,Adama-000558561 & Sorgho,Gaston, 2024. "Mortality Costs of and Policy Responses to the COVID-19 Pandemic in Côte d'Ivoire," Policy Research Working Paper Series 10731, The World Bank.
    12. Adolfo Rubinstein & Eduardo Levy Yeyati, 2022. "An Integrated Epidemiological and Economic Model of COVID-19 NPIs in Argentina," Working Papers 197, Red Nacional de Investigadores en Economía (RedNIE).
    13. Nikhil Agarwal & Andrew Komo & Chetan A. Patel & Parag A. Pathak & M. Utku Ünver, 2021. "The Trade-off Between Prioritization and Vaccination Speed Depends on Mitigation Measures," NBER Working Papers 28519, National Bureau of Economic Research, Inc.
    14. Beppu, Shotaro & Fujii, Daisuke & Kubota, Hiroyuki & Machi, Kohei & Maeda, Yuta & Nakata, Taisuke & Shibuya, Haruki, 2023. "Cross-regional heterogeneity in health and economic outcomes during the COVID-19 pandemic: An analysis of Japan," Journal of the Japanese and International Economies, Elsevier, vol. 70(C).
    15. 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.
    16. Dirk Niepelt & Mart n Gonzalez-Eiras, 2020. "Optimally Controlling an Epidemic," Diskussionsschriften dp2019, Universitaet Bern, Departement Volkswirtschaft.
    17. Hausmann, Ricardo & Schetter, Ulrich, 2022. "Horrible trade-offs in a pandemic: Poverty, fiscal space, policy, and welfare," World Development, Elsevier, vol. 153(C).
    18. 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).
    19. 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.
    20. Torsten Heinrich, 2021. "Epidemics in modern economies," Chemnitz Economic Papers 045, Department of Economics, Chemnitz University of Technology, revised May 2021.

    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.