color-ref
Pre-registrations for both experiments can be found on osf
Reproducing experiments
Both experiments were designed to run online and require node.js
to be installed.
-
Experiment 1 can be run by navigating to
experiments/experiment1
, runningnpm install
to install dependencies, then runningnode app.js
to launch the experiment. Then go tohttp://localhost:8887/word-color-priors.html
in your local browser. This experiment uses jsPsych. -
Experiment 2 can be run by following the same procedure in the
experiments/experiment2
subdirectory and then going tohttp://localhost:8888/forms/consent.html
in two browser tabs (to play as both speaker and listener.)
Reproducing analyses
To reproduce analyses, first unzip the raw data, which are stored in ./data/norming/
and ./data/refGame
. Then navigate to the analysis notebooks experiment1.Rmd
and experiment2.Rmd
, respectively.