Main content

Home

Menu

Loading wiki pages...

View
Wiki Version:
This wiki page contains information about the contents of this repository. @[toc] # Preprint # The pre-print version of the manuscript is available at INSERT HERE. # Preregistration # The experiment was preregistered using the OSF preregistration template. The registration document is available [here](https://osf.io/gkq7b). Please note, we needed to extend the cutoff date for data collection to try and meet our target sample of 35. We used the open-ended registration template for this extension. This update can be fond [here](https://osf.io/5a8bz). # Experiment Code # Experiment code is available in the <code>Experiment</code> folder. The experiment was developed with [jsPsych][1]. The experiment can be run by downloading the entire Experiment folder and opening the file <code>test.html</code> in a modern, up-to-date Web browser such as Firefox. The script includes EEG triggers that are sent via a parallel port using [this Chrome extension][2]. Installing the extension is not necessary to run the experiment, but is necessary for connection with an EEG acquisition device. Not included in the repository are scripts that we used for saving the data in a Web-accessible database. These scripts contain sensitive security information about our server. Without these scripts there will be an error at the very end of the experiment when saving the data is attempted. # Stimuli # Stimuli are within the <code>Stimuli</code> folder. All stimuli are original to Boutonnet & Lupyan (2015). # Data # There are two different kinds of data: behavioral and EEG. All data are stored on the Dataverse. We recommend going to the Dataverse site to download the data, because the OSF repository does not show the folder structure of the data. Within the Dataverse dataset, the <code>raw</code> subfolder contains data that was generated by the experiment software and EEG system with no modification of the output. The <code>generated</code> subfolder contains lightly-processed versions of these data. In particular, the data in <code>generated</code> is all in tidy format. ## Behavioral ## Raw behavioral data recorded by jsPsych are available here. The columns in this data set are: - <code>rt</code>: Response time in milliseconds. - <code>responses</code>: Text based response. - <code>trial_type</code>: A JSPsych parameter for indicating a certain type of stimulus and user input. Note that data was only collected for trial type image-keyboard-response. - <code>trial_index</code>: Indicates the jsPsych trial; resets for each subject. - <code>time_elapsed</code>: Amount of time that has passed since the beginning of the experiment, resets with each subject. - <code>internal_node_id</code>: Representation of the trial's position in the experiment. trial_index is a more useful representation of this for this dataset. - <code>match_key</code>: The designated key for each participant to indicate a match. This was either "l" or "a" and remained constant throughout the experiment for each participant. - <code>participant_id</code>: The numerical ID of the participant, which matches the values in the demographic and EEG data. - <code>stimulus</code>: The stimulus text or image/audio file. - <code>key_press</code>: The ASCII code for the key pressed by the user to indicate match or mismatch. - <code>block</code>: Indicates which block of the testing phase the participant is on. - <code>stim_onset</code>: Meaningless measurement of stimulus appearance time. - <code>match_type</code>: Whether the sound cue category shown matches the image category in that trial. Only applicable for rows where the image was shown. - <code>image_category</code>: Indicates image category: car, cat, cow, dog, frog, gun, motorcycle, rooster, train, or whistle. - <code>sound_category</code>: Indicates the sound category, same type codes as the image category. - <code>audio_type</code>: Indicates whether the participant will be presented with a sound or label. - <code>phase</code>: Indicated whether participant is in the practice or testing phase. - <code>correct</code>: Indicates whether the participant responded correctly to the acceptable/unacceptable judgment. Value is computed from raw data. ## EEG ## The EEG data files in raw are the output of the post data collection processing steps that we report in the manuscript. These data have already been segmented and averaged. Each file is the average waveform for one subject in one of the four possible conditions. These data were aggregated, filtered to remove electrodes that were not part of our preregistered analysis, and converted to tidy format. The tidy data file is available here. We also recorded the number of artifact-free segments that were averaged for each subject in each condition in this spreadsheet. We used this data to determine a cutoff for the minimum number of good segments that we required to include the subject in data analysis. See the manuscript for details. # Analysis # The analysis file is available as an R Notebook here. To run the analysis, download the entire <code>Data & Analysis</code> folder, open the R Project file <code>FILENAME.Rproj</code> with R Studio, and then run analysis.Rmd. The compiled notebook can be downloaded here. [1]: https://www.jspsych.org/ [2]: https://github.com/rivasd/jsPsychHardware
OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
Accept
This website relies on cookies to help provide a better user experience. By clicking Accept or continuing to use the site, you agree. For more information, see our Privacy Policy and information on cookie use.
Accept
×

Start managing your projects on the OSF today.

Free and easy to use, the Open Science Framework supports the entire research lifecycle: planning, execution, reporting, archiving, and discovery.