This repository contains the code to replicate the experiments and results presented in the paper "Herd Behaviour in Public Goods Games".
The "Code" folder contains the code of the four models in the paper as well as the code to replicate all the figures in the paper.
The "Simulation Data" folder contains the raw data resulting from the simulations. The data is organised in 5 columns:
- round: Public Goods Game round
- contribution: categorical in {0,2,4,6,8,10} that represents different contributions to the public goods, from nothing to all (see details in the paper)
- frequency: frequency of agents choosing to contribute the quantity in the "contribution" column
- mean: average contribution of the group in the round (round column)
- replicationNumber: replication identifier
The paper is not published in a scientific journal yet. The preprint version can be accessed in Arxiv https://doi.org/10.48550/arXiv.2401.08428
This repository is distributed under the MIT License. See the LICENSE file for details.