IDEAS home Printed from https://ideas.repec.org/p/ams/ndfwpp/15-01.html
   My bibliography  Save this paper

Genetic Algorithm Learning in a New Keynesian Macroeconomic Setup

Author

Listed:
  • Hommes, C.H.

    (University of Amsterdam)

  • Makarewicz, T.A.

    (University of Amsterdam)

  • Massaro, D.

    (University of Amsterdam)

  • Smits, T.

    (SEO Economic Research)

Abstract

In order to understand heterogeneous behaviour 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 optimise 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 model is able to replicate the three different types of behaviour in the treatments using one GA model. The research furthermore shows that heterogeneous behaviour can be explained by an adaptive, anchor and trend extrapolating component and therewith contributes to the existing literature in the way that GA can be used to explain heterogeneous behaviour in LtF experiments with different types of complexity.

Suggested Citation

  • Hommes, C.H. & Makarewicz, T.A. & Massaro, D. & Smits, T., 2015. "Genetic Algorithm Learning in a New Keynesian Macroeconomic Setup," CeNDEF Working Papers 15-01, Universiteit van Amsterdam, Center for Nonlinear Dynamics in Economics and Finance.
  • Handle: RePEc:ams:ndfwpp:15-01
    as

    Download full text from publisher

    File URL: http://cendef.uva.nl/binaries/content/assets/subsites/amsterdam-school-of-economics/amsterdam-school-of-economics-research-institute/cendef/working-papers-2015/hommesmakarewiczmassarosmits_2014_ltfga_macro.pdf?1420795088061
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. 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.
    2. 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.
    3. 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.
    4. Oleksiy Kryvtsov & Luba Petersen, 2013. "Expectations and Monetary Policy: Experimental Evidence," Discussion Papers dp13-09, Department of Economics, Simon Fraser University.
    5. 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.
    6. 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.
    7. 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.
    8. 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.
    9. 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.
    10. 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.
    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. Arifovic, Jasmina, 1994. "Genetic algorithm learning and the cobweb model," Journal of Economic Dynamics and Control, Elsevier, vol. 18(1), pages 3-28, January.
    13. 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.
    14. Massaro, Domenico, 2013. "Heterogeneous expectations in monetary DSGE models," Journal of Economic Dynamics and Control, Elsevier, vol. 37(3), pages 680-692.
    15. 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.
    16. Arifovic, Jasmina, 1995. "Genetic algorithms and inflationary economies," Journal of Monetary Economics, Elsevier, vol. 36(1), pages 219-243, August.
    17. Sargent, Thomas J., 1993. "Bounded Rationality in Macroeconomics: The Arne Ryde Memorial Lectures," OUP Catalogue, Oxford University Press, number 9780198288695.
    18. 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.
    19. 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.
    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. Kukacka, Jiri & Sacht, Stephen, 2023. "Estimation of heuristic switching in behavioral macroeconomic models," Journal of Economic Dynamics and Control, Elsevier, vol. 146(C).
    3. 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.
    4. Hommes, Cars, 2018. "Behavioral & experimental macroeconomics and policy analysis: a complex systems approach," Working Paper Series 2201, European Central Bank.
    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. 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.
    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. 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. Makarewicz, Tomasz, 2021. "Traders, forecasters and financial instability: A model of individual learning of anchor-and-adjustment heuristics," Journal of Economic Behavior & Organization, Elsevier, vol. 190(C), pages 626-673.
    10. 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.
    11. 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.
    12. 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).
    13. 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.
    14. Cars Hommes, 2010. "The heterogeneous expectations hypothesis: some evidence from the lab," Post-Print hal-00753041, HAL.
    15. Makarewicz, Tomasz, 2019. "Traders, forecasters and financial instability: A model of individual learning of anchor-and-adjustment heuristics," BERG Working Paper Series 141, Bamberg University, Bamberg Economic Research Group.
    16. 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.
    17. Cars Hommes & Domenico Massaro & Isabelle Salle, 2019. "Monetary And Fiscal Policy Design At The Zero Lower Bound: Evidence From The Lab," Economic Inquiry, Western Economic Association International, vol. 57(2), pages 1120-1140, April.
    18. 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).
    19. Gerunov, Anton, 2014. "Критичен Преглед На Основните Подходи За Моделиране На Икономическите Очаквания [A Critical Review of Major Approaches for Modeling Economic Expectations]," MPRA Paper 68797, University Library of Munich, Germany.
    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

    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

    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:ams:ndfwpp:15-01. 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: Cees C.G. Diks (email available below). General contact details of provider: https://edirc.repec.org/data/cnuvanl.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.