Main content

Home

Menu

Loading wiki pages...

View
Wiki Version:
**This is the project page for the manuscript "The suboptimality of perceptual decision makingn with multiple alternatives" (https://doi.org/10.1038/s41467-020-17661-z)** To see the preregistered document, go to '[Registrations][1]' page. Data and code for the project are available at '[Files][2]' page. Below is the manual for the data and code. ---------- The analysis codes are written in MATLAB. Please refer to the below guidline: @ System requirement The codes were run and tested on macOS (10.14.2) with MATLAB_R2016a @ Installation guide Data and analysis codes for each experiment are saved in separate folders. To run analysis codes correctly, please don't move or rename any files or folders. Set the current directory in MATLAB to where the running code is located. @ Instructions for use Four experiments data are saved in separate folders. Under each experiment folder, 'codes' folder contains m-files for running model fitting and 'data' folder contains behavioral raw data ('subject_responses' folder) and model fitting outputs ('fitting results' folder). 'behavioral_data_cleanup.m' file (dir: '/codes/analysis/organize behavioral responses/') outputs 'dataForModeling.mat'. To run model fitting, 'dataForModeling.mat' file is needed. To check final outputs from already saved fitting results, run 'Run_code.m' file (dir: '/codes/analysis/print results/'. To check instructions for reproduction, please read the license. @ Demo To check the model fitting process from the beginning, first make sure to have 'dataForModeling.mat' file under '/data/subject_responses/' directory. For Experiment 1-3, 'fitting_extended' folder is for the model that has more number of parameters (Exp1: 12; Exp2&3: 30). For Experiment 1-3, 'fitting_simple' folder is for the model that has reduced number of parameters (Exp1: 8; Exp2&3: 12). Run codes in the order: 1. **'step1_initial_parameter_fitting.m'**: Step1 code will give initial parameter fitting result. 2. **'step2_additional_parameter_fitting.m'**: Step2 code will generate more parameter fitting result using different initial parameter set. 3. **'step3_test_fitting.m'** (dir:'/codes/analysis/fitting_*/') The entire procedure will take a few hours to run on a "normal" computer. If you have any questions, write to Jiwon Yeon at jyeon@stanford.edu or wiseriveer531@gmail.com [1]: https://osf.io/dr89k [2]: https://osf.io/d2b9v/files
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.