IDEAS home Printed from https://ideas.repec.org/p/frz/wpaper/wp2022_20.rdf.html
   My bibliography  Save this paper

A State-Space Approach for Time-Series Prediction of an Heterogeneous Agent Model

Author

Listed:
  • Filippo Gusella
  • Giorgio Ricchiuti

Abstract

In this paper we apply the state-space model approach to evaluate and compare the forecasting performance of a small-scale heterogeneous agent model (HAM) with fundamentalists and contrarians. As in the tradition of HAMs, agents are heterogeneous in the expectations formation and forecast future prices based on the deviations of previous values with respect to the fundamental value. Moreover, our agents have two specifications for the asset's fundamental value, formalized as a random walk (RW) or with the Gordon model (GM). We examine the models' performance at various forecast horizons (short vs. long horizon) and different frequency-time (monthly and quarterly). Overall, GM statistically outperforms RW specification at the long horizon with statistical significance, while RW and GM are statistically indifferent in the short horizon.

Suggested Citation

  • Filippo Gusella & Giorgio Ricchiuti, 2022. "A State-Space Approach for Time-Series Prediction of an Heterogeneous Agent Model," Working Papers - Economics wp2022_20.rdf, Universita' degli Studi di Firenze, Dipartimento di Scienze per l'Economia e l'Impresa.
  • Handle: RePEc:frz:wpaper:wp2022_20.rdf
    as

    Download full text from publisher

    File URL: https://www.disei.unifi.it/upload/sub/pubblicazioni/repec/pdf/wp20_2022.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. 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.
    2. Filippo Gusella & Engelbert Stockhammer, 2021. "Testing fundamentalist–momentum trader financial cycles: An empirical analysis via the Kalman filter," Metroeconomica, Wiley Blackwell, vol. 72(4), pages 758-797, November.
    3. Matthijs Lof, 2015. "Rational Speculators, Contrarians, and Excess Volatility," Management Science, INFORMS, vol. 61(8), pages 1889-1901, August.
    4. Cheung, Yin-Wong & Chinn, Menzie D. & Pascual, Antonio Garcia & Zhang, Yi, 2019. "Exchange rate prediction redux: New models, new data, new currencies," Journal of International Money and Finance, Elsevier, vol. 95(C), pages 332-362.
    5. Manzan, Sebastiano & Westerhoff, Frank H., 2007. "Heterogeneous expectations, exchange rate dynamics and predictability," Journal of Economic Behavior & Organization, Elsevier, vol. 64(1), pages 111-128, September.
    6. Jacob A. Mincer & Victor Zarnowitz, 1969. "The Evaluation of Economic Forecasts," NBER Chapters, in: Economic Forecasts and Expectations: Analysis of Forecasting Behavior and Performance, pages 3-46, National Bureau of Economic Research, Inc.
    7. Kouwenberg, Roy & Markiewicz, Agnieszka & Verhoeks, Ralph & Zwinkels, Remco C. J., 2017. "Model Uncertainty and Exchange Rate Forecasting," Journal of Financial and Quantitative Analysis, Cambridge University Press, vol. 52(1), pages 341-363, February.
    8. Saskia ter Ellen & Willem F. C. Verschoor, 2018. "Heterogeneous Beliefs and Asset Price Dynamics: A Survey of Recent Evidence," Dynamic Modeling and Econometrics in Economics and Finance, in: Fredj Jawadi (ed.), Uncertainty, Expectations and Asset Price Dynamics, pages 53-79, Springer.
    9. Paul De Grauwe & Marianna Grimaldi, 2014. "Heterogeneity of Agents, Transactions Costs and the Exchange Rate," World Scientific Book Chapters, in: Exchange Rates and Global Financial Policies, chapter 2, pages 33-70, World Scientific Publishing Co. Pte. Ltd..
    10. 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.
    11. Paul De Grauwe & Marianna Grimaldi, 2014. "Exchange Rate Puzzles: A Tale of Switching Attractors," World Scientific Book Chapters, in: Exchange Rates and Global Financial Policies, chapter 3, pages 71-117, World Scientific Publishing Co. Pte. Ltd..
    12. Hommes, Cars & Sonnemans, Joep & Tuinstra, Jan & van de Velden, Henk, 2008. "Expectations and bubbles in asset pricing experiments," Journal of Economic Behavior & Organization, Elsevier, vol. 67(1), pages 116-133, July.
    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. Bao, Te & Hommes, Cars & Pei, Jiaoying, 2021. "Expectation formation in finance and macroeconomics: A review of new experimental evidence," Journal of Behavioral and Experimental Finance, Elsevier, vol. 32(C).
    15. Lof, Matthijs, 2012. "Heterogeneity in stock prices: A STAR model with multivariate transition function," Journal of Economic Dynamics and Control, Elsevier, vol. 36(12), pages 1845-1854.
    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. Bao, Te & Hennequin, Myrna & Hommes, Cars & Massaro, Domenico, 2020. "Coordination on bubbles in large-group asset pricing experiments," Journal of Economic Dynamics and Control, Elsevier, vol. 110(C).
    18. Diebold, Francis X & Mariano, Roberto S, 2002. "Comparing Predictive Accuracy," Journal of Business & Economic Statistics, American Statistical Association, vol. 20(1), pages 134-144, January.
    19. Anufriev Mikhail & Bottazzi Giulio, 2012. "Asset Pricing with Heterogeneous Investment Horizons," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 16(4), pages 1-38, October.
    20. Durbin, James & Koopman, Siem Jan, 2012. "Time Series Analysis by State Space Methods," OUP Catalogue, Oxford University Press, edition 2, number 9780199641178, Decembrie.
    21. Jongen, Ron & Verschoor, Willem F.C. & Wolff, Christian C.P. & Zwinkels, Remco C.J., 2012. "Explaining dispersion in foreign exchange expectations: A heterogeneous agent approach," Journal of Economic Dynamics and Control, Elsevier, vol. 36(5), pages 719-735.
    22. ter Ellen, Saskia & Hommes, Cars H. & Zwinkels, Remco C.J., 2021. "Comparing behavioural heterogeneity across asset classes," Journal of Economic Behavior & Organization, Elsevier, vol. 185(C), pages 747-769.
    23. 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.
    24. Hommes, Cars & in ’t Veld, Daan, 2017. "Booms, busts and behavioural heterogeneity in stock prices," Journal of Economic Dynamics and Control, Elsevier, vol. 80(C), pages 101-124.
    25. Harvey, Andrew, 2006. "Forecasting with Unobserved Components Time Series Models," Handbook of Economic Forecasting, in: G. Elliott & C. Granger & A. Timmermann (ed.), Handbook of Economic Forecasting, edition 1, volume 1, chapter 7, pages 327-412, Elsevier.
    26. Reiner Franke & Frank Westerhoff, 2017. "Taking Stock: A Rigorous Modelling Of Animal Spirits In Macroeconomics," Journal of Economic Surveys, Wiley Blackwell, vol. 31(5), pages 1152-1182, December.
    27. Chiarella, Carl & He, Xue-Zhong & Huang, Weihong & Zheng, Huanhuan, 2012. "Estimating behavioural heterogeneity under regime switching," Journal of Economic Behavior & Organization, Elsevier, vol. 83(3), pages 446-460.
    28. Wan, Jer-Yuh & Kao, Chung-Wei, 2009. "Evidence on the contrarian trading in foreign exchange markets," Economic Modelling, Elsevier, vol. 26(6), pages 1420-1431, November.
    29. 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.
    30. Goldbaum, David & Zwinkels, Remco C.J., 2014. "An empirical examination of heterogeneity and switching in foreign exchange markets," Journal of Economic Behavior & Organization, Elsevier, vol. 107(PB), pages 667-684.
    31. de Jong, Eelke & Verschoor, Willem F.C. & Zwinkels, Remco C.J., 2010. "Heterogeneity of agents and exchange rate dynamics: Evidence from the EMS," Journal of International Money and Finance, Elsevier, vol. 29(8), pages 1652-1669, December.
    32. Chiarella, Carl & He, Xue-Zhong & Zwinkels, Remco C.J., 2014. "Heterogeneous expectations in asset pricing: Empirical evidence from the S&P500," Journal of Economic Behavior & Organization, Elsevier, vol. 105(C), pages 1-16.
    33. Cars Hommes & Joep Sonnemans & Jan Tuinstra & Henk van de Velden, 2005. "Coordination of Expectations in Asset Pricing Experiments," The Review of Financial Studies, Society for Financial Studies, vol. 18(3), pages 955-980.
    34. Thomas Lux, 2021. "Can heterogeneous agent models explain the alleged mispricing of the S&P 500?," Quantitative Finance, Taylor & Francis Journals, vol. 21(9), pages 1413-1433, September.
    35. 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.
    36. Cars Hommes, 2021. "Behavioral and Experimental Macroeconomics and Policy Analysis: A Complex Systems Approach," Journal of Economic Literature, American Economic Association, vol. 59(1), pages 149-219, March.
    37. Meese, Richard A. & Rogoff, Kenneth, 1983. "Empirical exchange rate models of the seventies : Do they fit out of sample?," Journal of International Economics, Elsevier, vol. 14(1-2), pages 3-24, February.
    38. Schmitt, Noemi, 2021. "Heterogeneous Expectations And Asset Price Dynamics," Macroeconomic Dynamics, Cambridge University Press, vol. 25(6), pages 1538-1568, September.
    39. 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)

    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. 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.
    2. Filippo Gusella, 2022. "Detecting And Measuring Financial Cycles In Heterogeneous Agents Models: An Empirical Analysis," Advances in Complex Systems (ACS), World Scientific Publishing Co. Pte. Ltd., vol. 25(02n03), pages 1-22, March.
    3. Filippo Gusella & Giorgio Ricchiuti, 2021. "State Space Model to Detect Cycles in Heterogeneous Agents Models," Working Papers - Economics wp2021_10.rdf, Universita' degli Studi di Firenze, Dipartimento di Scienze per l'Economia e l'Impresa.
    4. Saskia ter Ellen & Willem F.C. Verschoor, 2017. "Heterogeneous beliefs and asset price dynamics: a survey of recent evidence," Working Paper 2017/22, Norges Bank.
    5. Saskia ter Ellen & Willem F. C. Verschoor, 2018. "Heterogeneous Beliefs and Asset Price Dynamics: A Survey of Recent Evidence," Dynamic Modeling and Econometrics in Economics and Finance, in: Fredj Jawadi (ed.), Uncertainty, Expectations and Asset Price Dynamics, pages 53-79, Springer.
    6. Hommes, Cars & in ’t Veld, Daan, 2017. "Booms, busts and behavioural heterogeneity in stock prices," Journal of Economic Dynamics and Control, Elsevier, vol. 80(C), pages 101-124.
    7. Bolt, Wilko & Demertzis, Maria & Diks, Cees & Hommes, Cars & Leij, Marco van der, 2019. "Identifying booms and busts in house prices under heterogeneous expectations," Journal of Economic Dynamics and Control, Elsevier, vol. 103(C), pages 234-259.
    8. Filippo Gusella & Engelbert Stockhammer, 2021. "Testing fundamentalist–momentum trader financial cycles: An empirical analysis via the Kalman filter," Metroeconomica, Wiley Blackwell, vol. 72(4), pages 758-797, November.
    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. Tubbenhauer, Tobias & Fieberg, Christian & Poddig, Thorsten, 2021. "Multi-agent-based VaR forecasting," Journal of Economic Dynamics and Control, Elsevier, vol. 131(C).
    11. Goldbaum, David & Zwinkels, Remco C.J., 2014. "An empirical examination of heterogeneity and switching in foreign exchange markets," Journal of Economic Behavior & Organization, Elsevier, vol. 107(PB), pages 667-684.
    12. Zhong-Qiang Zhou & Jie Li & Wei Zhang & Xiong Xiong, 2022. "Government intervention model based on behavioral heterogeneity for China’s stock market," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 8(1), pages 1-19, December.
    13. Filippo Gusella, 2019. "Modelling Minskyan financial cycles with fundamentalist and extrapolative price strategies: An empirical analysis via the Kalman filter approach," Working Papers - Economics wp2019_24.rdf, Universita' degli Studi di Firenze, Dipartimento di Scienze per l'Economia e l'Impresa.
    14. 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.
    15. 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.
    16. Li, Xiao-Ping & Zhou, Chun-Yang & Tong, Bin, 2019. "Carry trades, agent heterogeneity and the exchange rate," International Review of Economics & Finance, Elsevier, vol. 64(C), pages 343-358.
    17. ter Ellen, Saskia & Hommes, Cars H. & Zwinkels, Remco C.J., 2021. "Comparing behavioural heterogeneity across asset classes," Journal of Economic Behavior & Organization, Elsevier, vol. 185(C), pages 747-769.
    18. Ya-Chi Huang & Chueh-Yung Tsao, 2018. "Discovering Traders’ Heterogeneous Behavior in High-Frequency Financial Data," Computational Economics, Springer;Society for Computational Economics, vol. 51(4), pages 821-846, April.
    19. Lof, Matthijs, 2013. "Essays on Expectations and the Econometrics of Asset Pricing," MPRA Paper 59064, University Library of Munich, Germany.
    20. Cifarelli, Giulio & Paladino, Giovanna, 2018. "Can the interaction between a single long-term attractor and heterogeneous trading explain exchange rate behaviour? A nonlinear econometric investigation," MPRA Paper 83894, University Library of Munich, Germany.

    More about this item

    Keywords

    Heterogeneous expectations; forecasting; RW; Gordon model; state-space model;
    All these keywords.

    JEL classification:

    • C13 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Estimation: General
    • C50 - Mathematical and Quantitative Methods - - Econometric Modeling - - - General
    • G10 - Financial Economics - - General Financial Markets - - - General (includes Measurement and Data)
    • G12 - Financial Economics - - General Financial Markets - - - Asset Pricing; Trading Volume; Bond Interest Rates
    • G15 - Financial Economics - - General Financial Markets - - - International Financial Markets
    • E32 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Business Fluctuations; Cycles

    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:frz:wpaper:wp2022_20.rdf. 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: Giorgio Ricchiuti (email available below). General contact details of provider: https://edirc.repec.org/data/defirit.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.