APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Agent Based Economic Model Comparison Documents

Main Document

Agent Based Economic Model Comparison 

written by Wolfgang Christian, Jan Tobochnik, and Harvey Gould

This EJS JavaScript model compares two agent-based economic models with different wealth transaction rules (algorithms) and compares the resulting wealth distributions. Both models consists of N agents (economic actors such as a person, family, or a company) that make economic decisions. Interacting agents are chosen randomly so that each agent will, on average, participate in two transactions per time step in our toy economy.

In the Yard Sale Model (also called the Asset Exchange Model), two agents A and B are chosen at random and goods are exchanged. If the price of the item is correct, neither agent gains or loses wealth but this is unrealistic. In a realistic transaction an agent can either pay too much or get a bargain so that one agent becomes slightly richer while the other agent becomes poorer.   In the Sharing Model the the two agents first combine their wealth but then redistribute their shared wealth unevenly.  

Run these two models and observe the wealth distribution as the system evolves. Does either algorithm produce an equitable distribution of wealth?

Published July 8, 2022
Last Modified July 8, 2022

OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book