up Inquisit Language Reference

rwlatencymetric attribute

The rwlatencymetric attribute specifies whether to adjust the response window based on the subject's minimum, maximum, mean or median response latency.

Member of

<response>

Syntax

/ rwlatencymetric = latencymetric

Parameters

latencymetric One of the following metrics:

Value Description
mean The average response latency for the block.
median The median response latency for the block.
min The minimum response latency for the block.
max The maximum response latency for the block.

Remarks

The default setting is mean. See Adjusting the Response Window for details.

Examples

The following response defines a response window with an initial center of 500 ms and width of 150 ms. A black exclamation point appears on the screen during the window. If the response is in the window, it turns green and remains on the screen for 300 ms. Otherwise it turns red. The window is incremented by 75 ms if the mean latency for the block is greater than the current center + 50 ms and the percent correct is less than 60%. The window is decremented if the mean latency for the block is 50 ms earlier than the window center and the percent correct is greater than or equal to 80%. The maximum window center 1000 ms and the minimum is 200 ms:

<response windowprocedure>
/ mode = window
/ rwcenter = 500
/ rwwidth = 150
/ rwinccondition = [(60, 50)]
/ rwdeccondition = [(80, -50)]
/ rwincunit = 75
/ rwdecunit = 75
/ rwmincenter = 200
/ rwmaxcenter = 1000
/ rwlatencymetric = mean
/ rwstimulus = blackexclamationpoint
/ rwhitstimulus = greenexclamationpoint
/ rwmissstimulus = redexclamationpoint
/ rwhitduration = 300
</response>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.