Dataset Open Access
Fraser, Sam; Nettle, Daniel
Data and code for Fraser and Nettle 'Hunger affects social decisions in a multi-round Public Goods Game but not a single-shot Ultimatum Game'
The attached R script reproduces all analyses in the paper. There are three .csv data files used by the script: the dataset for experiment 1, the main dataset for experiment 2, and the latency data for experiment 2.
This version: April 2020.
Since the version of October 2019, we switched the order of presentation of the experiments, so the one previously referred to as experiment 2 is now experiment 1 and vice versa. Other new analyses and sections have also been added.
data analysis script.r