Millisecond Forums

Latencies

https://forums.millisecond.com/Topic34578.aspx

By dantassone9382 - 7/27/2022

Hello,

I have a quick question about how latencies are calculated in the Color Word Stroop with Keyboard Responding script. In the example below, the latency would be measured from the onset of "redincongruent". Is that correct?

Thank you for your help with this!

<trial p1redincongruent>
/ontrialbegin = [
    values.congruency = 2;
]
/ pretrialpause = 200
/ stimulustimes = [1=fixationcross, redreminder, greenreminder, bluereminder, yellowreminder, exitstudy; 500=redincongruent]
/ correctresponse = (parameters.keyred)
/ validresponse = (parameters.keyred, parameters.keygreen, parameters.keyblue, parameters.keyyellow)
/ errormessage = true(x, 400)
By Dave - 7/27/2022

dantassone9382 - 7/27/2022
Hello,

I have a quick question about how latencies are calculated in the Color Word Stroop with Keyboard Responding script. In the example below, the latency would be measured from the onset of "redincongruent". Is that correct?

Thank you for your help with this!

<trial p1redincongruent>
/ontrialbegin = [
    values.congruency = 2;
]
/ pretrialpause = 200
/ stimulustimes = [1=fixationcross, redreminder, greenreminder, bluereminder, yellowreminder, exitstudy; 500=redincongruent]
/ correctresponse = (parameters.keyred)
/ validresponse = (parameters.keyred, parameters.keygreen, parameters.keyblue, parameters.keyyellow)
/ errormessage = true(x, 400)

> In the example below, the latency would be measured from the onset of "redincongruent". Is that correct?

Yes, that is correct. Unless otherwise specified per /beginresponsetime or -frame, a trial starts accepting responses after its stimulus presentation sequence is finished. Latency is measured relative to this point in time, here: the onset of the "redincongruent" stimulus.

https://www.millisecond.com/support/docs/current/html/howto/responsetiming.htm
https://www.millisecond.com/support/docs/current/html/language/attributes/beginresponsetime.htm

By dantassone9382 - 7/28/2022

Thanks so much, Dave! That's very helpful