Skip to main content

Simulated Maximum Likelihood Estimation of Agent-Based Models in Economics and Finance

  • Chapter
  • First Online:
Network Theory and Agent-Based Modeling in Economics and Finance
  • 892 Accesses

Abstract

This chapter presents a general simulation-based framework for estimation of agent-based models in economics and finance based on kernel methods. After discussing the distinguishing features between empirical estimation and calibration of economic models, the simulated maximum likelihood estimator is validated for utilization in agent-based econometrics. As the main advantage, the method allows for estimation of nonlinear models for which the analytical representation of the objective function does not exist. We test the properties and performance of the estimator in combination with the seminal Brock and Hommes (J Econ Dyn Control 22:1235–1274, 1998) asset pricing model, where the dynamics are governed by switching of agents between trading strategies based on the discrete choice approach. We also provide links to how the estimation method can be extended to multivariate macroeconomic optimization problems. Using simulation analysis, we show that the estimator consistently recovers the pseudo-true parameters with high estimation precision. We further study the impact of agents’ memory on the estimation performance and show that while memory generally deteriorates the precision, the main properties of the estimator remain unaffected.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 99.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 129.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 129.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    An acronym for “Keep it Short and Simple”, “Keep it Simple and Straightforward”, or an impolite original meaning by the U.S. Navy “Keep It Simple, Stupid”.

References

  • Allen H, Taylor MP (1990) Charts, noise and fundamentals in the London foreign exchange market. Econ J 100(400):49–59

    Article  Google Scholar 

  • Altissimo F, Mele A (2009) Simulated non-parametric estimation of dynamic models. Rev Econ Stud 76(2):413–450

    Article  Google Scholar 

  • Barde S (2016) Direct comparison of agent-based models of herding in financial markets. J Econ Dyn Control 73:329–353

    Article  Google Scholar 

  • Barde S, van der Hoog S (2017) An empirical validation protocol for large-scale agent-based models. Technical report, Bielefeld Working Papers in Economics and Management No. 04-2017

    Google Scholar 

  • Barunik J, Kukacka J (2015) Realizing stock market crashes: stochastic cusp catastrophe model of returns under time-varying volatility. Quant Financ 15(6):959–973

    Article  Google Scholar 

  • Barunik J, Vacha L, Vosvrda M (2009) Smart predictors in the heterogeneous agent model. J Econ Interact Coord 4:163–172

    Article  Google Scholar 

  • Bolt W, Demertzis M, Diks C, van der Leij M (2011) Complex methods in economics: an example of behavioral heterogeneity in house prices. Technical report, De Nederlandsche Bank

    Google Scholar 

  • Bolt W, Demertzis M, Diks CGH, Hommes CH, van der Leij M (2014) Identifying booms and busts in house prices under heterogeneous expectations. Technical report, De Nederlandsche Bank Working Paper No. 450

    Google Scholar 

  • Brock WA, Hommes CH (1998) Heterogeneous beliefs and routes to chaos in a simple asset pricing model. J Econ Dyn Control 22:1235–1274

    Article  Google Scholar 

  • Browning M, Hansen LP, Heckman JJ (1999) Chapter 8: micro data and general equilibrium models. In: Handbook of Macroeconomics, Volume 1, Part A of Handbook of Macroeconomics, pp 543–633. Elsevier

    Google Scholar 

  • Chen S-H, Chang C-L, Du Y-R (2012) Agent-based economic models and econometrics. Knowl Eng Rev 27:187–219

    Article  Google Scholar 

  • Chen Z, Lux T (2018) Estimation of sentiment effects in financial markets: a simulated method of moments approach. Comput Econ 52(3):711–744

    Google Scholar 

  • Chiarella C, He X-Z, Zwinkels RC (2014) Heterogeneous expectations in asset pricing: empirical evidence from the SP500. J Econ Behav Organ 105:1–16

    Article  Google Scholar 

  • Chiarella C, ter Ellen S, He X-Z, Wu E (2015) Fear or fundamentals? heterogeneous beliefs in the european sovereign CDS markets. J Empir Financ 32:19–34

    Article  Google Scholar 

  • Cornea-Madeira A, Hommes C, Massaro D (2017) Behavioral heterogeneity in U.S. inflation dynamics. J Bus Econ Stat, 1–13

    Google Scholar 

  • De Grauwe P (2010) Top-down versus bottom-up macroeconomics. CESifo Econ Stud 56(4):465–497

    Article  Google Scholar 

  • De Grauwe P (2011) Animal spirits and monetary policy. Econ Theory 47(2):423–457

    Article  Google Scholar 

  • De Grauwe P (2012) Booms and busts in economic activity: a behavioral explanation. J Econ Behav Organ 83(3):484–501. The Great Recession: motivation for re-thinking paradigms in macroeconomic modeling

    Google Scholar 

  • Del Negro M, Schorfheide F (2012) DSGE model-based forecasting. Technical report, FRB of New York Staff Report No, p 554

    Google Scholar 

  • Dilaver Ã, Calvert Jump R, Levine P (2018) Agent-based macroeconomics and dynamic stochastic general equilibrium models: Where do we go from here? J Econ Surv 32(4):1134–1159

    Article  Google Scholar 

  • Fagiolo G, Guerini M, Lamperti F, Moneta A, Roventini A (2019) Validation of agent-based models in economics and finance, pp 763–787. Springer International Publishing

    Google Scholar 

  • Fagiolo G, Moneta A, Windrum P (2007) A critical guide to empirical validation of agent-based models in economics: methodologies, procedures, and open problems. Comput Econ 30(3):195–226

    Article  Google Scholar 

  • Fagiolo G, Roventini A (2012) Macroeconomic policy in dsge and agent-based models. Revue de l’OFCE 5(124):67–116

    Google Scholar 

  • Fernández-Villaverde J (2010) The econometrics of DSGE models. SERIEs 1(1–2):3–49

    Article  Google Scholar 

  • Fernández-Villaverde J, Rubio-Ramírez JF (2010) Macroeconomics and volatility: data, models, and estimation. Working Paper 16618, National Bureau of Economic Research

    Google Scholar 

  • Franke R, Westerhoff F (2012) Structural stochastic volatility in asset pricing dynamics: estimation and model contest. J Econ Dyn Control 36(8):1193–1211

    Article  Google Scholar 

  • Franke R, Westerhoff F (2016) Why a simple herding model may generate the stylized facts of daily returns: explanation and estimation. J Econ Interact Coord 11(1):1–34

    Article  Google Scholar 

  • Franke R, Westerhoff F (2017) Taking stock: a rigorous modelling of animal spirits in macroeconomics. J Econ Surv 31(5):1152–1182

    Article  Google Scholar 

  • Frankel JA, Froot KA (1991) Chartists, fundamentalists and the demand for dollars. Technical report, NBER Working Paper No. R1655

    Google Scholar 

  • Frijns B, Lehnert T, Zwinkels RCJ (2010) Behavioral heterogeneity in the option market. J Econ Dyn Control 34:2273–2287

    Article  Google Scholar 

  • Ghonghadze J, Lux T (2016) Bringing an elementary agent-based model to the data: estimation via GMM and an application to forecasting of asset price volatility. J Empir Financ 37:1–19

    Article  Google Scholar 

  • Goldbaum D, Zwinkels RC (2014) An empirical examination of heterogeneity and switching in foreign exchange markets. J Econ Behav Organ 107, Part B, 667–684. Empirical Behavioral Finance

    Google Scholar 

  • Grazzini J, Richiardi M (2015) Estimation of ergodic agent-based models by simulated minimum distance. J Econ Dyn Control 51:148–165

    Article  Google Scholar 

  • Grazzini J, Richiardi M, Sella L (2013) Indirect estimation of agent-based models. an application to a simple diffusion model. Compexity Econ 1(2):25–40

    Google Scholar 

  • Grazzini J, Richiardi MG, Tsionas M (2017) Bayesian estimation of agent-based models. J Econ Dyn Control 77:26–47

    Article  Google Scholar 

  • Guerini M, Moneta A (2017) A method for agent-based models validation. J Econ Dyn Control 82:125–141

    Article  Google Scholar 

  • Hansen LP, Heckman JJ (1996) The empirical foundations of calibration. J Econ Perspect 10(1):87–104

    Article  Google Scholar 

  • Hommes C, ’t Veld D (2017) Booms, busts and behavioural heterogeneity in stock prices. J Econ Dyn Control 80:101–124

    Google Scholar 

  • Hommes CH (2006) Chapter 23: heterogeneous agent models in economics and finance. In: Tesfatsion L, Judd K (Eds) Handbook of computational economics, Vol 2 of Handbook of Computational Economics, pp 1109–1186. Elsevier

    Google Scholar 

  • Jang T-S, Sacht S (2016) Animal spirits and the business cycle: empirical evidence from moment matching. Metroeconomica 67(1):76–113

    Article  Google Scholar 

  • Jang T-S, Sacht S (2019) Forecast heuristics, consumer expectations, and new-keynesian macroeconomics: a horse race. J Econ Behav Organ, forthcoming

    Google Scholar 

  • Kouwenberg R, Zwinkels RCJ (2015) Endogenous price bubbles in a multi-agent system of the housing market. PLoS ONE 10(6):e0129070

    Google Scholar 

  • Kristensen D, Shin Y (2012) Estimation of dynamic models with nonparametric simulated maximum likelihood. J Econ 167(1):76–94

    Article  Google Scholar 

  • Kukacka J, Barunik J (2013) Behavioural breaks in the heterogeneous agent model: the impact of herding, overconfidence, and market sentiment. Phys A: Stat Mech Appl 392(23):5920–5938

    Article  Google Scholar 

  • Kukacka J, Barunik J (2017) Estimation of financial agent-based models with simulated maximum likelihood. J Econ Dyn Control 85:21–45

    Article  Google Scholar 

  • Kukacka J, Jang T-S, Sacht S (2018) On the estimation of behavioral macroeconomic models via simulated maximum likelihood. Technical Report Economics Working Paper No 2018-11, Kiel University

    Google Scholar 

  • Kydland FE, Prescott EC (1996) The computational experiment: an econometric tool. J Econ Perspect 10(1):69–85

    Article  Google Scholar 

  • Lamperti F (2018a) Empirical validation of simulated models through the GSL-div: an illustrative application. J Econ Interact Coord 13(1):143–171

    Google Scholar 

  • Lamperti F (2018b) An information theoretic criterion for empirical validation of simulation models. Econ Stat 5:83–106

    Google Scholar 

  • Lamperti F, Roventini A, Sani A (2018) Agent-based model calibration using machine learning surrogates. J Econ Dyn Control 90:366–389

    Article  Google Scholar 

  • LeBaron B (2006) Chapter 24: agent-based computational finance. In: Tesfatsion L, Judd K (Eds), Handbook of computational economics, Vol 2 of Handbook of Computational Economics, pp 1187–1233. Elsevier

    Google Scholar 

  • Lee D, Song K (2015) Simulated maximum likelihood estimation for discrete choices using transformed simulated frequencies. J Econ 187(1):131–153

    Article  Google Scholar 

  • Lof M (2015) Rational speculators, contrarians, and excess volatility. Manag Sci 61(8):1889–1901

    Article  Google Scholar 

  • Lucas REJ (1978) Asset prices in an exchange economy. Econometrica 46:1429–1445

    Article  Google Scholar 

  • Lux T (2018) Estimation of agent-based models using sequential Monte Carlo methods. J Econ Dyn Control 91:391–408

    Article  Google Scholar 

  • Lux T, Zwinkels RC (2018) Chapter 8: empirical validation of agent-based models. In: Hommes C, LeBaron B (Eds), Handbook of computational economics, Vol 4, pp 437–488. Elsevier

    Google Scholar 

  • Platt D (2019) A comparison of economic agent-based model calibration methods. Technical report, Mathematical Institute & INET, University of Oxford

    Google Scholar 

  • Polach J, Kukacka J (2019) Prospect theory in the heterogeneous agent model. J Econ Interact Coord 14(1):147–174

    Google Scholar 

  • Recchioni M, Tedeschi G, Gallegati M (2015) A calibration procedure for analyzing stock price dynamics in an agent-based framework. J Econ Dyn Control 60:1–25

    Article  Google Scholar 

  • Silverman BW (1986) Density estimation for statistics and data analysis. Chapman and Hall, London

    Book  Google Scholar 

  • ter Ellen S, Verschoor WF, Zwinkels RC (2013) Dynamic expectation formation in the foreign exchange market. J Int Money Financ 37:75–97

    Article  Google Scholar 

  • Verschoor WF, Zwinkels RC (2013) Do foreign exchange fund managers behave like heterogeneous agents? Quant Financ 13(7):1125–1134

    Article  Google Scholar 

  • Windrum P, Fagiolo G, Moneta A (2007) Empirical validation of agent-based models: alternatives and prospects. J Artif Societies Soc Simul 10(2):8

    Google Scholar 

Download references

Acknowledgements

Jiri Kukacka gratefully acknowledges financial support from the Czech Science Foundation under the 17-12386Y “Multifractality analysis in finance” project, from the Charles University UNCE project (UNCE/HUM/035), and from the Charles University PRIMUS program (project PRIMUS/19/HUM/17).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jiri Kukacka .

Editor information

Editors and Affiliations

8 Appendix

8 Appendix

Table 3 Complete results for \(\beta \) estimation

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Singapore Pte Ltd.

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Kukacka, J. (2019). Simulated Maximum Likelihood Estimation of Agent-Based Models in Economics and Finance. In: Chakrabarti, A., Pichl, L., Kaizoji, T. (eds) Network Theory and Agent-Based Modeling in Economics and Finance. Springer, Singapore. https://doi.org/10.1007/978-981-13-8319-9_10

Download citation

  • DOI: https://doi.org/10.1007/978-981-13-8319-9_10

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-13-8318-2

  • Online ISBN: 978-981-13-8319-9

  • eBook Packages: Economics and FinanceEconomics and Finance (R0)

Publish with us

Policies and ethics