Schelling

Config

class whynot.simulators.schelling.Config[source]

Parameterization of the Schelling dynamics.

density = 0.8

Agent density

education_boost = -1.0

How much education changes homophily

education_pc = 0.0

What percentage of agent receive education

height = 10

Vertical size of the grid

homophily = 5.0

Agent propensity to live near other agents of the same type.

minority_pc = 0.2

Fraction of “minority” agents

width = 10

Horizontal size of the grid

Experiments

Causal experiments for the Schelling model.

whynot.simulators.schelling.experiments.RCT = <whynot.framework.GenericExperiment object>

RCT experiment to understand the effect of homophily reduction on total segregation.