This OSF project shares the experimental codes and data for the experiments reported in the paper:
"No evidence that negative emotion boosts visual working memory precision".
**Experimental codes**
In the folder containing the experimental codes, you can find the **Matlab** code to run studies E1, E2a, E2b, E3, and E5 which were programmed by A. Souza. These experiments were ran in Matlab 2016 using the Psychophysics toolbox-3. <br>
Note that there is a folder called **IAPS_BW** (E1 and E2), **images** (E3) and **Pictures** (E5) that should contain the images of the IAPS used in the experiment. We are not allowed to publicly share these images. Hence in order to reproduce the experiment, researchers should get a hold on the IAPS database and include the respective images to these folders.
Inside the folder called "**Functions**" in each experiment, there is a list of the IAPS pictures used in each experiment. These are also summarized in the doc file included in the storage folder.
Lastly, instructions on how to perform the task are displayed within the experiments. The instructions are provided in German (E1-E3) or Portuguese (E5). The instructions were created in power point, saved as tif images, and displayed within the matlab code (these are defined and called in the InstructionScreen.m file inside of the Functions folder).
For Experiment 6, we programmed the task in lab.js which is free, and uses HTML and JAVASCRIPT. This experiment was preregistered and access to the code to run it is provided with the preregistration.
**Data & Analysis Scripts**
The experimental data was analyzed in R and Rstudio. We are providing the data of each experiment (as txt files or RDS) and the R script to read the data. Within the r-script, the data-book is provided.
Any questions, please contact a.souza@psychologie.uzh.ch