Multilevel Group Selection I

The Multilevel Group Selection I (MGS I) model simulates a population of contributing and non-contributing agents, competing on a social landscape for higher-value spots in an effort to withstand some selection pressure. It may be useful to both scientists and students in hypothesis testing, theory development, or more generally in understanding multilevel group selection.

Cleaned up parts of the code, introduced the initial-pressure parameter, and introduced the following plots: Mean payoff of agents, Between- vs. within-group selection, Percent of agents that are freeriders, Percent of agents exposed to within-group selection, Percent of agents exposed to between-group selection, Assortativity among contributors, and Assortativity among non-contributors.

This is a companion discussion topic for the original entry at