Right now our PsychoPy experiment has no information about what to use when filling the variables, so we’ll have to give it that information. Make sure to use a button box for your actual experiment! However, you cannot capture reliable reaction time data with these inputs because of their inherent latency. NOTE: If you don’t have access to the button boxes in the lab, you can use a keyboard or mouse component instead for testing purposes. To do this, check the “Store correct” box and add “$rrectAns” to the Correct Answer $ field. We also want to store information about whether or not the participant responded correctly. Make sure that “Force end of routine” is checked. On our button boxes, 2 references the red button and 4 references the green button. Change Stop – duration (s) field to blank and change the Allowed keys $ field to “2,4”. Next, we’ll add a Cedrus Button Box component to measure the response time (Make sure you’ve followed the instructions for adding the Button Box extension if you’re running it for the first time!). Strings beginning with a “$” are variables and since we’ve changed “constant” to “set every repeat”, the variable will be updated every repeat. The important step in this process is to add “$word” to the text field and change the “constant” in the drop-down window beside the text field to “set every repeat”. In the trial routine, add a text component with a blank stop duration. This is the template that each of the individual repetitions will be made from. Instead, we’ll utilize loops.įirst, we’ll make the baseline routine which we’ll call “trial”. In theory we could randomize the list ourselves and then create individual routines for each word, but that would quickly become tedious and not easily replicable. ![]() Let’s also imagine that we only have 10 test words: 5 real (blue, green, yellow, red, orange) and 5 fake (thorpt, rairn, coan, flatch, meeg). In most cases, the task of reacting to the fake words is actually a ruse, and what the investigator is interested in is actually the differences in response time among the real world stimuli.įor the current example, let’s just imagine that we’re only interested in the difference between reaction time for the real and fake words. In a lexical decision task, participants are often presented written word stimuli and asked to determine if they are real words or fake words. Next we’ll discuss using loops and trials with a practical example by making a lexical decision task.
0 Comments
Leave a Reply. |