Published October 2, 2019 | Version v3
Dataset Open

Data and code for Fraser and Nettle, 'Hunger affects social decisions in a Public Goods Game but not an Ultimatum Game'

  • 1. Newcastle University


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.



Files (1.5 MB)

Name Size Download all
15.5 kB Download
20.5 kB Preview Download
997.9 kB Preview Download
432.3 kB Preview Download

Additional details


COMSTAR – The effects of early-life adversity on cognition: A comparative approach. 666669
European Commission