The select attribute determines the method by which individual items are selected for presentation on a given trial.
Applies to
<text> <picture> <video> <sound> <port>
Syntax
/ select = integeror
/ select = selectionmodeor
/ select = selectionmode(pool)or
/ select = dependency(stimulusname)or
/ select = dependency(countername)or
/ select = counternameParameters
| integer | An integer value. | ||||||||||||||||
| selectionmode | One of the following values:
|
||||||||||||||||
| dependency | One of the following values:
|
||||||||||||||||
| stimulusname | The name of a stimulus defined elsewhere in the script. | ||||||||||||||||
| countername | The name of a counter defined elsewhere in the script. | ||||||||||||||||
| pool | A set of numbers representing the selection pool. |
Remarks
The default value is noreplace.
Examples
On each trial, the following stimulus selects the vice president who served with the corresponding president:
<text vicepresidents>
/ items = vicepresidentitems
/ select = linked(presidents)
</text>
The following first selects Jefferson, then Adams, and then Washington:
<text presidents>
/ items = ("George Washington", "John Adams", "Thomas Jefferson")
/ select = sequence(3, 2, 1)
</text>
The following randomly selects mountain pictures and ensures that the selected item isn't the same as the currently selected valley item:
<picture moutains>
/ items = ("rainier.bmp", "baker.jpg", "sainthelens.gif")
/ select = noreplacenot(valleys)
</picture>
The following randomly selects sound files without replacement, except if an incorrect response is give on the trial:
<sound rock>
/ items = ("beatles.wav", "stones.wav", "thewho.wav")
/ select = noreplacecorrect
</sound>