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: January 22nd 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. The analyses are however largely unchanged.
data analysis script.r