IDEAS home Printed from https://ideas.repec.org/a/spr/joevec/v27y2017i5d10.1007_s00191-017-0511-y.html
   My bibliography  Save this article

Genetic algorithm learning in a New Keynesian macroeconomic setup

Author

Listed:
  • Cars Hommes

    (University of Amsterdam
    Tinbergen Institute)

  • Tomasz Makarewicz

    (University of Amsterdam)

  • Domenico Massaro

    (Universitá Cattolica del Sacro Cuore)

  • Tom Smits

    (SEO Amsterdam Economics)

Abstract

In order to understand heterogeneous behavior amongst agents, empirical data from Learning-to-Forecast (LtF) experiments can be used to construct learning models. This paper follows up on Assenza et al. (2013) by using a Genetic Algorithms (GA) model to replicate the results from their LtF experiment. In this GA model, individuals optimize an adaptive, a trend following and an anchor coefficient in a population of general prediction heuristics. We replicate experimental treatments in a New-Keynesian environment with increasing complexity and use Monte Carlo simulations to investigate how well the model explains the experimental data. We find that the evolutionary learning model is able to replicate the three different types of behavior, i.e. convergence to steady state, stable oscillations and dampened oscillations in the treatments using one GA model. Heterogeneous behavior can thus be explained by an adaptive, anchor and trend extrapolating component and the GA model can be used to explain heterogeneous behavior in LtF experiments with different types of complexity.

Suggested Citation

  • Cars Hommes & Tomasz Makarewicz & Domenico Massaro & Tom Smits, 2017. "Genetic algorithm learning in a New Keynesian macroeconomic setup," Journal of Evolutionary Economics, Springer, vol. 27(5), pages 1133-1155, November.
  • Handle: RePEc:spr:joevec:v:27:y:2017:i:5:d:10.1007_s00191-017-0511-y
    DOI: 10.1007/s00191-017-0511-y
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s00191-017-0511-y
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s00191-017-0511-y?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 look for a different version below or search for a different version of it.

    Other versions of this item:

    References listed on IDEAS

    as
    1. Richard Clarida & Jordi Galí & Mark Gertler, 2000. "Monetary Policy Rules and Macroeconomic Stability: Evidence and Some Theory," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 115(1), pages 147-180.
    2. Arifovic, Jasmina, 1994. "Genetic algorithm learning and the cobweb model," Journal of Economic Dynamics and Control, Elsevier, vol. 18(1), pages 3-28, January.
    3. Assenza, T. & Heemeijer, P. & Hommes, C.H. & Massaro, D., 2011. "Individual Expectations and Aggregate Macro Behavior," CeNDEF Working Papers 11-01, Universiteit van Amsterdam, Center for Nonlinear Dynamics in Economics and Finance.
    4. Mikhail Anufriev & Cars Hommes & Tomasz Makarewicz, 2019. "Simple Forecasting Heuristics that Make us Smart: Evidence from Different Market Experiments," Journal of the European Economic Association, European Economic Association, vol. 17(5), pages 1538-1584.
    5. William A. Brock & Cars H. Hommes, 1997. "A Rational Route to Randomness," Econometrica, Econometric Society, vol. 65(5), pages 1059-1096, September.
    6. Arifovic, Jasmina, 1995. "Genetic algorithms and inflationary economies," Journal of Monetary Economics, Elsevier, vol. 36(1), pages 219-243, August.
    7. Marimon Ramon & Spear Stephen E. & Sunder Shyam, 1993. "Expectationally Driven Market Volatility: An Experimental Study," Journal of Economic Theory, Elsevier, vol. 61(1), pages 74-103, October.
    8. Adriana Cornea-Madeira & Cars Hommes & Domenico Massaro, 2019. "Behavioral Heterogeneity in U.S. Inflation Dynamics," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 37(2), pages 288-300, April.
    9. Mikhail Anufriev & Cars Hommes, 2012. "Evolutionary Selection of Individual Expectations and Aggregate Outcomes in Asset Pricing Experiments," American Economic Journal: Microeconomics, American Economic Association, vol. 4(4), pages 35-64, November.
    10. 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.
    11. Pfajfar, Damjan & Žakelj, Blaž, 2014. "Experimental evidence on inflation expectation formation," Journal of Economic Dynamics and Control, Elsevier, vol. 44(C), pages 147-168.
    12. Heemeijer, Peter & Hommes, Cars & Sonnemans, Joep & Tuinstra, Jan, 2009. "Price stability and volatility in markets with positive and negative expectations feedback: An experimental investigation," Journal of Economic Dynamics and Control, Elsevier, vol. 33(5), pages 1052-1072, May.
    13. Jasmina Arifovic & James Bullard & Olena Kostyshyna, 2013. "Social Learning and Monetary Policy Rules," Economic Journal, Royal Economic Society, vol. 123(567), pages 38-76, March.
    14. Hommes, Cars & Lux, Thomas, 2013. "Individual Expectations And Aggregate Behavior In Learning-To-Forecast Experiments," Macroeconomic Dynamics, Cambridge University Press, vol. 17(2), pages 373-401, March.
    15. Branch, William A. & McGough, Bruce, 2009. "A New Keynesian model with heterogeneous expectations," Journal of Economic Dynamics and Control, Elsevier, vol. 33(5), pages 1036-1051, May.
    16. Oleksiy Kryvtsov & Luba Petersen, 2013. "Expectations and Monetary Policy: Experimental Evidence," Discussion Papers dp13-09, Department of Economics, Simon Fraser University.
    17. Hommes, Cars, 2011. "The heterogeneous expectations hypothesis: Some evidence from the lab," Journal of Economic Dynamics and Control, Elsevier, vol. 35(1), pages 1-24, January.
    18. Massaro, Domenico, 2013. "Heterogeneous expectations in monetary DSGE models," Journal of Economic Dynamics and Control, Elsevier, vol. 37(3), pages 680-692.
    19. 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.
    20. Sargent, Thomas J., 1993. "Bounded Rationality in Macroeconomics: The Arne Ryde Memorial Lectures," OUP Catalogue, Oxford University Press, number 9780198288695.
    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. 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).
    2. Hommes, Cars & Makarewicz, Tomasz, 2021. "Price level versus inflation targeting under heterogeneous expectations: a laboratory experiment," Journal of Economic Behavior & Organization, Elsevier, vol. 182(C), pages 39-82.
    3. Hommes, Cars, 2018. "Behavioral & experimental macroeconomics and policy analysis: a complex systems approach," Working Paper Series 2201, European Central Bank.
    4. Kukacka, Jiri & Sacht, Stephen, 2023. "Estimation of heuristic switching in behavioral macroeconomic models," Journal of Economic Dynamics and Control, Elsevier, vol. 146(C).
    5. Zhu, Jiahua & Bao, Te & Chia, Wai Mun, 2021. "Evolutionary selection of forecasting and quantity decision rules in experimental asset markets," Journal of Economic Behavior & Organization, Elsevier, vol. 182(C), pages 363-404.

    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. Hommes, Cars, 2018. "Behavioral & experimental macroeconomics and policy analysis: a complex systems approach," Working Paper Series 2201, European Central Bank.
    2. Tiziana Assenza & William A. Brock & Cars H. Hommes, 2017. "Animal Spirits, Heterogeneous Expectations, And The Amplification And Duration Of Crises," Economic Inquiry, Western Economic Association International, vol. 55(1), pages 542-564, January.
    3. Mikhail Anufriev & Cars Hommes & Tomasz Makarewicz, 2019. "Simple Forecasting Heuristics that Make us Smart: Evidence from Different Market Experiments," Journal of the European Economic Association, European Economic Association, vol. 17(5), pages 1538-1584.
    4. Hommes, Cars & Massaro, Domenico & Weber, Matthias, 2019. "Monetary policy under behavioral expectations: Theory and experiment," European Economic Review, Elsevier, vol. 118(C), pages 193-212.
    5. Cars Hommes & Anita Kopányi-Peuker & Joep Sonnemans, 2021. "Bubbles, crashes and information contagion in large-group asset market experiments," Experimental Economics, Springer;Economic Science Association, vol. 24(2), pages 414-433, June.
    6. Pfajfar, Damjan, 2013. "Formation of rationally heterogeneous expectations," Journal of Economic Dynamics and Control, Elsevier, vol. 37(8), pages 1434-1452.
    7. Mauersberger, Felix, 2021. "Monetary policy rules in a non-rational world: A macroeconomic experiment," Journal of Economic Theory, Elsevier, vol. 197(C).
    8. Annicchiarico, Barbara & Surricchio, Silvia & Waldmann, Robert J., 2019. "A behavioral model of the credit cycle," Journal of Economic Behavior & Organization, Elsevier, vol. 166(C), pages 53-83.
    9. Tiziana Assenza & Te Bao & Cars Hommes & Domenico Massaro, 2014. "Experiments on Expectations in Macroeconomics and Finance," Research in Experimental Economics, in: Experiments in Macroeconomics, volume 17, pages 11-70, Emerald Group Publishing Limited.
    10. Hommes, Cars, 2011. "The heterogeneous expectations hypothesis: Some evidence from the lab," Journal of Economic Dynamics and Control, Elsevier, vol. 35(1), pages 1-24, January.
    11. Assenza, T. & Heemeijer, P. & Hommes, C.H. & Massaro, D., 2021. "Managing self-organization of expectations through monetary policy: A macro experiment," Journal of Monetary Economics, Elsevier, vol. 117(C), pages 170-186.
    12. Cars Hommes, 2010. "The heterogeneous expectations hypothesis: some evidence from the lab," Post-Print hal-00753041, HAL.
    13. Ahrens, Steffen & Lustenhouwer, Joep & Tettamanzi, Michele, 2017. "The Stabilizing Role of Forward Guidance: A Macro Experiment," VfS Annual Conference 2017 (Vienna): Alternative Structures for Money and Banking 168063, Verein für Socialpolitik / German Economic Association.
    14. Bertasiute, Akvile & Massaro, Domenico & Weber, Matthias, 2020. "The behavioral economics of currency unions: Economic integration and monetary policy," Journal of Economic Dynamics and Control, Elsevier, vol. 112(C).
    15. Gerunov, Anton, 2014. "Критичен Преглед На Основните Подходи За Моделиране На Икономическите Очаквания [A Critical Review of Major Approaches for Modeling Economic Expectations]," MPRA Paper 68797, University Library of Munich, Germany.
    16. 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).
    17. Mikhail Anufriev & Cars Hommes, 2012. "Evolutionary Selection of Individual Expectations and Aggregate Outcomes in Asset Pricing Experiments," American Economic Journal: Microeconomics, American Economic Association, vol. 4(4), pages 35-64, November.
    18. Pfajfar, Damjan & Žakelj, Blaž, 2014. "Experimental evidence on inflation expectation formation," Journal of Economic Dynamics and Control, Elsevier, vol. 44(C), pages 147-168.
    19. Anna Agliari & Domenico Massaro & Nicolò Pecora & Alessandro Spelta, 2017. "Inflation Targeting, Recursive Inattentiveness, and Heterogeneous Beliefs," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 49(7), pages 1587-1619, October.
    20. Hommes, Cars H., 2014. "Behaviorally Rational Expectations and Almost Self-Fulfilling Equilibria," Review of Behavioral Economics, now publishers, vol. 1(1-2), pages 75-97, January.

    More about this item

    Keywords

    Expectation formation; Learning to forecast experiment; Genetic algorithm model of individual learning;
    All these keywords.

    JEL classification:

    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods
    • C61 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Optimization Techniques; Programming Models; Dynamic Analysis
    • C63 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computational Techniques
    • C92 - Mathematical and Quantitative Methods - - Design of Experiments - - - Laboratory, Group Behavior
    • E12 - Macroeconomics and Monetary Economics - - General Aggregative Models - - - Keynes; Keynesian; Post-Keynesian; Modern Monetary Theory
    • E31 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Price Level; Inflation; Deflation
    • E52 - Macroeconomics and Monetary Economics - - Monetary Policy, Central Banking, and the Supply of Money and Credit - - - Monetary Policy

    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:spr:joevec:v:27:y:2017:i:5:d:10.1007_s00191-017-0511-y. 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    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.