claCase / Income-Distribution

Income distribution of randomly transacting agents

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Income Distribution

A simulation of how the distribution of income of randomly transacting agents changes through time. The evolving distribution will resolve to a stationary distribution which is the Boltzmann-Gibbs distribution. Empirical evidence supports this hypothesis thereby closely approximating the actual national income distribution. The simulation is viewed as a statistical mechanics system where particles represent agents which release kinetic energy by colliding with other particles through random motion which represents money transactions. Link to the paper by Victor M. Yakovenko

Usage Example

python3 main.py --iter 1000000 --agents 200 --show True --save True 

Simulation Results

Distribution Evolution

alt text

Final Distribution

alt text

About

Income distribution of randomly transacting agents


Languages

Language:Python 100.0%