Computational Model Library

From Schelling to Schools (version 1.0.0)

We propose here a computational model of school segregation that is based on an ABM model of Schelling-type for residential segregation.

Model description

Our world consists of agents, resources, and locations. The locations are defined by a two dimensional grid with 100x100 locations, embedded on a torus. Each location can hold a household (an agent) or a school (a resource), but some locations are left empty to allow for movement across neighborhoods or schools.
The geographical space is divided into Voronoi cells. To generate the Voronoi diagram we use randomly assigned locations for the schools as so-called “generator” points. Each cell contains exactly one school, located at its generator point. Each school has a maximum number of students, equal to the number of locations in its corresponding cell. Because each cell actually defines the geographic region that is nearer to the focal school than to any other school, we call it school neighborhood or school ‘catchment area’.
The model allows for two types of dynamical evolutions, which we call residential model and school model, respectively. In the residential model, each location defines a local residential neighborhood, modeled as a diamond-shaped neighborhood, approximating a circular region around the residential location. We consider that a location belongs to the local residential region if the distance between its location and the center of the local residential region is smaller or equal to the radius. When using a radius r = 1.5 location sizes, one finds the classical Moore neighborhood with exactly eight locations.
Each household belongs to one ethnic group and has exactly one child of school age. A household has an ethnic preference for the ethnic composition of its school or residential neighborhood. We use for the ethnic preference a single-peaked linear function that maps the local proportion of members of the same group on the attractiveness of the school or residential location for an agent. The ethnic preference is considered to be the same for all agents belonging to a specific ethnic group.
Agents can evaluate a school not only in terms of its ethnic composition, but also in terms of the distance between their residential location and the school’s location. The distance preference (D) represents the “nearness” of the school, implemented as the mirror image of the geographical distance between residential location of the household and the school. The distance preference is modeled as a linear falling function with its maximum value 1 at the agent’s residential location and minimum value 0 at a maximum distance, after which the function value remains null.
An agent’s utility U for the school chosen is obtained from a Cobb-Douglas utility function. Technically,
U = P^α * D^(1-α)
where α is a parameter which controls how much weight is put on the ethnicity preference (P) relative to the distance preference (D).
In the residential model, agents can change where they live and can choose between a set of available residential locations with known location and local ethnic composition. Each evolution cycle, a given number of agents are tested whether their satisfaction with respect to their local neighborhood is smaller than a given threshold (T). If their level of satisfaction is smaller than the given threshold, the agents will move to the first available location where their level of satisfaction with respect to the location’s local neighborhood is above a threshold. If no suitable location has been found within a maximum of tries, the agent will move to the first location where his satisfaction level becomes larger than his current satisfaction level.
In the school-choice model, the residential location is fixed and agents face the choice of sending their child to one out of a set of available schools with a known location and ethnic composition. The evolution of the system takes place in a similar way as for the residential model. If the agent’s level of satisfaction is smaller than the given threshold, the agent will move its child to the first schools with an available spot, where their level of satisfaction with respect to the distance and ethnic composition is above a threshold. If no suitable school has been found within the available schools, the agent will move its child to the first school where his level of satisfaction increases.
Source code
The model is provided in the form a Visual Studio Project created using Microsoft Visual C++ Express 2010. The entry point for the console application is schelling_model2.cpp.

Download Version 1.0.0
Version Submitter First published Last modified Status
1.0.0 V Stoica Sun Jun 23 09:40:41 2013 Sun Jun 23 09:40:41 2013 Published


This website uses cookies and Google Analytics to help us track user engagement and improve our site. If you'd like to know more information about what data we collect and why, please see our data privacy policy. If you continue to use this site, you consent to our use of cookies.