This repository includes Python functions and methods to reproduce the model results shown in Figure 4 of the manuscript "Timing uncertainty in collective risk dilemmas encourages group reciprocation and polarization".
To install all required packages run:
python -m venv egtenv
source egtenv/bin/activate
pip install -r requirements.txt
You will also need to download the EGTtools python package. Put this package under the same directory as the EvoCRD files. In the future, EGTtools will be available at PyPi.
Or with anaconda:
conda create --name egtenv
conda activate egtenv
pip install -r requirements.txt
Finally, to make your virtual environment visible to jupyter:
python -m ipykernel install --user --name=egtenv
You may cite this repository in the following way:
@software{elias_fernandez_2020_4065542,
author = {Fernández Domingos, Elias},
title = {Socrats/EvoCRD: iScience},
month = oct,
year = 2020,
publisher = {Zenodo},
version = {v0.1},
doi = {10.5281/zenodo.4065542},
url = {https://doi.org/10.5281/zenodo.4065542}
}
To cite EGTtools use:
@misc{Fernandez2020egttools_rep,
author = {Fernández Domingos, Elias},
title = {EGTTools: Toolbox for Evolutionary Game Theory},
year = {2020},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/Socrats/EGTTools}},
doi = {10.5281/zenodo.3687125}
}
And our paper as:
@article{Fernandez2020timing,
title={Timing uncertainty in collective risk dilemmas encourages group reciprocation and polarisation},
author={Fern{\'{a}}ndez Domingos, Elias and Grujić,
Jelena and C. Santos, Francisco and C. Burguillo,
Juan and Kirschteiger, Georg and Lenaerts, Tom},
journal={iScience},
year={In Review 2020},
}