Giter Club home page Giter Club logo

omadav / online_two_step_replication Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hartleylabnyu/online_two_step_replication

0.0 1.0 0.0 101.72 MB

Tasks, data, and analysis scripts for Nussenbaum, K., Scheuplein, M., Phaneuf, C., Evans, M.D., & Hartley, C.A. (2020). Moving developmental research online: comparing in-lab and web-based studies of model-based reinforcement learning. Collabra: Psychology.

R 8.52% MATLAB 1.07% HTML 26.17% JavaScript 63.69% CSS 0.55%

online_two_step_replication's Introduction

Moving developmental research online: comparing in-lab and web-based studies of model-based reinforcement learning

Tasks, data, and analysis scripts for Nussenbaum, K., Scheuplein, M., Phaneuf, C., Evans, M.D., & Hartley, C.A. (2020). Moving developmental research online: comparing in-lab and web-based studies of model-based reinforcement learning. Collabra: Psychology.

We collected data from 151 participants on two tasks: the two-step task, as described in Decker et al. (2016) and the Matrix Reasoning Item Bank (MaRs-IB) as described in Chierchia, Fuhrmann et al. (2019).

Tasks

Versions of both tasks, coded in jsPsych, can be found in the "tasks" folder. Please note: the tasks were designed to be hosted on Pavlovia. As such, they will not run locally unless the Pavlovia-specific code is commented out.

1. Developmental two-step task

This sequential decision-making task was originally described in Decker et al. (2016), and is based off of an adult task originally described in Daw et al. (2011). Participants make a series of sequential decisions to try to gain as much reward as possible. In this version, on each trial, participants first must select a spaceship, which then transports them to one of two planets where they can ask an alien for space treasure.

The jsPsych version of the task was originally coded by the Niv Lab at Princeton, and adapted by the Hartley Lab at NYU for use online with children, adolescents, and adults.

2. Matrix Reasoning Item Bank (MaRs-IB)

This abstract reasoning task was developed by and originally described in Chierchia, Furhmann et al. (2019). All stimuli used in the task are from the OSF repository set up by the original study authors.

Participants complete a series of reasoning puzzles within an 8-minute time limit. The jsPsych version of the task uses one of the color-blind friendly stimulus sets as well as the "minimal" distractors described in the original manuscript. It was coded by the Hartley Lab for use online with children, adolescents, and adults.

Data and analysis code

All raw data and analysis code can be found in the "analysis_code_and_data" folder. All analyses and results reported in the manuscript can be reproduced by running the R scripts (for all data summary statistics and regression analyses) and matlab code (for the computational modeling of the two-step task data).

The output folder contains all model results and generated figures.

For questions, please contact [email protected].

online_two_step_replication's People

Contributors

katenuss avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.