Computational Model Library

Agent-Based Model for the Evolution of Ethnocentrism (version 1.1.0)

This is an implementation of an agent based model for the evolution of ethnocentrism. While based off a model published by Hammond and Axelrod (2006), the code has been modified to allow for a more fine-grained analysis of evolutionary dynamics.

In brief, the model consists of a grid populated by agents, each assigned one of four possible arbitrary tags. Agents engage in a one-shot prisoner’s dilemma game with neighboring agents and behave based on predetermined strategy phenotypes towards agents with similar and different tags. Cooperation incurs a slight cost to oneself and accords a respectively higher benefit to the agent being cooperated with. The sum of all costs and benefits for a given agent influences their probability of reproducing an offspring with identical strategy traits in a neighboring empty cell at the end of each cycle. A cycle terminates when all agents have engaged in a one-shot prisoner’s dilemma game with all neighboring agents. (see appendix here for a detailed description)

The simulation allows four possible strategies:

E (ethnocentric) - a strategy of preferential cooperation with one’s ingroup

H (humanitarian) - a strategy of indiscriminate cooperation with all agents

S (selfish) - a strategy of constant non-cooperation

T (traitorous) - a strategy whereby agents cooperate with their outgroup but not their ingroup

Hammond and Axelrod found that ethnocentrism evolved under a variety of parameter settings. We produced this model to better understand the conditions under which ethnocentrism arose. Our discovery of early periods of humanitarian dominance before the ascendancy of ethnocentrism proved particularly intriguing. What are the factors that mitigate the early rise of humanitarians? And what are the factors that mitigate their capitulation to ethnocentrics?

Version Submitter First published Last modified Status
1.1.0 Max Hartshorn Mon Mar 26 18:47:26 2012 Sat Apr 27 20:18:21 2013 Published
1.0.0 Max Hartshorn Sat Mar 24 21:34:18 2012 Sat Apr 27 20:18:21 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.