The Sakoda-Schelling checkerboard model for racial segregation
Note: This example is work in progress.
In 1971, Thomas Schelling published a paper entitled "Dynamic models of segregation" He explored one specific mechanism of racial segregation, by simulating what is often considered to be the first agent-based model. He performed his simulations manually, using coins he moved around on a piece of paper, and made no effort to define unambiguous rules for them. What follows is one possible formalization of his model.
Historical note: A very similar model was published one month earlier by James Sakoda ("The checkerboard model of social interaction"), who had already worked on (but not published) similar agent-based models for more than 20 years. Sakoda's model was computationally more sophisticated (implemented in Fortran, with several parameters to adapt to different situations), and also more general. Historian Rainer Hegselmann (see "Thomas C. Schelling and James M. Sakoda: The Intellectual, Technical, and Social History of a Model") comes to the conclusion that it was in fact too sophisticated for its time, when few social scientists had programming competence or access to computers, and therefore it was quickly forgotten. Schelling's simpler coin-on-paper model caught on and became famous.
Uses:
-
-
-
-
-
-
-
-
Outline of the model
An agent represents an individual or a family that lives in a specific place in some territory. There are two kinds of agents, black and white. Agents like their neighborhood depending on which fraction of its population is of the same kind. If an agent is not happy in its place, it tries to move to another one. Simulations of this model show that even a slight preference for living among one's own kind leads to segregation, with large neigborhoods populated uniformly by agents of the same kind.
The territory
The territory is defined by a set of
Schelling's paper territory corresponds to a rectangular grid of cells defined by two integer coordinates:
The grid is finite, consisting of
Schelling moved his coins only along the rows and columns, like a rook in chess. The distance between two cells, defined as the minimum number of moves to get from one to the other, is thus:
with the absolute value
Example
Schelling's first example shown in the paper, in Fig. 7, has
Neighborhoods
The neighborhood of a cell in the bulk of the grid consists of its eight surrounding cells:
Cells on the edges of the territory have fewer neigbors:
Example
For the example of Schelling's Fig. 7, the neighborhood of the top-left corner is
and the neighborhood of the bottom-right corner is
A neighborhood of a cell on an edge contains five cells:
and a cell in the middle of the territory has eight neighbors:
Agents
There are two kinds of
Occupation
The
Simulation
A
The simulation is thus a series of successive states,
with
For the segregation model, the state describes the current
An iteration is a pass over the territory, row by row and, within each row, column by column:
Note: Schelling's article is less precise about the order in which the cells are processed: "Working generally from the upper left corner downward and to the right, ..." (page 156)
Moves
In each move, a single place is examined:
What happens during a move depends most importantly on its occupation:
If the place is empty, nothing changes:
If the place is occupied by agent that is happy there, nothing changes either:
Otherwise, the place is occupied by an unhappy agent, who tries to move to the nearest empty place that offers happiness. Such a move is equivalent to an exchange of the occupations of the two places:
with
and
Happiness
Happiness is binary. Agents are happy in a place, or they are not:
Happiness depends on the fraction of the population in the neighborhood of a place that is of the same color as the agent
An agent is happy if at least half of the other agents in its neighborhood are of the same color:
The number of places in a neighborhood occupied by an agent of some color is
with
The fraction is then computed as
Finding a place to move to
Schelling writes: "The rule of movement, then, is that an individual discontent with his own neighborhood moves to the nearest vacant spot that surrounds him with a neighborhood that meets his demands." (page 154/155)
This leaves two cases that need to be addressed:
1. There is no suitable destination at all.
2. There are several equally near places that satisfy the agent's criteria.
Initialization
The initial