Group: Awaiting Activation
Posts: 7,
Visits: 38
|
Hi,
I'm programming a cognitive bias modification task, where participants read a sentence, press spacebar, read a second sentence, press spacebar, read a third sentence, press spacebar, and are then presented with a word fragment. They need to press the spacebar when they know they word, see the word fragment again, and type in the missing letter. If they type in the wrong letter, the errormessage appears. However, the errormessage also appears when they press the spacebar for the last time. Not sure why and this shouldn't happen. Script is below. So in trial 4 I receive the errormessage, but it should only occur in trial 5 after a wrong response. One hypothesis is that the spacebar is still pressed in a little when trial 4 moves to trial 5, indicating a wrong response in trial 5. For example, adding a '1000 = nulltest' in both trial 4 and 5 (but not when added in either one alone) got rid of the problem (but not 500 or 10), but the reaction times to trials 4 and 5 are dependent variables in the experiment so I do not like to meddle with nulltest times to much. Any suggestions?
<trial 0> / stimulustimes = [1 = prac0.1, spatie; 1000 = nulltest] / correctresponse = (" ") </trial>
<trial 1> / stimulustimes = [1 = prac0.2, spatie; 1000 = nulltest] / correctresponse = (" ") </trial>
<trial 2> / stimulustimes = [1 = prac0.3, spatie; 1000 = nulltest] / correctresponse = (" ") </trial>
<trial 3> / stimulustimes = [1 = prac0.4, spatie; 1000 = nulltest] / correctresponse = (" ") </trial>
<trial 4> / stimulustimes = [1 = prac0.5, weetwoord] / correctresponse = (" ") / validresponse = (" ") </trial>
<trial 5> / stimulustimes = [1 = prac0.5, weetletter] / correctresponse = ("E", "e") / correctmessage = (pracprob1, 1000) / errormessage = true(error, 1000) / responsemode = anyresponse / branch = [if(trial.5.response != 18) trial.5] </trial>
<trial 6> / stimulustimes = [1 = prac0.6, bgnee, bgja] / validresponse = ("D", "d", "K", "k") / correctresponse = ("D", "d") / errormessage = true(error, 1000) / posttrialpause=2000 </trial>
|