fixed randomized trial order


Author
Message
Sophie_P
Sophie_P
Associate Member (276 reputation)Associate Member (276 reputation)Associate Member (276 reputation)Associate Member (276 reputation)Associate Member (276 reputation)Associate Member (276 reputation)Associate Member (276 reputation)Associate Member (276 reputation)Associate Member (276 reputation)
Group: Forum Members
Posts: 3, Visits: 14
Hi everyone!
I'm relatively new to Inquisit and I’m stuck right now. We’re using the SI-IAT (self-injury) as a base for our project and I have adjusted it to our needs as I was able and now I’m stuck. We need a fixed randomized trial order in all blocks, so that every participant gets the same IAT with the same order of stimuli, but I don’t know how to accomplish that. Do I have to run the blocks one time with the noreplace function and then work with lists or is there an easier way to accomplish this?

Thanks ahead for the help!


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: 104K
Sophie_P - Saturday, September 8, 2018
Hi everyone!
I'm relatively new to Inquisit and I’m stuck right now. We’re using the SI-IAT (self-injury) as a base for our project and I have adjusted it to our needs as I was able and now I’m stuck. We need a fixed randomized trial order in all blocks, so that every participant gets the same IAT with the same order of stimuli, but I don’t know how to accomplish that. Do I have to run the blocks one time with the noreplace function and then work with lists or is there an easier way to accomplish this?

Thanks ahead for the help!


You'll want to enter your items in the order you wish to administer, and then set the stimulus elements' /select attribute to sequence. In addition, you'll want to define a fixed trial sequence in your <block>s by using the sequence() selection mode, instead of noreplace().

Sophie_P
Sophie_P
Associate Member (276 reputation)Associate Member (276 reputation)Associate Member (276 reputation)Associate Member (276 reputation)Associate Member (276 reputation)Associate Member (276 reputation)Associate Member (276 reputation)Associate Member (276 reputation)Associate Member (276 reputation)
Group: Forum Members
Posts: 3, Visits: 14
Thanks for the reply!
How would you implement that if you have different correct responses for different items and two categories in which they have to be sorted? For example below is the 2. block, but with a random item selection. What would I have to change to assign a fixed order for every paricipant?

<item attributeAlabel>
/1 = "ICH"
</item>

<item attributeA>
/1 = "Ich"
/2 = "Mir"
/3 = "Selbst"
/4 = "Mein"
/5 = "Mich"
/6 = "Eigen"
</item>

<item attributeBlabel>
/1 = "ANDERE"
</item>

<item attributeB>
/1 = "Sie"
/2 = "Euch"
/3 = "Ihr"
/4 = "Andere"
/5 = "Eure"
/6 = "Fremd"
</item>

<text attributeA>
/ items = attributeA
/ fontstyle = ("Arial", 5%)
/ txcolor = green
</text>

<text attributeB>
/ items = attributeB
/ fontstyle = ("Arial", 5%)
/ txcolor = green
</text>

<text attributeAleft>
/ items = attributeAlabel
/ valign = top
/ halign = left
/ position = (5%, 5%)
/ txcolor = green
/ fontstyle = ("Arial", 5%)
</text>

<text attributeBright>
/ items = attributeBlabel
/ valign = top
/ halign = right
/ position = (95%, 5%)
/ txcolor = green
/ fontstyle = ("Arial", 5%)
</text>

<trial attributeA>
/ validresponse = ("E", "I")
/ correctresponse = ("E")
/ stimulusframes = [1 = attributeA]
/ posttrialpause = 250
</trial>

<trial attributeB>
/ validresponse = ("E", "I")
/ correctresponse = ("I")
/ stimulusframes = [1 = attributeB]
/ posttrialpause = 250
</trial>

<block attributepractice>
/ bgstim = (attributeAleft, attributeBright)
/ trials = [1=instructions;2-25=noreplace(attributeA, attributeB)]
/ errormessage = true(error,200)
/ responsemode = correct
</block>

Thanks again!

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: 104K
Sophie_P - Monday, September 10, 2018
Thanks for the reply!
How would you implement that if you have different correct responses for different items and two categories in which they have to be sorted? For example below is the 2. block, but with a random item selection. What would I have to change to assign a fixed order for every paricipant?

<item attributeAlabel>
/1 = "ICH"
</item>

<item attributeA>
/1 = "Ich"
/2 = "Mir"
/3 = "Selbst"
/4 = "Mein"
/5 = "Mich"
/6 = "Eigen"
</item>

<item attributeBlabel>
/1 = "ANDERE"
</item>

<item attributeB>
/1 = "Sie"
/2 = "Euch"
/3 = "Ihr"
/4 = "Andere"
/5 = "Eure"
/6 = "Fremd"
</item>

<text attributeA>
/ items = attributeA
/ fontstyle = ("Arial", 5%)
/ txcolor = green
</text>

<text attributeB>
/ items = attributeB
/ fontstyle = ("Arial", 5%)
/ txcolor = green
</text>

<text attributeAleft>
/ items = attributeAlabel
/ valign = top
/ halign = left
/ position = (5%, 5%)
/ txcolor = green
/ fontstyle = ("Arial", 5%)
</text>

<text attributeBright>
/ items = attributeBlabel
/ valign = top
/ halign = right
/ position = (95%, 5%)
/ txcolor = green
/ fontstyle = ("Arial", 5%)
</text>

<trial attributeA>
/ validresponse = ("E", "I")
/ correctresponse = ("E")
/ stimulusframes = [1 = attributeA]
/ posttrialpause = 250
</trial>

<trial attributeB>
/ validresponse = ("E", "I")
/ correctresponse = ("I")
/ stimulusframes = [1 = attributeB]
/ posttrialpause = 250
</trial>

<block attributepractice>
/ bgstim = (attributeAleft, attributeBright)
/ trials = [1=instructions;2-25=noreplace(attributeA, attributeB)]
/ errormessage = true(error,200)
/ responsemode = correct
</block>

Thanks again!

First, as I said, set the stimulus elements /select attributes to sequential selection per


<item attributeA>
/1 = "Ich"
/2 = "Mir"
/3 = "Selbst"
/4 = "Mein"
/5 = "Mich"
/6 = "Eigen"
</item>

...

<item attributeB>
/1 = "Sie"
/2 = "Euch"
/3 = "Ihr"
/4 = "Andere"
/5 = "Eure"
/6 = "Fremd"
</item>

<text attributeA>
/ items = attributeA
/ fontstyle = ("Arial", 5%)
/ txcolor = green
/ select = sequence
</text>

<text attributeB>
/ items = attributeB
/ fontstyle = ("Arial", 5%)
/ txcolor = green
/ select = sequence
</text>

The items in <item attributeA> and <item attributeB> will be sampled in the order given. I.e. "Ich" -> "Mir" -> "Selbst" ... for attribute A. If you want a different order, change the <item> element accordingly.

Second, you need to decide in which fixed order you want to run attrbuteA and attributeB <trial>s by editing the <block> element's /trials attribute. For example,

<block attributepractice>
/ bgstim = (attributeAleft, attributeBright)
/ trials = [1=instructions;2-5=sequence(attributeA,attributeA,attributeB,attributeA,attributeB,attributeB)]
/ errormessage = true(error,200)
/ responsemode = correct
</block>

will repeat a sequence of attributeA -> attributeA -> attributeB -> attributeA ->  attributeB -> attributeB four times, for a total of 24 trials.

If you want a different or longer sequence, edit the above accordingly.

Sophie_P
Sophie_P
Associate Member (276 reputation)Associate Member (276 reputation)Associate Member (276 reputation)Associate Member (276 reputation)Associate Member (276 reputation)Associate Member (276 reputation)Associate Member (276 reputation)Associate Member (276 reputation)Associate Member (276 reputation)
Group: Forum Members
Posts: 3, Visits: 14
Thanks so much, Dave. It really helped a lot!

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search