Presenting stimulus pairs from different lists


Author
Message
SWIECHE
SWIECHE
New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)
Group: Forum Members
Posts: 3, Visits: 26
Hi!
I have a question regarding: presenting stimulus pairs from different lists. In the example Think/No-think script, the stimulus pair is presented as follows:

<text wordPair>
/ items = ("<%item.words.item(values.index_cueword)%> - <%item.words.item(values.index_recallword)%>")
/ fontstyle = ("Arial", parameters.wordHeight, true, false, false, false, 5, 1)
</text>

Here, the text contains items from the same list. I have changed this to the following as I am retrieving words from different lists:
<text Suppressioncues>
/ items = ("<%item.Suppressioncue.item(values.index_Suppressioncueword)%> - <%item.Suppressiontarget.item(values.index_Suppressionrecallword)%>")
/ fontstyle = ("Arial", parameters.wordHeight, true, false, false, false, 5, 1)
</text>

Unfortunately, this code is not running. This is why my question - is it not possible to index from different lists or is there something else that I am doing wrong?

Many thanks!
Dave
Dave
Supreme Being (911K reputation)Supreme Being (911K reputation)Supreme Being (911K reputation)Supreme Being (911K reputation)Supreme Being (911K reputation)Supreme Being (911K reputation)Supreme Being (911K reputation)Supreme Being (911K reputation)Supreme Being (911K reputation)
Group: Administrators
Posts: 11K, Visits: 65K
SWIECHE - 2/18/2021
Hi!
I have a question regarding: presenting stimulus pairs from different lists. In the example Think/No-think script, the stimulus pair is presented as follows:

<text wordPair>
/ items = ("<%item.words.item(values.index_cueword)%> - <%item.words.item(values.index_recallword)%>")
/ fontstyle = ("Arial", parameters.wordHeight, true, false, false, false, 5, 1)
</text>

Here, the text contains items from the same list. I have changed this to the following as I am retrieving words from different lists:
<text Suppressioncues>
/ items = ("<%item.Suppressioncue.item(values.index_Suppressioncueword)%> - <%item.Suppressiontarget.item(values.index_Suppressionrecallword)%>")
/ fontstyle = ("Arial", parameters.wordHeight, true, false, false, false, 5, 1)
</text>

Unfortunately, this code is not running. This is why my question - is it not possible to index from different lists or is there something else that I am doing wrong?

Many thanks!

It's perfectly possible to index from different lists. It's not possible to tell from the code snippet you posted what you're doing wrong.
- Are the values referenced -- values.index_Suppressioncueword and values.index_Suppressionrecallword -- properly defined?
- Are they actually properly set to different values in /ontrialbegin etc. logic?
- Are the <item> elements referenced, <item Suppressioncue> and <item Suppressiontarget>, properly  defined?

Dave
Dave
Supreme Being (911K reputation)Supreme Being (911K reputation)Supreme Being (911K reputation)Supreme Being (911K reputation)Supreme Being (911K reputation)Supreme Being (911K reputation)Supreme Being (911K reputation)Supreme Being (911K reputation)Supreme Being (911K reputation)
Group: Administrators
Posts: 11K, Visits: 65K
Dave - 2/18/2021
SWIECHE - 2/18/2021
Hi!
I have a question regarding: presenting stimulus pairs from different lists. In the example Think/No-think script, the stimulus pair is presented as follows:

<text wordPair>
/ items = ("<%item.words.item(values.index_cueword)%> - <%item.words.item(values.index_recallword)%>")
/ fontstyle = ("Arial", parameters.wordHeight, true, false, false, false, 5, 1)
</text>

Here, the text contains items from the same list. I have changed this to the following as I am retrieving words from different lists:
<text Suppressioncues>
/ items = ("<%item.Suppressioncue.item(values.index_Suppressioncueword)%> - <%item.Suppressiontarget.item(values.index_Suppressionrecallword)%>")
/ fontstyle = ("Arial", parameters.wordHeight, true, false, false, false, 5, 1)
</text>

Unfortunately, this code is not running. This is why my question - is it not possible to index from different lists or is there something else that I am doing wrong?

Many thanks!

It's perfectly possible to index from different lists. It's not possible to tell from the code snippet you posted what you're doing wrong.
- Are the values referenced -- values.index_Suppressioncueword and values.index_Suppressionrecallword -- properly defined?
- Are they actually properly set to different values in /ontrialbegin etc. logic?
- Are the <item> elements referenced, <item Suppressioncue> and <item Suppressiontarget>, properly  defined?

Here's an example that will randomly pair four cues and targets, so you can see that using different item lists works when all the relevant pieces are there:

<parameters>
/ wordHeight = 4%
</parameters>

<values>
/ index_Suppressioncueword = 0
/ index_Suppressionrecallword = 0
</values>

<item Suppressioncue>
/ 1 = "Cue A"
/ 2 = "Cue B"
/ 3 = "Cue C"
/ 4 = "Cue D"
</item>

<item Suppressiontarget>
/ 1 = "Target 1"
/ 2 = "Target 2"
/ 3 = "Target 3"
/ 4 = "Target 4"
</item>

<list cuenumbers>
/ poolsize = 4
</list>

<list targetnumbers>
/ poolsize = 4
</list>

<text Suppressioncues>
/ items = ("<%item.Suppressioncue.item(values.index_Suppressioncueword)%> - <%item.Suppressiontarget.item(values.index_Suppressionrecallword)%>")
/ fontstyle = ("Arial", parameters.wordHeight, true, false, false, false, 5, 1)
</text>

<trial exampletrial>
/ ontrialbegin = [
    values.index_Suppressioncueword = list.cuenumbers.nextindex;
    values.index_Suppressionrecallword = list.targetnumbers.nextindex;
]
/ stimulusframes = [1=Suppressioncues]
/ validresponse = (57)
</trial>

<block exampleblock>
/ trials = [1-4=exampletrial]
</block>
SWIECHE
SWIECHE
New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)
Group: Forum Members
Posts: 3, Visits: 26
This example script is exactly what i needed. It works now, thanks so much!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search