|
Post by nadya10 on Jan 19, 2021 13:33:33 GMT
Hello there,
I am currently trying to create a simple experiment on Psytoolkit. The experiment is as follows:
- PRACTICE TRIAL: A participant will watch a video that is 2 minutes long. They will hear a separate sound that plays 3 times throughout the video. They must react to the sound by clicking the space bar, while watching the video. The experiment will save each RT for each time the sound plays. - REAL TRIAL: The participant will then watch a video that is 7 minutes long. They will hear a separate sound that plays 8 times throughout the video. They must react by clicking the space bar when watching the video. They must react to the sound by clicking the space bar, while watching the video. The experiment will save each RT for each time the sound plays.
There are four different videos each participant can watch in the real trial, meaning each person will undergo one of four conditions.
My questions are as follows:
1. Is it possible to save RTs of multiple reactions within one task? My practice trial is set up as follows:
task trial keys space show video practiceclip delay 5000 sound chime readkey 1 3000 delay 10000 sound chime readkey 1 3000 delay 15000 sound chime readkey 1 3000 delay 120000 clear 1 save TASKNAME RT STATUS
However, I only get one reaction saved.
2. Would it be possible to assign a participant a particular video/condition (after the practice trial) when they do the experiment? For example, is it possible for participants to type a number (1, 2, 3, 4) representing which video they will see later in the real trial?
Thank you very much!
|
|
silk
Experienced
Posts: 32
|
Post by silk on Jan 20, 2021 12:50:22 GMT
Hi there, 1. The RT variable only stores the response time of the last instruction. Instead of saving the RT variable, create a variable that corresponds to the response time after each readkey instruction. Then save those variables. keys space sound my_sound readkey 1 3000 set $rt1 RT delay 10000 sound my_sound readkey 1 3000 set $rt2 RT delay 10000 save $rt1 $rt22. Yes, it is possible to assign each participant to a specific condition. There are plenty of ways to select/assign a condition in PsyToolkit. You can do it randomly or let your participants choose the video they will see (using the readkey instruction and if conditions for instance). task choice keys a b readkey 1 5000 if KEY == 1 #1 is the first key you defined, i.e. "a" show video video1 fi if KEY == 2 #2 is the second key you defined, i.e. "b" show video video2 fi
Hope it'll help
|
|