The great candy swap experiment :)
This replication archive contains all data and code to replicate our candy swap analyses. Every participant was given a random assortment of 6 or 7 candies. They were asked to rate the happiness of their selection on a scale from 1-10 (trade 0. They were then allowed to trade with one participant and rate their happiness with their selection (trade 1). They were then allowed to trade with the whole group and rate their happiness with their selection (trade 3). n=6
April Clyburne-Sherin, MS, [email protected]
/code/run
The Bash script file that generates 2 plots of happiness and renders the RMarkdown file to an html file as results.
/code/fig1_happiness_of_individuals.py
Line plot of happiness score with respect to each candy trade transaction
/code/fig2_happiness_of_individuals.py
Boxplot of happiness score distributions after each candy trade transaction
/code/candy_trade.ipynb
Notebook file used to generate candy_trad.html in the results
/code/LICENSE
License used for the code files
/data/data.csv
See codebook-for-data.md for details
/data/codebook-for-data.md
Data collection procedure and metadata
/data/LICENSE
License used for the data files
/code/Reproducibility best practices/
Contains articles and books of reproducibility best practices in pdf.
The following packages were used to produce the results:
see /results/requirements.txt
Authors, publication, DOI, of datasets referenced.