cumulative responses + random with no same consecutive colours


Author
Message
tecnika
tecnika
Guru (14K reputation)Guru (14K reputation)Guru (14K reputation)Guru (14K reputation)Guru (14K reputation)Guru (14K reputation)Guru (14K reputation)Guru (14K reputation)Guru (14K reputation)
Group: Forum Members
Posts: 156, Visits: 790
Hello,

I have a problem with this modified version of the emotional stroop task that I have found in the library.

I am using cedrus response box. But if I press the response box twice it's like I am responding to two trials and it's quickly going to the third one. Is it possible to consider the response only when the participant respond to the correspondent stimulus onset?
Another thing: is it possible to randomise the colour of the words in a way that no colour will be repeated consecutively twice?

Thank you

Elena
Attachments
emotionalStroop_Rachel.iqx (239 views, 29.00 KB)
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
ebroggin - Thursday, May 25, 2017
Hello,

I have a problem with this modified version of the emotional stroop task that I have found in the library.

I am using cedrus response box. But if I press the response box twice it's like I am responding to two trials and it's quickly going to the third one. Is it possible to consider the response only when the participant respond to the correspondent stimulus onset?
Another thing: is it possible to randomise the colour of the words in a way that no colour will be repeated consecutively twice?

Thank you

Elena

> Is it possible to consider the response only when the participant respond to the correspondent stimulus onset?

Try explicitly specifying when Inquisit should start accepting responses via /beginresponsetime in your <trial> elements. E.g.

<trial Combat>
/ inputdevice = XID
/ontrialbegin = [trial.Combat.insertstimulustime(text.Combat, values.fixationcrosspresentationtime)]
/ beginresponsetime =  values.fixationcrosspresentationtime
/stimulustimes = [0=fixation, redreminder, greenreminder, bluereminder, yellowreminder]
/ isvalidresponse = [trial.Combat.response == values.keyyellow || trial.Combat.response == values.keyred ||
                        trial.Combat.response == values.keyblue || trial.Combat.response == values.keygreen]

/iscorrectresponse = [        (text.Combat.textcolor == yellow && trial.Combat.response == values.keyyellow) ||
                            (text.Combat.textcolor == red && trial.Combat.response == values.keyred) ||
                            (text.Combat.textcolor == blue && trial.Combat.response == values.keyblue) ||
                            (text.Combat.textcolor == green && trial.Combat.response == values.keygreen)]
/ontrialend = [trial.Combat.resetstimulusframes()]
/ontrialend = [values.target = text.Combat.currentitem]
/ontrialend = [if (text.Combat.textcolor == yellow) values.color = "yellow"
                else if (text.Combat.textcolor == red) values.color = "red"
                else if (text.Combat.textcolor == blue) values.color = "blue"
                else values.color = "green"]
/ontrialend = [if (trial.Combat.correct) {values.correct_Combat += 1; values.sumrt_combat += trial.Combat.latency}]
/ errormessage = true(x, 400)
</trial>

> Another thing: is it possible to randomise the colour of the words in a way that no colour will be repeated consecutively twice?

Give the way how the script / color selection is set up: No, I don't see a way to do that.

tecnika
tecnika
Guru (14K reputation)Guru (14K reputation)Guru (14K reputation)Guru (14K reputation)Guru (14K reputation)Guru (14K reputation)Guru (14K reputation)Guru (14K reputation)Guru (14K reputation)
Group: Forum Members
Posts: 156, Visits: 790
Dave - Thursday, May 25, 2017
ebroggin - Thursday, May 25, 2017
Hello,

I have a problem with this modified version of the emotional stroop task that I have found in the library.

I am using cedrus response box. But if I press the response box twice it's like I am responding to two trials and it's quickly going to the third one. Is it possible to consider the response only when the participant respond to the correspondent stimulus onset?
Another thing: is it possible to randomise the colour of the words in a way that no colour will be repeated consecutively twice?

Thank you

Elena

> Is it possible to consider the response only when the participant respond to the correspondent stimulus onset?

Try explicitly specifying when Inquisit should start accepting responses via /beginresponsetime in your <trial> elements. E.g.

<trial Combat>
/ inputdevice = XID
/ontrialbegin = [trial.Combat.insertstimulustime(text.Combat, values.fixationcrosspresentationtime)]
/ beginresponsetime =  values.fixationcrosspresentationtime
/stimulustimes = [0=fixation, redreminder, greenreminder, bluereminder, yellowreminder]
/ isvalidresponse = [trial.Combat.response == values.keyyellow || trial.Combat.response == values.keyred ||
                        trial.Combat.response == values.keyblue || trial.Combat.response == values.keygreen]

/iscorrectresponse = [        (text.Combat.textcolor == yellow && trial.Combat.response == values.keyyellow) ||
                            (text.Combat.textcolor == red && trial.Combat.response == values.keyred) ||
                            (text.Combat.textcolor == blue && trial.Combat.response == values.keyblue) ||
                            (text.Combat.textcolor == green && trial.Combat.response == values.keygreen)]
/ontrialend = [trial.Combat.resetstimulusframes()]
/ontrialend = [values.target = text.Combat.currentitem]
/ontrialend = [if (text.Combat.textcolor == yellow) values.color = "yellow"
                else if (text.Combat.textcolor == red) values.color = "red"
                else if (text.Combat.textcolor == blue) values.color = "blue"
                else values.color = "green"]
/ontrialend = [if (trial.Combat.correct) {values.correct_Combat += 1; values.sumrt_combat += trial.Combat.latency}]
/ errormessage = true(x, 400)
</trial>

> Another thing: is it possible to randomise the colour of the words in a way that no colour will be repeated consecutively twice?

Give the way how the script / color selection is set up: No, I don't see a way to do that.

Hello,

Thank you for your quick reply!
I have tried to do what you suggested, but still, if I press the key three times in the first trial, the second and the third trials stop quickly (as they already had a response from the previous trial)...

Elena
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
ebroggin - Friday, May 26, 2017
Dave - Thursday, May 25, 2017
ebroggin - Thursday, May 25, 2017
Hello,

I have a problem with this modified version of the emotional stroop task that I have found in the library.

I am using cedrus response box. But if I press the response box twice it's like I am responding to two trials and it's quickly going to the third one. Is it possible to consider the response only when the participant respond to the correspondent stimulus onset?
Another thing: is it possible to randomise the colour of the words in a way that no colour will be repeated consecutively twice?

Thank you

Elena

> Is it possible to consider the response only when the participant respond to the correspondent stimulus onset?

Try explicitly specifying when Inquisit should start accepting responses via /beginresponsetime in your <trial> elements. E.g.

<trial Combat>
/ inputdevice = XID
/ontrialbegin = [trial.Combat.insertstimulustime(text.Combat, values.fixationcrosspresentationtime)]
/ beginresponsetime =  values.fixationcrosspresentationtime
/stimulustimes = [0=fixation, redreminder, greenreminder, bluereminder, yellowreminder]
/ isvalidresponse = [trial.Combat.response == values.keyyellow || trial.Combat.response == values.keyred ||
                        trial.Combat.response == values.keyblue || trial.Combat.response == values.keygreen]

/iscorrectresponse = [        (text.Combat.textcolor == yellow && trial.Combat.response == values.keyyellow) ||
                            (text.Combat.textcolor == red && trial.Combat.response == values.keyred) ||
                            (text.Combat.textcolor == blue && trial.Combat.response == values.keyblue) ||
                            (text.Combat.textcolor == green && trial.Combat.response == values.keygreen)]
/ontrialend = [trial.Combat.resetstimulusframes()]
/ontrialend = [values.target = text.Combat.currentitem]
/ontrialend = [if (text.Combat.textcolor == yellow) values.color = "yellow"
                else if (text.Combat.textcolor == red) values.color = "red"
                else if (text.Combat.textcolor == blue) values.color = "blue"
                else values.color = "green"]
/ontrialend = [if (trial.Combat.correct) {values.correct_Combat += 1; values.sumrt_combat += trial.Combat.latency}]
/ errormessage = true(x, 400)
</trial>

> Another thing: is it possible to randomise the colour of the words in a way that no colour will be repeated consecutively twice?

Give the way how the script / color selection is set up: No, I don't see a way to do that.

Hello,

Thank you for your quick reply!
I have tried to do what you suggested, but still, if I press the key three times in the first trial, the second and the third trials stop quickly (as they already had a response from the previous trial)...

Elena

Can you post a raw data file showing that? Particularly the response columns and latencies recorded for those 3 trials would be of interest.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search