EconPapers    
Economics at your fingertips  
 

The Ultimatum Game as a Paradigm for Learning Agents: A Python Adventure

Joaquim Margarido and Pedro Campos ()
Additional contact information
Joaquim Margarido: ISEP
Pedro Campos: University of Porto, FEP, LIAAD-INESC TEC

Chapter Chapter 7 in Machine Learning Perspectives of Agent-Based Models, 2025, pp 147-188 from Springer

Abstract: Abstract This chapter explores the application of Agent-Based Models (ABMs) in understanding economic crises and pandemics, employing a machine learning approach for description and prediction. Emphasizing Game Theory’s importance in ABMs, the Ultimatum game serves as a paradigm for learning agents. The game involves a proposer and responder, deciding on a split, with consequences based on acceptance or refusal. The implementation, conducted step by step in Python, initially establishes a baseline model with proposers using fair or unfair split strategies. Subsequently, two learning strategies, Fictitious Play and Reinforcement Learning, are introduced. Fictitious Play minimizes responder rejections, while Reinforcement Learning optimizes action policies through sequential decision processes. In the model, a crisis is triggered halfway through the defined iterations, that entails responders increasing their acceptance threshold by 50%, demonstrating the synergy between ABMs, Game Theory, and machine learning in economic modeling.

Date: 2025
References: Add references at CitEc
Citations:

There are no downloads for this item, see the EconPapers FAQ for hints about obtaining it.

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:spr:sprchp:978-3-031-73354-3_7

Ordering information: This item can be ordered from
http://www.springer.com/9783031733543

DOI: 10.1007/978-3-031-73354-3_7

Access Statistics for this chapter

More chapters in Springer Books from Springer
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().

 
Page updated 2026-05-29
Handle: RePEc:spr:sprchp:978-3-031-73354-3_7