Passer au contenu principal
ARCHE
  • Accueil
  • Calendrier
  • Outils enseignant
    Gestion des cours et des inscriptions Offre de formation autour d'ARCHE
    Déclarer une évaluation à distance
  • Besoin d'aide ?
    Je suis enseignant Je suis étudiant
  • Plus
Français ‎(fr)‎
Deutsch ‎(de)‎ English ‎(en)‎ Español ‎(es)‎ Français ‎(fr)‎
Vous êtes connecté anonymement
Connexion
ARCHE
Accueil Calendrier Outils enseignant Replier Déplier
Gestion des cours et des inscriptions Offre de formation autour d'ARCHE Déclarer une évaluation à distance
Besoin d'aide ? Replier Déplier
Je suis enseignant Je suis étudiant
  • Cours
  • Participants
  • Notes
  • Tout déplier Tout replier
  1. Mon espace
  2. AT2.MDD 57 – Scientific programming with Julia
  3. Second in-person lesson exercise
  4. Shelling Segregation Model Exercise

Shelling Segregation Model Exercise

Conditions d’achèvement
This exercise requires only Julia general programming skills.
The task is to implement the Shelling Segregation Model, a classical agent-based model in the social sciences, that introduced the concepts of emerging macro behaviours and tipping points, leading to its author (Thomas Schelling) receiving the Nobel prize in Economics in 2005.
It is one of the very first results obtained from running simulations, especially in the social sciences.
The world is modelled as a gridded space inhabited by two groups (in that period racial and segregation questions concerning the cohabitation of "blacks" and "whites" were topical).
Each group has a preference to live in a neighbourhood inhabited by agents of their own type, with a certain "tolerance". When the share of agents of its own type in the neighbourhood falls below this "tolerance" level, the agent tries to relocate somewhere with a higher share of its own type of agents.
The main result of the paper was that even a relatively mild preference for the presence of similar agents would have led to a segregated world and that there was a specific threshold level (between 30% and 40%) that was driving these two completely different outputs, i.e. a "tipping point".

Download and unzip the attached folders.
Within the folders, find the "shellingSegregationModel.jl" file where detailed instructions and the skeletons of the solutions are provided.
Edit that file with your own code and please upload them here when you are done.


  • shellingSegreGationModel_resolution.jl shellingSegreGationModel_resolution.jl
    7 avril 2022, 11:33:09
  • shellingSegregationModel.zip shellingSegregationModel.zip
    6 avril 2022, 14:44:59
◄ Quiz 1.13: Performances, parallel computation
SPJ - 02 JULIA2 - 1A: Introduction and data import (18:28) ►
Vous êtes connecté anonymement (Connexion)
Mentions légales