IDEAS home Printed from https://ideas.repec.org/a/eee/dyncon/v91y2018icp391-408.html
   My bibliography  Save this article

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 latter 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, 2018. "Estimation of agent-based models using sequential Monte Carlo methods," Journal of Economic Dynamics and Control, Elsevier, vol. 91(C), pages 391-408.
  • Handle: RePEc:eee:dyncon:v:91:y:2018:i:c:p:391-408
    DOI: 10.1016/j.jedc.2018.01.021
    as

    Download full text from publisher

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

    File URL: https://libkey.io/10.1016/j.jedc.2018.01.021?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. Leroux, Brian G., 1992. "Maximum-likelihood estimation for hidden Markov models," Stochastic Processes and their Applications, Elsevier, vol. 40(1), pages 127-143, February.
    3. 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.
    4. Day, Richard H. & Huang, Weihong, 1990. "Bulls, bears and market sheep," Journal of Economic Behavior & Organization, Elsevier, vol. 14(3), pages 299-329, December.
    5. 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.
    6. 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.
    7. repec:hal:spmain:info:hdl:2441/7kr9gv74ut9ngo58gia97t83i7 is not listed on IDEAS
    8. Hens, Thorsten & Schenk-Hoppe, Klaus Reiner (ed.), 2009. "Handbook of Financial Markets: Dynamics and Evolution," Elsevier Monographs, Elsevier, edition 1, number 9780123742582.
    9. Vuong, Quang H, 1989. "Likelihood Ratio Tests for Model Selection and Non-nested Hypotheses," Econometrica, Econometric Society, vol. 57(2), pages 307-333, March.
    10. 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.
    11. 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.
    12. 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.
    13. 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.
    14. 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.
    15. repec:hal:spmain:info:hdl:2441/20hflp7eqn97boh50no50tv67n is not listed on IDEAS
    16. 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.
    17. 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.
    18. Olsson, Jimmy & Rydén, Tobias, 2008. "Asymptotic properties of particle filter-based maximum likelihood estimators for state space models," Stochastic Processes and their Applications, Elsevier, vol. 118(4), pages 649-680, April.
    19. 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.
    20. 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.
    21. William A. Brock & Cars H. Hommes, 1997. "A Rational Route to Randomness," Econometrica, Econometric Society, vol. 65(5), pages 1059-1096, September.
    22. Tadic, Vladislav B. & Doucet, Arnaud, 2005. "Exponential forgetting and geometric ergodicity for optimal filtering in general state-space models," Stochastic Processes and their Applications, Elsevier, vol. 115(8), pages 1408-1436, August.
    23. Yu, Jun, 2005. "On leverage in a stochastic volatility model," Journal of Econometrics, Elsevier, vol. 127(2), pages 165-178, August.
    24. 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.
    25. Malik, Sheheryar & Pitt, Michael K., 2011. "Particle filters for continuous likelihood evaluation and maximisation," Journal of Econometrics, Elsevier, vol. 165(2), pages 190-209.
    26. 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.
    27. 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.
    28. Alan Kirman, 1993. "Ants, Rationality, and Recruitment," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 108(1), pages 137-156.
    29. 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.
    30. 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.
    31. 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.
    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. Lux, Thomas, 1995. "Herd Behaviour, Bubbles and Crashes," Economic Journal, Royal Economic Society, vol. 105(431), pages 881-896, July.
    35. Carl Chiarella, 1992. "The Dynamics of Speculative Behaviour," Working Paper Series 13, Finance Discipline Group, UTS Business School, University of Technology, Sydney.
    36. 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.
    37. 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.
    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. 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.
    2. 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.
    3. 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.
    4. Tubbenhauer, Tobias & Fieberg, Christian & Poddig, Thorsten, 2021. "Multi-agent-based VaR forecasting," Journal of Economic Dynamics and Control, Elsevier, vol. 131(C).
    5. 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.
    6. 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.
    7. 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.
    8. 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.
    9. 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.
    10. 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.
    11. 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.
    12. Anufriev, Mikhail & Bao, Te & Tuinstra, Jan, 2016. "Microfoundations for switching behavior in heterogeneous agent models: An experiment," Journal of Economic Behavior & Organization, Elsevier, vol. 129(C), pages 74-99.
    13. repec:hal:spmain:info:hdl:2441/20hflp7eqn97boh50no50tv67n is not listed on IDEAS
    14. 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.
    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. 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.
    17. repec:hal:spmain:info:hdl:2441/13thfd12aa8rmplfudlgvgahff is not listed on IDEAS
    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. 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).
    20. 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.
    21. Schmitt, Noemi & Westerhoff, Frank, 2021. "Trend followers, contrarians and fundamentalists: Explaining the dynamics of financial markets," Journal of Economic Behavior & Organization, Elsevier, vol. 192(C), pages 117-136.
    22. Alexandru Mandes & Peter Winker, 2017. "Complexity and model comparison in agent based modeling of financial markets," Journal of Economic Interaction and Coordination, Springer;Society for Economic Science with Heterogeneous Interacting Agents, vol. 12(3), pages 469-506, October.

    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

    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:dyncon:v:91:y:2018:i:c:p:391-408. 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/jedc .

    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.