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

A calibration procedure for analyzing stock price dynamics in an agent-based framework

Author

Listed:
  • Recchioni, Maria Cristina
  • Tedeschi, Gabriele
  • Gallegati, Mauro

Abstract

In this paper we introduce a calibration procedure for validating of agent based models. Starting from the well-known financial model of Brock and Hommes 1998, we show how an appropriate calibration enables the model to describe price time series. We formulate the calibration problem as a nonlinear constrained optimization that can be solved numerically via a gradient-based method. The calibration results show that the simplest version of the Brock and Hommes model, with two trader types, fundamentalists and trend-followers, replicates nicely the price series of four different markets indices: the S&P 500, the Euro Stoxx 50, the Nikkei 225 and the CSI 300. We show how the parameter values of the calibrated model are important in interpret- ing the trader behavior in the different markets investigated. These parameters are then used for price forecasting. To further improve the forecasting, we modify our calibration approach by increasing the trader information set. Finally, we show how this new approach improves the model's ability to predict market prices.

Suggested Citation

  • Recchioni, Maria Cristina & Tedeschi, Gabriele & Gallegati, Mauro, 2014. "A calibration procedure for analyzing stock price dynamics in an agent-based framework," FinMaP-Working Papers 26, Collaborative EU Project FinMaP - Financial Distortions and Macroeconomic Performance: Expectations, Constraints and Interaction of Agents.
  • Handle: RePEc:zbw:fmpwps:26
    as

    Download full text from publisher

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

    Other versions of this item:

    References listed on IDEAS

    as
    1. S. Alfarano & T. Lux & F. Wagner, 2007. "Empirical validation of stochastic models of interacting agents," The European Physical Journal B: Condensed Matter and Complex Systems, Springer;EDP Sciences, vol. 55(2), pages 183-187, January.
    2. Nielsen, Morten Ørregaard & Frederiksen, Per, 2008. "Finite sample accuracy and choice of sampling frequency in integrated volatility estimation," Journal of Empirical Finance, Elsevier, vol. 15(2), pages 265-286, March.
    3. Ozgür Orhangazi, 2008. "Financialisation and capital accumulation in the non-financial corporate sector:," Cambridge Journal of Economics, Cambridge Political Economy Society, vol. 32(6), pages 863-886, November.
    4. C. H. Hommes, 2001. "Financial markets as nonlinear adaptive evolutionary systems," Quantitative Finance, Taylor & Francis Journals, vol. 1(1), pages 149-167.
    5. Maria Elvira Mancino & Simona Sanfelici, 2012. "Estimation of quarticity with high-frequency data," Quantitative Finance, Taylor & Francis Journals, vol. 12(4), pages 607-622, December.
    6. Leif Andersen & Jesper Andreasen, 2000. "Jump-Diffusion Processes: Volatility Smile Fitting and Numerical Methods for Option Pricing," Review of Derivatives Research, Springer, vol. 4(3), pages 231-262, October.
    7. Tedeschi, Gabriele & Iori, Giulia & Gallegati, Mauro, 2012. "Herding effects in order driven markets: The rise and fall of gurus," Journal of Economic Behavior & Organization, Elsevier, vol. 81(1), pages 82-96.
    8. LeBaron, Blake, 2006. "Agent-based Computational Finance," Handbook of Computational Economics, in: Leigh Tesfatsion & Kenneth L. Judd (ed.), Handbook of Computational Economics, edition 1, volume 2, chapter 24, pages 1187-1233, Elsevier.
    9. William A. Brock & Cars H. Hommes, 1997. "A Rational Route to Randomness," Econometrica, Econometric Society, vol. 65(5), pages 1059-1096, September.
    10. Bates, David S, 1996. "Jumps and Stochastic Volatility: Exchange Rate Processes Implicit in Deutsche Mark Options," Review of Financial Studies, Society for Financial Studies, vol. 9(1), pages 69-107.
    11. Louis-Philippe Rochon & Sergio Rossi, 2010. "Has "It" Happened Again?," International Journal of Political Economy, Taylor & Francis Journals, vol. 39(2), pages 5-9.
    12. 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.
    13. Marco Raberto & Silvano Cincotti & Sergio Focardi & Michele Marchesi, 2003. "Traders' Long-Run Wealth in an Artificial Financial Market," Computational Economics, Springer;Society for Computational Economics, vol. 22(2), pages 255-272, October.
    14. 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.
    15. Manfred GILLI, & Peter WINKER, 2001. "Indirect Estimation of the Parameters of Agent Based Models of Financial Markets," FAME Research Paper Series rp38, International Center for Financial Asset Management and Engineering.
    16. Alfarano, Simone & Lux, Thomas & Wagner, Friedrich, 2006. "Estimation of a simple agent-based model of financial markets: An application to Australian stock and foreign exchange data," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 370(1), pages 38-42.
    17. Leigh Tesfatsion & Kenneth L. Judd (ed.), 2006. "Handbook of Computational Economics," Handbook of Computational Economics, Elsevier, edition 1, volume 2, number 2.
    18. Samer Hassan & Javier Arroyo & José Manuel Galán & Luis Antunes & Juan Pavón, 2013. "Asking the Oracle: Introducing Forecasting Principles into Agent-Based Modelling," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 16(3), pages 1-13.
    19. Brock, W.A. & Hommes, C.H., 1997. "Models of Compelxity in Economics and Finance," Working papers 9706, Wisconsin Madison - Social Systems.
    20. 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.
    21. Hommes, Cars H., 2006. "Heterogeneous Agent Models in Economics and Finance," Handbook of Computational Economics, in: Leigh Tesfatsion & Kenneth L. Judd (ed.), Handbook of Computational Economics, edition 1, volume 2, chapter 23, pages 1109-1186, Elsevier.
    22. Chiarella, Carl & Iori, Giulia, 2009. "The impact of heterogeneous trading rules on the limit order book and order flows," Journal of Economic Dynamics and Control, Elsevier, vol. 33(3), pages 525-537.
    23. Gatti, Domenico Delli & Gallegati, Mauro & Greenwald, Bruce C. & Russo, Alberto & Stiglitz, Joseph E., 2012. "Mobility constraints, productivity trends, and extended crises," Journal of Economic Behavior & Organization, Elsevier, vol. 83(3), pages 375-393.
    24. Gaunersdorfer, Andrea & Hommes, Cars H. & Wagener, Florian O.O., 2008. "Bifurcation routes to volatility clustering under evolutionary learning," Journal of Economic Behavior & Organization, Elsevier, vol. 67(1), pages 27-47, July.
    25. Lars Peter Hansen & James J. Heckman, 1996. "The Empirical Foundations of Calibration," Journal of Economic Perspectives, American Economic Association, vol. 10(1), pages 87-104, Winter.
    26. David F. Midgley & Robert E. Marks & Lee C. Cooper, 1997. "Breeding Competitive Strategies," Management Science, INFORMS, vol. 43(3), pages 257-275, March.
    27. Vinod, Hrishikesh D. & Lopez-de-Lacalle, Javier, 2009. "Maximum Entropy Bootstrap for Time Series: The meboot R Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 29(i05).
    28. Rama Cont, 2007. "Volatility Clustering in Financial Markets: Empirical Facts and Agent-Based Models," Springer Books, in: Gilles Teyssière & Alan P. Kirman (ed.), Long Memory in Economics, pages 289-309, Springer.
    29. G. Tedeschi & G. Iori & M. Gallegati, 2009. "The role of communication and imitation in limit order markets," The European Physical Journal B: Condensed Matter and Complex Systems, Springer;EDP Sciences, vol. 71(4), pages 489-497, October.
    30. LeBaron, Blake & Arthur, W. Brian & Palmer, Richard, 1999. "Time series properties of an artificial stock market," Journal of Economic Dynamics and Control, Elsevier, vol. 23(9-10), pages 1487-1516, September.
    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. 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.
    33. Pasquale Cirillo & Mauro Gallegati, 2012. "The Empirical Validation of an Agent-based Model," Eastern Economic Journal, Palgrave Macmillan;Eastern Economic Association, vol. 38(4), pages 525-547.
    34. Raberto, Marco & Cincotti, Silvano & Focardi, Sergio M. & Marchesi, Michele, 2001. "Agent-based simulation of a financial market," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 299(1), pages 319-327.
    35. Bianchi, Carlo & Cirillo, Pasquale & Gallegati, Mauro & Vagliasindi, Pietro A., 2008. "Validation in agent-based models: An investigation on the CATS model," Journal of Economic Behavior & Organization, Elsevier, vol. 67(3-4), pages 947-964, September.
    36. Carlo Bianchi & Pasquale Cirillo & Mauro Gallegati & Pietro Vagliasindi, 2007. "Validating and Calibrating Agent-Based Models: A Case Study," Computational Economics, Springer;Society for Computational Economics, vol. 30(3), pages 245-264, October.
    37. Lorella Fatone & Francesca Mariani & Maria Cristina Recchioni & Francesco Zirilli, 2013. "The Analysis of Real Data Using a Multiscale Stochastic Volatility Model," European Financial Management, European Financial Management Association, vol. 19(1), pages 153-179, January.
    38. Blake LeBaron & Ryuichi Yamamoto, 2008. "The Impact of Imitation on Long Memory in an Order-Driven Market," Eastern Economic Journal, Palgrave Macmillan;Eastern Economic Association, vol. 34(4), pages 504-517.
    39. Christopher A. Sims, 1996. "Macroeconomics and Methodology," Journal of Economic Perspectives, American Economic Association, vol. 10(1), pages 105-120, Winter.
    40. LeBaron, Blake & Yamamoto, Ryuichi, 2007. "Long-memory in an order-driven market," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 383(1), pages 85-89.
    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. Tedeschi, Gabriele & Recchioni, Maria Cristina & Berardi, Simone, 2019. "An approach to identifying micro behavior: How banks’ strategies influence financial cycles," Journal of Economic Behavior & Organization, Elsevier, vol. 162(C), pages 329-346.
    2. 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.
    3. Cars Hommes & Florian Wagener, 2008. "Complex Evolutionary Systems in Behavioral Finance," Tinbergen Institute Discussion Papers 08-054/1, Tinbergen Institute.
    4. He, Xue-Zhong & Li, Youwei, 2015. "Testing of a market fraction model and power-law behaviour in the DAX 30," Journal of Empirical Finance, Elsevier, vol. 31(C), pages 1-17.
    5. 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.
    6. 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.
    7. Roberto Dieci & Xue-Zhong He, 2018. "Heterogeneous Agent Models in Finance," Research Paper Series 389, Quantitative Finance Research Centre, University of Technology, Sydney.
    8. Simone Berardi & Gabriele Tedeschi, 2016. "How banks’ strategies influence financial cycles: An approach to identifying micro behavior," Working Papers 2016/24, Economics Department, Universitat Jaume I, Castellón (Spain).
    9. Yamamoto, Ryuichi & Hirata, Hideaki, 2013. "Strategy switching in the Japanese stock market," Journal of Economic Dynamics and Control, Elsevier, vol. 37(10), pages 2010-2022.
    10. Tubbenhauer, Tobias & Fieberg, Christian & Poddig, Thorsten, 2021. "Multi-agent-based VaR forecasting," Journal of Economic Dynamics and Control, Elsevier, vol. 131(C).
    11. Witte, Björn-Christopher, 2011. "Removing systematic patterns in returns in a financial market model by artificially intelligent traders," BERG Working Paper Series 82, Bamberg University, Bamberg Economic Research Group.
    12. Yamamoto, Ryuichi, 2019. "Dynamic Predictor Selection And Order Splitting In A Limit Order Market," Macroeconomic Dynamics, Cambridge University Press, vol. 23(5), pages 1757-1792, July.
    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. 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.
    15. Hommes, Cars H., 2006. "Heterogeneous Agent Models in Economics and Finance," Handbook of Computational Economics, in: Leigh Tesfatsion & Kenneth L. Judd (ed.), Handbook of Computational Economics, edition 1, volume 2, chapter 23, pages 1109-1186, Elsevier.
    16. 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.
    17. Jakob Grazzini & Matteo G. Richiardi, 2013. "Consistent Estimation of Agent-Based Models by Simulated Minimum Distance," LABORatorio R. Revelli Working Papers Series 130, LABORatorio R. Revelli, Centre for Employment Studies.
    18. 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.
    19. Alessio Emanuele Biondo, 2019. "Order book modeling and financial stability," Journal of Economic Interaction and Coordination, Springer;Society for Economic Science with Heterogeneous Interacting Agents, vol. 14(3), pages 469-489, September.
    20. repec:hal:spmain:info:hdl:2441/20hflp7eqn97boh50no50tv67n is not listed on IDEAS
    21. Delli Gatti,Domenico & Fagiolo,Giorgio & Gallegati,Mauro & Richiardi,Matteo & Russo,Alberto (ed.), 2018. "Agent-Based Models in Economics," Cambridge Books, Cambridge University Press, number 9781108400046.

    More about this item

    Keywords

    Calibration; Validation; Forecasting; Agent-based models; Asset pricing; Heterogeneous beliefs;
    All these keywords.

    JEL classification:

    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods
    • C63 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computational Techniques
    • G17 - Financial Economics - - General Financial Markets - - - Financial Forecasting and Simulation

    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:fmpwps:26. 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.