MemoSimagent-based modeling studio

Library/Social sciences

Inequality and social mobility

People (turtles) live on a 2D grid with neighborhood quality (patches).

Run in your browser Download .nlogox Get MemoSim verified in NetLogo Web · or open in MemoSim
Read the assumptions first. The model itself says it is illustrative and uncalibrated. Treat its output as a demonstration of a mechanism, not an estimate of a real system.

An illustrative, uncalibrated NetLogo model exploring how income inequality and social mobility interact in a bounded population.

Mechanism

  • People (turtles) live on a 2D grid with neighborhood quality (patches).
  • Each tick, people earn income based on their education and the neighborhood quality where they live, plus random noise.
  • Education slowly improves with aspiration and neighborhood quality.
  • Social class is derived from income: poor (< 30), middle (30–70), rich (> 70).
  • Reproduction: people with higher income are more likely to have children. Children inherit a fraction of their parent's income and education, with noise, creating intergenerational mobility.
  • Bounded population: reproduction is capped at population-cap, and a small chance of leaving (death/emigration) keeps the population stable.
  • Movement: people occasionally move toward better neighborhoods, creating spatial sorting.

Controls

| Widget | Range | Default | Description | |--------|-------|---------|-------------| | initial-people | 20–200 | 80 | Number of people at setup | | population-cap | 50–300 | 150 | Maximum population size | | move-probability | 0–100% | 30% | Chance per tick that a person moves toward a better neighborhood |

Monitors and Plots

  • Population: current number of people.
  • Gini coefficient: measure of income inequality (0 = perfect equality, 1 = perfect inequality).
  • Poor % / Rich %: fraction of the population in the lowest/highest income class.
  • Inequality over time plot: Gini coefficient, poor %, and rich % over time.

Assumptions and Limitations

  • This is an illustrative model, not a scientifically validated result.
  • Income dynamics are simplified: no taxes, no labor market, no policy interventions.
  • Neighborhood quality is static (does not change over time).
  • Social mobility is modeled only through inheritance and noise; no explicit policy levers.
  • The Gini coefficient is computed over the current population, which changes over time.
  • The model is uncalibrated: parameters are chosen for demonstration, not to match real-world data.

Units

  • Income: arbitrary units (0–100+).
  • Education: arbitrary units (0–100).
  • Neighborhood quality: arbitrary units (0–100).
  • Gini coefficient: 0–1.
Field
Social sciences
Model file
Inequality-and-social-mobility-d3fdaf543cd0.nlogox · 42 KB
Controls
initial-people, population-cap, move-probability
Reporters
class-color, gini, mobility-index
Procedures
setup, setup-neighborhoods, go, move, earn, update-class, class-color, reproduce-or-leave, gini, mobility-index
Experiment
none pinned in this file
Documentation
5/7 · 304 words in the Info tab