selectionmode in the trial element


Author
Message
vz29
vz29
Distinguished Member (5K reputation)Distinguished Member (5K reputation)Distinguished Member (5K reputation)Distinguished Member (5K reputation)Distinguished Member (5K reputation)Distinguished Member (5K reputation)Distinguished Member (5K reputation)Distinguished Member (5K reputation)Distinguished Member (5K reputation)
Group: Awaiting Activation
Posts: 72, Visits: 192
Lovely.

Is there another option then.

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K
As the documentation details,

Syntax

/ stimulustimes = [time = stimulusname, stimulusname, ...; time = stimulusname, ...]

or

/ stimulustimes = [time = list.name]

or

/ stimulustimes = [time = selectionmode(stimulusname, stimulusname, stimulusname, ...)]

Parameters

timeA non-negative integer specifying the time in milliseconds relative to the beginning of the sequence.
stimulusnameThe name of a stimulus defined elsewhere in the script to be presented on the specified frame.
list.nameThe name of a list that selects the stimulus to be presented on the specified frame.
selectionmodeOne of the following values:
ValueDescription
noreplaceRandomly selects without replacement which stimulus in the group to present.
replaceRandomly selects with replacement which stimulus in the group to present.
sequencePresents each stimulus in the group.
i.e., you need to *specify an actual seletionmode* as

in

/stimulustimes = [100=noreplace(a,b); ...]

Also, you cannot specify several selection modes for the same point in time, which is what your syntaxt amounts to:

/stimulustimes = [0=selectionmode(f_image, m_image), q1text_like, leftyes_reminder, rightno_reminder, leftA_reminder, rightL_reminder]

would actually translate to

/stimulustimes = [0=noreplace(f_image, m_image), sequence(q1text_like, leftyes_reminder, rightno_reminder, leftA_reminder, rightL_reminder)]

which is not allowed.
vz29
vz29
Distinguished Member (5K reputation)Distinguished Member (5K reputation)Distinguished Member (5K reputation)Distinguished Member (5K reputation)Distinguished Member (5K reputation)Distinguished Member (5K reputation)Distinguished Member (5K reputation)Distinguished Member (5K reputation)Distinguished Member (5K reputation)
Group: Awaiting Activation
Posts: 72, Visits: 192
Hi,

I want to present stimuli randomly selected from two lists. However, when I run the following syntax, I receive an error message saying "could not locate element 'selectionmode'".

<trial q1_like>
/ ontrialbegin = [values.itemnumber=list.itemlist.nextvalue]
/ stimulustimes = [0=selectionmode(f_image, m_image), q1text_like, leftyes_reminder, rightno_reminder, leftA_reminder, rightL_reminder]
/ inputdevice = keyboard
/ validresponse = ("A" "L")
</trial>


I thought that this was the correct syntax based on the information available in the Inquisit help documentation:

stimulustimes attribute

The stimulustimes attribute specifies the stimulus presentation sequence for a trial in terms of time in milliseconds.

Applies to

<likert> <openended> <trial>

Syntax

/ stimulustimes = [time = stimulusname, stimulusname, ...; time = stimulusname, ...]

or

/ stimulustimes = [time = list.name]

or

/ stimulustimes = [time = selectionmode(stimulusname, stimulusname, stimulusname, ...)]


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search