up Inquisit Language Reference

correctTarget attribute

Deprecated

The correctTarget attribute repeats a block until the specified accuracy criterion is met.

Member of

<block>

Syntax

/ correctTarget = (property, target, maxblocks)

Parameters

Name Type Description
property string The performance measure (e.g., "percentCorrect", "numCorrect").
target integer An integer indicating the target performance level. For example, if the property is percentCorrect, a value of 75 would set the threshold to 75% accuracy.
maxblocks integer An integer indicating the maximum number of iterations of the block to run before moving on, regardless of whether performance has reached the target. A value of 0 indicates there is no maximum.

Remarks

When a correctTarget is specified for a block, the block is repeated until the subject's performance accuracy reaches the specified target or until the block is run the maximum number of times. This command is useful for practice blocks where it is important that performance reaches a desired threshold before moving on to data collection blocks. The command can be combined with the latencytarget command to define both speed and accuracy thresholds.

Examples

In the following block repeats itself until either the subject responds correct on 90 of 100 trials, or the block is repeated 5 times, whichever comes first:

<block myBlock>
/ trials=[1-100=myTrial]
/ correctTarget=(numCorrect, 90, 5)
</block>

Copyright Millisecond Software, LLC. All rights reserved.