IDEAS home Printed from https://ideas.repec.org/p/zbw/cauewp/201707.html
   My bibliography  Save this paper

Estimation of agent-based models using sequential Monte Carlo methods

Author

Listed:
  • Lux, Thomas

Abstract

Estimation of agent-based models is currently an intense area of research. Recent contributions have to a large extent resorted to simulation-based methods mostly using some form of simulated method of moments estimation (SMM). There is, however, an entire branch of statistical methods that should appear promising, but has to our knowledge never been applied so far to estimate agent-based models in economics and finance: Markov chain Monte Carlo methods designed for state space models or models with latent variables. This later class of models seems particularly relevant as agent-based models typically consist of some latent and some observable variables since not all the characteristics of agents would mostly be observable. Indeed, one might often not only be interested in estimating the parameters of a model, but also to infer the time development of some latent variable. However, agent-based models when interpreted as latent variable models would be typically characterized by non-linear dynamics and non-Gaussian fluctuations and, thus, would require a computational approach to statistical inference. Here we resort to Sequential Monte Carlo (SMC) estimation based on a particle filter. This approach is used here to numerically approximate the conditional densities that enter into the likelihood function of the problem. With this approximation we simultaneously obtain parameter estimates and filtered state probabilities for the unobservable variable(s) that drive(s) the dynamics of the observable time series. In our examples, the observable series will be asset returns (or prices) while the unobservable variables will be some measure of agents' aggregate sentiment. We apply SMC to two selected agent-based models of speculative dynamics with somewhat different flavor. The empirical application to a selection of financial data includes an explicit comparison of the goodness-of-fit of both models.

Suggested Citation

  • Lux, Thomas, 2017. "Estimation of agent-based models using sequential Monte Carlo methods," Economics Working Papers 2017-07, Christian-Albrechts-University of Kiel, Department of Economics.
  • Handle: RePEc:zbw:cauewp:201707
    as

    Download full text from publisher

    File URL: https://www.econstor.eu/bitstream/10419/171330/1/1005023530.pdf
    Download Restriction: no
    ---><---

    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. 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.
    3. Yun Bao & Carl Chiarella & Boda Kang, 2012. "Particle Filters for Markov Switching Stochastic Volatility Models," Research Paper Series 299, Quantitative Finance Research Centre, University of Technology, Sydney.
    4. Peter Christoffersen & Kris Jacobs & Karim Mimouni, 2010. "Volatility Dynamics for the S&P500: Evidence from Realized Volatility, Daily Returns, and Option Prices," Review of Financial Studies, Society for Financial Studies, vol. 23(8), pages 3141-3189, August.
    5. Zhenxi Chen & Thomas Lux, 2018. "Estimation of Sentiment Effects in Financial Markets: A Simulated Method of Moments Approach," Computational Economics, Springer;Society for Computational Economics, vol. 52(3), pages 711-744, October.
    6. repec:hal:spmain:info:hdl:2441/20hflp7eqn97boh50no50tv67n is not listed on IDEAS
    7. Jason R. Blevins, 2016. "Sequential Monte Carlo Methods for Estimating Dynamic Microeconomic Models," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 31(5), pages 773-804, August.
    8. Recchioni, Maria Cristina & Tedeschi, Gabriele & Gallegati, Mauro, 2015. "A calibration procedure for analyzing stock price dynamics in an agent-based framework," Journal of Economic Dynamics and Control, Elsevier, vol. 60(C), pages 1-25.
    9. Monica Billio & Roberto Casarin, 2010. "Identifying business cycle turning points with sequential Monte Carlo methods: an online and real-time application to the Euro area," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 29(1-2), pages 145-167.
    10. Amisano, Gianni & Tristani, Oreste, 2010. "Euro area inflation persistence in an estimated nonlinear DSGE model," Journal of Economic Dynamics and Control, Elsevier, vol. 34(10), pages 1837-1858, October.
    11. William A. Brock & Cars H. Hommes, 1997. "A Rational Route to Randomness," Econometrica, Econometric Society, vol. 65(5), pages 1059-1096, September.
    12. Yu, Jun, 2005. "On leverage in a stochastic volatility model," Journal of Econometrics, Elsevier, vol. 127(2), pages 165-178, August.
    13. Malik, Sheheryar & Pitt, Michael K., 2011. "Particle filters for continuous likelihood evaluation and maximisation," Journal of Econometrics, Elsevier, vol. 165(2), pages 190-209.
    14. 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.
    15. Douc, R. & Doukhan, P. & Moulines, E., 2013. "Ergodicity of observation-driven time series models and consistency of the maximum likelihood estimator," Stochastic Processes and their Applications, Elsevier, vol. 123(7), pages 2620-2647.
    16. Boswijk, H. Peter & Hommes, Cars H. & Manzan, Sebastiano, 2007. "Behavioral heterogeneity in stock prices," Journal of Economic Dynamics and Control, Elsevier, vol. 31(6), pages 1938-1970, June.
    17. Alan Kirman, 1993. "Ants, Rationality, and Recruitment," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 108(1), pages 137-156.
    18. Michael Pitt & Sheheryar Malik & Arnaud Doucet, 2014. "Simulated likelihood inference for stochastic volatility models using continuous particle filtering," Annals of the Institute of Statistical Mathematics, Springer;The Institute of Statistical Mathematics, vol. 66(3), pages 527-552, June.
    19. 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.
    20. Alfarano, Simone & Lux, Thomas & Wagner, Friedrich, 2008. "Time variation of higher moments in a financial market with heterogeneous agents: An analytical approach," Journal of Economic Dynamics and Control, Elsevier, vol. 32(1), pages 101-136, January.
    21. Amilon, Henrik, 2008. "Estimation of an adaptive stock market model with heterogeneous agents," Journal of Empirical Finance, Elsevier, vol. 15(2), pages 342-362, March.
    22. Chang, Kuo-Hao, 2012. "Stochastic Nelder–Mead simplex method – A new globally convergent direct search method for simulation optimization," European Journal of Operational Research, Elsevier, vol. 220(3), pages 684-694.
    23. Brock, William A. & Hommes, Cars H., 1998. "Heterogeneous beliefs and routes to chaos in a simple asset pricing model," Journal of Economic Dynamics and Control, Elsevier, vol. 22(8-9), pages 1235-1274, August.
    24. Day, Richard H. & Huang, Weihong, 1990. "Bulls, bears and market sheep," Journal of Economic Behavior & Organization, Elsevier, vol. 14(3), pages 299-329, December.
    25. 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.
    26. Leroux, Brian G., 1992. "Maximum-likelihood estimation for hidden Markov models," Stochastic Processes and their Applications, Elsevier, vol. 40(1), pages 127-143, February.
    27. repec:hal:spmain:info:hdl:2441/7kr9gv74ut9ngo58gia97t83i7 is not listed on IDEAS
    28. Vuong, Quang H, 1989. "Likelihood Ratio Tests for Model Selection and Non-nested Hypotheses," Econometrica, Econometric Society, vol. 57(2), pages 307-333, March.
    29. Christophe Andrieu & Arnaud Doucet & Roman Holenstein, 2010. "Particle Markov chain Monte Carlo methods," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 72(3), pages 269-342, June.
    30. Tae-Seok Jang, 2015. "Identification of Social Interaction Effects in Financial Data," Computational Economics, Springer;Society for Computational Economics, vol. 45(2), pages 207-238, February.
    31. Jiri Kukacka & Jozef Barunik, 2016. "Simulated ML Estimation of Financial Agent-Based Models," Working Papers IES 2016/07, Charles University Prague, Faculty of Social Sciences, Institute of Economic Studies, revised Mar 2016.
    32. Brown, Gregory W. & Cliff, Michael T., 2004. "Investor sentiment and the near-term stock market," Journal of Empirical Finance, Elsevier, vol. 11(1), pages 1-27, January.
    33. Franke, Reiner & Westerhoff, Frank, 2012. "Structural stochastic volatility in asset pricing dynamics: Estimation and model contest," Journal of Economic Dynamics and Control, Elsevier, vol. 36(8), pages 1193-1211.
    34. Carl Chiarella, 1992. "The Dynamics of Speculative Behaviour," Working Paper Series 13, Finance Discipline Group, UTS Business School, University of Technology, Sydney.
    35. Ghonghadze, Jaba & Lux, Thomas, 2016. "Bringing an elementary agent-based model to the data: Estimation via GMM and an application to forecasting of asset price volatility," Journal of Empirical Finance, Elsevier, vol. 37(C), pages 1-19.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Lux, Thomas, 2018. "Inference for nonlinear state space models: A comparison of different methods applied to Markov-switching multifractal models," Economics Working Papers 2018-07, Christian-Albrechts-University of Kiel, Department of Economics.
    2. Adam Majewski & Stefano Ciliberti & Jean-Philippe Bouchaud, 2018. "Co-existence of Trend and Value in Financial Markets: Estimating an Extended Chiarella Model," Papers 1807.11751, arXiv.org.

    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. 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.
    2. Tubbenhauer, Tobias & Fieberg, Christian & Poddig, Thorsten, 2021. "Multi-agent-based VaR forecasting," Journal of Economic Dynamics and Control, Elsevier, vol. 131(C).
    3. 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.
    4. 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.
    5. 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.
    6. 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.
    7. 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.
    8. 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.
    9. repec:hal:spmain:info:hdl:2441/13thfd12aa8rmplfudlgvgahff is not listed on IDEAS
    10. Zhenxi Chen & Thomas Lux, 2018. "Estimation of Sentiment Effects in Financial Markets: A Simulated Method of Moments Approach," Computational Economics, Springer;Society for Computational Economics, vol. 52(3), pages 711-744, October.
    11. repec:hal:spmain:info:hdl:2441/20hflp7eqn97boh50no50tv67n is not listed on IDEAS
    12. Majewski, Adam A. & Ciliberti, Stefano & Bouchaud, Jean-Philippe, 2020. "Co-existence of trend and value in financial markets: Estimating an extended Chiarella model," Journal of Economic Dynamics and Control, Elsevier, vol. 112(C).
    13. 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.
    14. Kai Li, 2014. "Asset Price Dynamics with Heterogeneous Beliefs and Time Delays," PhD Thesis, Finance Discipline Group, UTS Business School, University of Technology, Sydney, number 1-2014.
    15. Kukacka, Jiri & Kristoufek, Ladislav, 2020. "Do ‘complex’ financial models really lead to complex dynamics? Agent-based models and multifractality," Journal of Economic Dynamics and Control, Elsevier, vol. 113(C).
    16. Kai Li, 2014. "Asset Price Dynamics with Heterogeneous Beliefs and Time Delays," PhD Thesis, Finance Discipline Group, UTS Business School, University of Technology, Sydney, number 13, July-Dece.
    17. 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.
    18. Qi Nan Zhai, 2015. "Asset Pricing Under Ambiguity and Heterogeneity," PhD Thesis, Finance Discipline Group, UTS Business School, University of Technology, Sydney, number 1-2015.
    19. Jia-Ping Huang & Yang Zhang & Juanxi Wang, 2023. "Dynamic effects of social influence on asset prices," Journal of Economic Interaction and Coordination, Springer;Society for Economic Science with Heterogeneous Interacting Agents, vol. 18(3), pages 671-699, July.
    20. Kukacka, Jiri & Jang, Tae-Seok & Sacht, Stephen, 2018. "On the estimation of behavioral macroeconomic models via simulated maximum likelihood," Economics Working Papers 2018-11, Christian-Albrechts-University of Kiel, Department of Economics.
    21. Blaurock, Ivonne & Schmitt, Noemi & Westerhoff, Frank, 2018. "Market entry waves and volatility outbursts in stock markets," Journal of Economic Behavior & Organization, Elsevier, vol. 153(C), pages 19-37.
    22. Xue-Zhong He & Youwei Li, 2017. "The adaptiveness in stock markets: testing the stylized facts in the DAX 30," Journal of Evolutionary Economics, Springer, vol. 27(5), pages 1071-1094, November.

    More about this item

    Keywords

    agent-based models; estimation; Markov chain Monte Carlo; particle filter;
    All these keywords.

    JEL classification:

    • G12 - Financial Economics - - General Financial Markets - - - Asset Pricing; Trading Volume; Bond Interest Rates
    • C15 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Statistical Simulation Methods: General
    • C58 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Financial Econometrics

    NEP fields

    This paper has been announced in the following NEP Reports:

    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:zbw:cauewp:201707. 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: ZBW - Leibniz Information Centre for Economics (email available below). General contact details of provider: https://edirc.repec.org/data/vakiede.html .

    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.