Main content

Home

Menu

Loading wiki pages...

View
Wiki Version:
**Tasks** The behavioral tasks used for both experiments in the paper are provided here and on the first author's GitHub (https://github.com/hayleydorfman/valence-control). They were written using Josh deLeeuw's jsPsych toolbox (http://www.jspsych.org/). Both tasks require communication with a PHP server in order to run. You can achieve this by running them on your own domain, or by using a tool like XAMPP to run the PHP server locally. **Data** The data for all of the participants included in both experiments are provided here. The variable names can be found in the headers of these csv files, and a key is provided below. The csvs provided have been minimally processed for ease of use specifically for model-fitting (i.e., single subject csvs have been concatenated, all output has been made numeric, and variables unnecessary for analyses have been removed). Code for the model fitting can be found here and on the first author's GitHub. These analyses require the mfit package developed by Sam Gershman (https://github.com/sjgershm/mfit). Many of the plotting and modeling functions were also developed by Sam Gershman. **Variable Key** **feedback:** reward feedback received (0 = negative outcome, 1 = positive outcome) **latent_agent:** did the latent agent intervene on this trial? (0 = no, 1 = yes) **subject:** unique, non-identifiable subject ID number **latent_prob:** probability of latent agent intervention for this version of the task **mine_prob_win_left:** probability of a positive outcome for the stimulus on the left side **mine_prob_win_right:** probability of a positive outcome for the stimulus on the right side **latent_guess:** button press for subject guess about latent agent intervention (0 = no, agent did not intervene, 1 = yes, agent did intervene) **block_num:** block order **trial_num:** trial number **condition:** condition (1 = adversarial, 2 = benvolent, or 3 = random) **subj_choice:** button press (1 = left, 2 = right) **Contact** For questions, please contact Hayley Dorfman (hdorfman@g.harvard.edu).
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.