Skip to content

Latest commit

 

History

History

el_farol

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

El Farol

This folder contains an implementation of El Farol restaurant model. Agents (restaurant customers) decide whether to go to the restaurant or not based on their memory and reward from previous trials. Implications from the model have been used to explain how individual decision-making affects overall performance and fluctuation.

The implementation is based on Fogel 1999 (in particular the calculation of the prediction), which is a refinement over Arthur 1994.

How to Run

Launch the model: You can run the model and perform analysis in el_farol.ipynb. You can test the model itself by running pytest tests.py.

Files

Further Reading

  1. W. Brian Arthur Inductive Reasoning and Bounded Rationality (1994) https://www.jstor.org/stable/2117868
  2. D.B. Fogel, K. Chellapilla, P.J. Angeline Inductive reasoning and bounded rationality reconsidered (1999)
  3. NetLogo implementation of the El Farol bar problem https://ccl.northwestern.edu/netlogo/models/ElFarol