IDEAS home Printed from https://ideas.repec.org/a/eee/ecmode/v126y2023ics0264999323001931.html
   My bibliography  Save this article

Sequential Bayesian inference for agent-based models with application to the Chinese business cycle

Author

Listed:
  • Zhang, Jinyu
  • Zhang, Qiaosen
  • Li, Yong
  • Wang, Qianchao

Abstract

Agent-based models (ABMs), which model the evolving system through the interactive behavior of agents, are often challenged by inaccurate estimates. However, estimates provided by traditional approaches are sensitive to initial values due to irregular and multimodal likelihood functions. In this paper, we extend the Sequential Monte Carlo (SMC) algorithm for Bayesian posterior inference to ABMs, and used the kernel density estimation (KDE) to approximate the likelihood function. Our simulation results demonstrate that this method delivers advantages for parameters estimation in addressing multimodal likelihood, especially for large samples. Applying this approach to China’s macroeconomic data, we find that exogenous shocks in the agent-based model play a small role in explaining China’s business cycle. The SMC combined with KDE is straightforward to implement in empirical studies and yields estimates that align with the intuitions of ABMs, by mitigating estimation errors and reducing efficiency losses.

Suggested Citation

  • Zhang, Jinyu & Zhang, Qiaosen & Li, Yong & Wang, Qianchao, 2023. "Sequential Bayesian inference for agent-based models with application to the Chinese business cycle," Economic Modelling, Elsevier, vol. 126(C).
  • Handle: RePEc:eee:ecmode:v:126:y:2023:i:c:s0264999323001931
    DOI: 10.1016/j.econmod.2023.106381
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0264999323001931
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.econmod.2023.106381?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
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Barde, Sylvain, 2016. "Direct comparison of agent-based models of herding in financial markets," Journal of Economic Dynamics and Control, Elsevier, vol. 73(C), pages 329-353.
    2. Pierre Del Moral & Arnaud Doucet & Ajay Jasra, 2006. "Sequential Monte Carlo samplers," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 68(3), pages 411-436, June.
    3. Salle, Isabelle & Yıldızoğlu, Murat & Sénégas, Marc-Alexandre, 2013. "Inflation targeting in a learning economy: An ABM perspective," Economic Modelling, Elsevier, vol. 34(C), pages 114-128.
    4. Donovan Platt, 2022. "Bayesian Estimation of Economic Simulation Models Using Neural Networks," Computational Economics, Springer;Society for Computational Economics, vol. 59(2), pages 599-650, February.
    5. Paul De Grauwe, 2014. "Booms and Busts in Economic Activity: A Behavioral Explanation," World Scientific Book Chapters, in: Exchange Rates and Global Financial Policies, chapter 19, pages 521-556, World Scientific Publishing Co. Pte. Ltd..
    6. Giovanni Dosi & Mauro Napoletano & Andrea Roventini & Tania Treibich, 2017. "Micro and macro policies in the Keynes+Schumpeter evolutionary models," Journal of Evolutionary Economics, Springer, vol. 27(1), pages 63-90, January.
    7. Giorgio Fagiolo & Andrea Roventini, 2017. "Macroeconomic Policy in DSGE and Agent-Based Models Redux: New Developments and Challenges Ahead," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 20(1), pages 1-1.
    8. repec:hal:spmain:info:hdl:2441/7kr9gv74ut9ngo58gia97t83i7 is not listed on IDEAS
    9. Kukacka, Jiri & Sacht, Stephen, 2023. "Estimation of heuristic switching in behavioral macroeconomic models," Journal of Economic Dynamics and Control, Elsevier, vol. 146(C).
    10. De Grauwe, Paul & Ji, Yuemei, 2020. "Structural reforms, animal spirits, and monetary policies," European Economic Review, Elsevier, vol. 124(C).
    11. Vasco Cúrdia & Marco Del Negro & Daniel L. Greenwald, 2014. "Rare Shocks, Great Recessions," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 29(7), pages 1031-1052, November.
    12. Grazzini, Jakob & Richiardi, Matteo G. & Tsionas, Mike, 2017. "Bayesian estimation of agent-based models," Journal of Economic Dynamics and Control, Elsevier, vol. 77(C), pages 26-47.
    13. Ben Bernanke & Mark Gertler, 1990. "Financial Fragility and Economic Performance," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 105(1), pages 87-114.
    14. Dosi, Giovanni & Fagiolo, Giorgio & Roventini, Andrea, 2010. "Schumpeter meeting Keynes: A policy-friendly model of endogenous growth and business cycles," Journal of Economic Dynamics and Control, Elsevier, vol. 34(9), pages 1748-1767, September.
    15. Sylvain Barde, 2017. "A Practical, Accurate, Information Criterion for Nth Order Markov Processes," Computational Economics, Springer;Society for Computational Economics, vol. 50(2), pages 281-324, August.
    16. Kukacka, Jiri & Barunik, Jozef, 2017. "Estimation of financial agent-based models with simulated maximum likelihood," Journal of Economic Dynamics and Control, Elsevier, vol. 85(C), pages 21-45.
    17. Peter Winker & Manfred Gilli & Vahidin Jeleskovic, 2007. "An objective function for simulation based inference on exchange rate data," Journal of Economic Interaction and Coordination, Springer;Society for Economic Science with Heterogeneous Interacting Agents, vol. 2(2), pages 125-145, December.
    18. J. Doyne Farmer & Duncan Foley, 2009. "The economy needs agent-based modelling," Nature, Nature, vol. 460(7256), pages 685-686, August.
    19. Thomas Lux, 2022. "Bayesian Estimation of Agent-Based Models via Adaptive Particle Markov Chain Monte Carlo," Computational Economics, Springer;Society for Computational Economics, vol. 60(2), pages 451-477, August.
    20. Lux, Thomas, 2018. "Estimation of agent-based models using sequential Monte Carlo methods," Journal of Economic Dynamics and Control, Elsevier, vol. 91(C), pages 391-408.
    21. Platt, Donovan, 2020. "A comparison of economic agent-based model calibration methods," Journal of Economic Dynamics and Control, Elsevier, vol. 113(C).
    22. repec:hal:spmain:info:hdl:2441/5fafm6me7k8omq5jbo61urqq27 is not listed on IDEAS
    23. William A. Brock & Cars H. Hommes, 1997. "A Rational Route to Randomness," Econometrica, Econometric Society, vol. 65(5), pages 1059-1096, September.
    24. Nicolas Chopin, 2002. "A sequential particle filter method for static models," Biometrika, Biometrika Trust, vol. 89(3), pages 539-552, August.
    25. Bernanke, Ben & Gertler, Mark, 1989. "Agency Costs, Net Worth, and Business Fluctuations," American Economic Review, American Economic Association, vol. 79(1), pages 14-31, March.
    26. Drew Creal, 2012. "A Survey of Sequential Monte Carlo Methods for Economics and Finance," Econometric Reviews, Taylor & Francis Journals, vol. 31(3), pages 245-296.
    27. Giglio, Stefano & Kelly, Bryan & Pruitt, Seth, 2016. "Systemic risk and the macroeconomy: An empirical evaluation," Journal of Financial Economics, Elsevier, vol. 119(3), pages 457-471.
    28. Ji, Jingru & Wang, Donghua & Xu, Dinghai, 2019. "Modelling the spreading process of extreme risks via a simple agent-based model: Evidence from the China stock market," Economic Modelling, Elsevier, vol. 80(C), pages 383-391.
    29. Li, Yong & Yu, Jun & Zeng, Tao, 2020. "Deviance information criterion for latent variable models and misspecified models," Journal of Econometrics, Elsevier, vol. 216(2), pages 450-493.
    30. Matteo G. Richiardi, 2017. "The Future of Agent-Based Modeling," Eastern Economic Journal, Palgrave Macmillan;Eastern Economic Association, vol. 43(2), pages 271-287, March.
    31. Simone Alfarano & Thomas Lux & Friedrich Wagner, 2005. "Estimation of Agent-Based Models: The Case of an Asymmetric Herding Model," Computational Economics, Springer;Society for Computational Economics, vol. 26(1), pages 19-49, August.
    32. Cincotti, Silvano & Raberto, Marco & Teglio, Andrea, 2010. "Credit money and macroeconomic instability in the agent-based model and simulator Eurace," Economics - The Open-Access, Open-Assessment E-Journal (2007-2020), Kiel Institute for the World Economy (IfW Kiel), vol. 4, pages 1-32.
    33. Gilli, M. & Winker, P., 2003. "A global optimization heuristic for estimating agent based models," Computational Statistics & Data Analysis, Elsevier, vol. 42(3), pages 299-312, March.
    34. William A. Brock & Cars H. Hommes, 2001. "A Rational Route to Randomness," Chapters, in: W. D. Dechert (ed.), Growth Theory, Nonlinear Dynamics and Economic Modelling, chapter 16, pages 402-438, Edward Elgar Publishing.
    35. Frank Smets & Rafael Wouters, 2007. "Shocks and Frictions in US Business Cycles: A Bayesian DSGE Approach," American Economic Review, American Economic Association, vol. 97(3), pages 586-606, June.
    36. Li, Yong & Zhang, Mingzhi & Zhang, Yonghui, 2022. "Sequential Bayesian bandwidth selection for multivariate kernel regression with applications," Economic Modelling, Elsevier, vol. 112(C).
    37. Grazzini, Jakob & Richiardi, Matteo, 2015. "Estimation of ergodic agent-based models by simulated minimum distance," Journal of Economic Dynamics and Control, Elsevier, vol. 51(C), pages 148-165.
    38. Joseph E. Stiglitz, 2011. "Rethinking Macroeconomics: What Failed, And How To Repair It," Journal of the European Economic Association, European Economic Association, vol. 9(4), pages 591-645, August.
    39. Edward P. Herbst & Frank Schorfheide, 2016. "Bayesian Estimation of DSGE Models," Economics Books, Princeton University Press, edition 1, number 10612.
    40. Ge, Xinyu & Li, Xiao-Lin & Li, Yong & Liu, Yan, 2022. "The driving forces of China's business cycles: Evidence from an estimated DSGE model with housing and banking," China Economic Review, Elsevier, vol. 72(C).
    41. Edward Herbst & Frank Schorfheide, 2014. "Sequential Monte Carlo Sampling For Dsge Models," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 29(7), pages 1073-1098, November.
    42. Delli Gatti, Domenico & Grazzini, Jakob, 2020. "Rising to the challenge: Bayesian estimation and forecasting techniques for macroeconomic Agent Based Models," Journal of Economic Behavior & Organization, Elsevier, vol. 178(C), pages 875-902.
    43. repec:hal:spmain:info:hdl:2441/1a9acst1l284eo8kvqrqrnlbl1 is not listed on IDEAS
    44. Wang, Nianling & Lou, Zhusheng, 2023. "Sequential Bayesian analysis for semiparametric stochastic volatility model with applications," Economic Modelling, Elsevier, vol. 123(C).
    45. Blake LeBaron & Leigh Tesfatsion, 2008. "Modeling Macroeconomies as Open-Ended Dynamic Systems of Interacting Agents," American Economic Review, American Economic Association, vol. 98(2), pages 246-250, May.
    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. Giorgio Fagiolo & Andrea Roventini, 2017. "Macroeconomic Policy in DSGE and Agent-Based Models Redux: New Developments and Challenges Ahead," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 20(1), pages 1-1.
    2. repec:hal:spmain:info:hdl:2441/dcditnq6282sbu1u151qe5p7f is not listed on IDEAS
    3. Giovanni Dosi & Andrea Roventini, 2019. "More is different ... and complex! the case for agent-based macroeconomics," Journal of Evolutionary Economics, Springer, vol. 29(1), pages 1-37, March.
    4. Donovan Platt, 2022. "Bayesian Estimation of Economic Simulation Models Using Neural Networks," Computational Economics, Springer;Society for Computational Economics, vol. 59(2), pages 599-650, February.
    5. Lamperti, Francesco & Roventini, Andrea & Sani, Amir, 2018. "Agent-based model calibration using machine learning surrogates," Journal of Economic Dynamics and Control, Elsevier, vol. 90(C), pages 366-389.
    6. Giorgio Fagiolo & Mattia Guerini & Francesco Lamperti & Alessio Moneta & Andrea Roventini, 2017. "Validation of Agent-Based Models in Economics and Finance," LEM Papers Series 2017/23, Laboratory of Economics and Management (LEM), Sant'Anna School of Advanced Studies, Pisa, Italy.
    7. repec:hal:spmain:info:hdl:2441/20hflp7eqn97boh50no50tv67n is not listed on IDEAS
    8. Giorgio Fagiolo & Andrea Roventini, 2016. "Macroeconomic Policy in DGSE and Agent-Based Models Redux," Working Papers hal-03459348, HAL.
    9. Barde, Sylvain, 2020. "Macroeconomic simulation comparison with a multivariate extension of the Markov information criterion," Journal of Economic Dynamics and Control, Elsevier, vol. 111(C).
    10. Lamperti, Francesco & Roventini, Andrea & Sani, Amir, 2018. "Agent-based model calibration using machine learning surrogates," Journal of Economic Dynamics and Control, Elsevier, vol. 90(C), pages 366-389.
    11. Donovan Platt, 2019. "A Comparison of Economic Agent-Based Model Calibration Methods," Papers 1902.05938, arXiv.org.
    12. repec:hal:spmain:info:hdl:2441/13thfd12aa8rmplfudlgvgahff is not listed on IDEAS
    13. Tubbenhauer, Tobias & Fieberg, Christian & Poddig, Thorsten, 2021. "Multi-agent-based VaR forecasting," Journal of Economic Dynamics and Control, Elsevier, vol. 131(C).
    14. Kukacka, Jiri & Kristoufek, Ladislav, 2021. "Does parameterization affect the complexity of agent-based models?," Journal of Economic Behavior & Organization, Elsevier, vol. 192(C), pages 324-356.
    15. Platt, Donovan, 2020. "A comparison of economic agent-based model calibration methods," Journal of Economic Dynamics and Control, Elsevier, vol. 113(C).
    16. Kukacka, Jiri & Sacht, Stephen, 2023. "Estimation of heuristic switching in behavioral macroeconomic models," Journal of Economic Dynamics and Control, Elsevier, vol. 146(C).
    17. Poledna, Sebastian & Miess, Michael Gregor & Hommes, Cars & Rabitsch, Katrin, 2023. "Economic forecasting with an agent-based model," European Economic Review, Elsevier, vol. 151(C).
    18. Grazzini, Jakob & Richiardi, Matteo G. & Tsionas, Mike, 2017. "Bayesian estimation of agent-based models," Journal of Economic Dynamics and Control, Elsevier, vol. 77(C), pages 26-47.
    19. Zila, Eric & Kukacka, Jiri, 2023. "Moment set selection for the SMM using simple machine learning," Journal of Economic Behavior & Organization, Elsevier, vol. 212(C), pages 366-391.
    20. Giorgio Fagiolo & Andrea Roventini, 2012. "Macroeconomic Policy in DSGE and Agent-Based Models," Revue de l'OFCE, Presses de Sciences-Po, vol. 0(5), pages 67-116.
    21. Francesco Lamperti, 2018. "Empirical validation of simulated models through the GSL-div: an illustrative application," Journal of Economic Interaction and Coordination, Springer;Society for Economic Science with Heterogeneous Interacting Agents, vol. 13(1), pages 143-171, April.
    22. Mario Martinoli & Alessio Moneta & Gianluca Pallante, 2022. "Calibration and Validation of Macroeconomic Simulation Models by Statistical Causal Search," LEM Papers Series 2022/33, Laboratory of Economics and Management (LEM), Sant'Anna School of Advanced Studies, Pisa, Italy.
    23. Giovanni Dosi & Mauro Napoletano & Andrea Roventini & Joseph E. Stiglitz & Tania Treibich, 2020. "Rational Heuristics? Expectations And Behaviors In Evolving Economies With Heterogeneous Interacting Agents," Economic Inquiry, Western Economic Association International, vol. 58(3), pages 1487-1516, July.

    More about this item

    Keywords

    Agent-based model; Multimodality; Sequential Monte Carlo; Bayesian estimation;
    All these keywords.

    JEL classification:

    • C11 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Bayesian Analysis: General
    • C13 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Estimation: General
    • C15 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Statistical Simulation Methods: General

    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:eee:ecmode:v:126:y:2023:i:c:s0264999323001931. 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: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/inca/30411 .

    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.