Up next

jsPsych Tutorial - Setting up a Cognitive Science Experiment with Mixed Design and Instruction Test

2 Views· 03/09/24
wisdom
wisdom
3,230 Subscribers
3,230

This is a jsPsych tutorial on creating a cognitive science experiment with between and within-subject factors, and an instruction test that needs to be passed before subjects can proceed to the next phase of the experiment.

The experiment is a causal inference experiment with a 2 (observed sample size: small vs. large; between subjects) x 2 (observed effect size: small vs. large; within-subject in random order) design. An additional counterbalancing factor is "orientation of the rating scale".

Visit this GitHub-Page to download the code or run a demo of the experiment: https://simonstephan31.github.....io/cogsci_jspsych_tu

0:00 Intro to the tutorial
3:08 Overview
12:22 Demo of the experiment
22:58 Background info on the experiment
24:54 Creating the experiment in JsPsych
43:55 Implementing an optional "Demo Mode"
1:00:58 Confirmations and instructions
1:05:18 Setting up between-subjects conditions and adding them to the data
1:18:58 Instructions
1:21:15 Adding a comprehension/ instruction test using conditionals and a loop
1:38:45 Conditional and loop
1:46:38 (Note: it should be "return false" not just "false"; it's discussed later in the video)
1:48:15 Stopping rule for the loop
1:52:15 Testing the comprehension test
1:54:05 Creating the main part (test phase) of the study
1:54:19 Creating the different test screens
2:14:05 Implementing between subj.-cond. and random order of the test screens
2:15:14 Arrays and shuffled arrays (Note: I talk of "vectors" but it's "arrays")
2:25:09 Creating the final part of the study (getting demographic information etc.)
2:30:00 Concluding remarks and outlook

Show more

 0 Comments sort   Sort By


Facebook Comments

Up next