Skip to content

aprilcs/candy_trade

Repository files navigation

Title

The great candy swap experiment :)

Description

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

Contact

April Clyburne-Sherin, MS, [email protected]

File Overview

Code files

-Master script

/code/run
The Bash script file that generates 2 plots of happiness and renders the RMarkdown file to an html file as results.

-Python scripts

/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

-Jupyter Notebook file

/code/candy_trade.ipynb
Notebook file used to generate candy_trad.html in the results

-Licensefile

/code/LICENSE
License used for the code files

Data files

/data/data.csv
See codebook-for-data.md for details

-Codebooks

/data/codebook-for-data.md
Data collection procedure and metadata

-Licensefile

/data/LICENSE
License used for the data files

Other materials

/code/Reproducibility best practices/
Contains articles and books of reproducibility best practices in pdf.

Additional Information

The following packages were used to produce the results:
see /results/requirements.txt

Citations

Authors, publication, DOI, of datasets referenced.

About

Tutorial for researchers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published