Millisecond Forums

Help with Cue-Reactivity Task

https://forums.millisecond.com/Topic25881.aspx

By Atn1 - 10/11/2018

Hello everyone,
for our research we would like to use a Cue-Reactivity Task in Inquisit. We need help with the script.
It should look like this:

Instruction screen
Preparatory slide ( 5 seconds)
Picture 1 (6 seconds)
Question A -> Likert scale 0 (not at all) - 8 (very much)
Question B -> Likert scale 0 (not at all) - 8 (very much)
Preparatory slide (5 seconds)
Picture 2 (6 seconds)
Question A again
Question B again
...

We would like to obtain a separate score for question A and B for every participant.
Does anyone have a script for a task similar to this?

Thank you very much
By Dave - 10/11/2018

Atn1 - Friday, October 12, 2018
Hello everyone,
for our research we would like to use a Cue-Reactivity Task in Inquisit. We need help with the script.
It should look like this:

Instruction screen
Preparatory slide ( 5 seconds)
Picture 1 (6 seconds)
Question A -> Likert scale 0 (not at all) - 8 (very much)
Question B -> Likert scale 0 (not at all) - 8 (very much)
Preparatory slide (5 seconds)
Picture 2 (6 seconds)
Question A again
Question B again
...

We would like to obtain a separate score for question A and B for every participant.
Does anyone have a script for a task similar to this?

Thank you very much

You should be able to set this up from scratch after working through the tutorials in the documentation:

https://www.millisecond.com/support/docs/v5/html/tutorials/tutorials.htm

You need a <picture> element with your image files as its items. Have a <trial> display the "preparatory screen" for 5000ms and then the <picture> for 6000ms. Then run two <likert> trials -- a and b -- after that. Repeat that sequence for as many times as you have items. In a nutshell:

<text fixation>
/ items = ("+")
/ erase = false
</text>

// 4 items in this example
<list cuenumbers>
/ poolsize = 4
</list>

<picture cue>
/ items = cueitems
/ select = values.cuenumber
/ erase = false
</picture>

<values>
/ cuenumber = 1
</values>

<item cueitems>
/ 1 = "a.jpg"
/ 2 = "b.jpg"
/ 3 = "c.jpg"
/ 4 = "d.jpg"
</item>

//present fixation and cue
<trial cuetrial>
/ ontrialbegin = [
values.cuenumber = list.cuenumbers.nextindex;
]
/ stimulustimes = [0=clearscreen, fixation; 6000=cue]
/ validresponse = (0)
/ trialduration = 11000
</trial>

<likert qa>
/ stimulusframes = [1=question_a, cue]
/ numpoints = 7
/ anchors = [1="good"; 7="bad"]
/ anchorwidth = 5%
/ position = (50%, 80%)
</likert>

<likert qb>
/ stimulusframes = [1=question_b, cue]
/ numpoints = 7
/ anchors = [1="hot"; 7="cold"]
/ anchorwidth = 5%
/ position = (50%, 80%)
</likert>

<text question_a>
/ items = ("Question A:")
/ position = (50%, 30%)
/ erase = false
</text>

<text question_b>
/ items = ("Question B:")
/ position = (50%, 30%)
/ erase = false
</text>

<block example>
/ preinstructions = (intro)
/ trials = [1-4 = sequence(cuetrial, qa, qb)]
</block>

<page intro>
^instructions go here
</page>



By Atn1 - 10/12/2018

Dave - Friday, October 12, 2018
Atn1 - Friday, October 12, 2018
Hello everyone,
for our research we would like to use a Cue-Reactivity Task in Inquisit. We need help with the script.
It should look like this:

Instruction screen
Preparatory slide ( 5 seconds)
Picture 1 (6 seconds)
Question A -> Likert scale 0 (not at all) - 8 (very much)
Question B -> Likert scale 0 (not at all) - 8 (very much)
Preparatory slide (5 seconds)
Picture 2 (6 seconds)
Question A again
Question B again
...

We would like to obtain a separate score for question A and B for every participant.
Does anyone have a script for a task similar to this?

Thank you very much

You should be able to set this up from scratch after working through the tutorials in the documentation:

https://www.millisecond.com/support/docs/v5/html/tutorials/tutorials.htm

You need a <picture> element with your image files as its items. Have a <trial> display the "preparatory screen" for 5000ms and then the <picture> for 6000ms. Then run two <likert> trials -- a and b -- after that. Repeat that sequence for as many times as you have items. In a nutshell:

<text fixation>
/ items = ("+")
/ erase = false
</text>

// 4 items in this example
<list cuenumbers>
/ poolsize = 4
</list>

<picture cue>
/ items = cueitems
/ select = values.cuenumber
/ erase = false
</picture>

<values>
/ cuenumber = 1
</values>

<item cueitems>
/ 1 = "a.jpg"
/ 2 = "b.jpg"
/ 3 = "c.jpg"
/ 4 = "d.jpg"
</item>

//present fixation and cue
<trial cuetrial>
/ ontrialbegin = [
values.cuenumber = list.cuenumbers.nextindex;
]
/ stimulustimes = [0=clearscreen, fixation; 6000=cue]
/ validresponse = (0)
/ trialduration = 11000
</trial>

<likert qa>
/ stimulusframes = [1=question_a, cue]
/ numpoints = 7
/ anchors = [1="good"; 7="bad"]
/ anchorwidth = 5%
/ position = (50%, 80%)
</likert>

<likert qb>
/ stimulusframes = [1=question_b, cue]
/ numpoints = 7
/ anchors = [1="hot"; 7="cold"]
/ anchorwidth = 5%
/ position = (50%, 80%)
</likert>

<text question_a>
/ items = ("Question A:")
/ position = (50%, 30%)
/ erase = false
</text>

<text question_b>
/ items = ("Question B:")
/ position = (50%, 30%)
/ erase = false
</text>

<block example>
/ preinstructions = (intro)
/ trials = [1-4 = sequence(cuetrial, qa, qb)]
</block>

<page intro>
^instructions go here
</page>




Thank you