Presenting just one randomly picked item out of a pool of items


Author
Message
Clara
Clara
Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)
Group: Forum Members
Posts: 20, Visits: 127
Dave - Thursday, June 1, 2017
Clara - Thursday, June 1, 2017
Dave - Tuesday, May 30, 2017
Clara - Tuesday, May 30, 2017
I hope I'm not annoying with this topic. However, now I got a really tricky issue to solve. Actually, the pictures which a randomly chosen display how participants shall perform on the following task e.g. "Show a moderat preference for Turks compared to Germans." Then they do the IAT. How can I tell Inquisit, that the picture means a "moderate preference for Turks compared to Germans" and let it then check whether participants were able to produce this moderate preference? I know there is a feedback function, which tells exactly what the results of the IAT are. However, since the picture, how the participants shall perform is randomly chosen at the beginning, I can't check whether they actually performed well or poorly... If you do not really understand what I'm describing here, please let me know. 

Thank you a lot for your help. Without it I would have probably get stuck already in the beginning.

> How can I tell Inquisit, that the picture means a "moderate preference for Turks compared to Germans" and let it then check whether participants were able to produce this
> moderate preference?

You need to encode what performance-level each picture item represents somewhere (e.g. in a <list> paired to the <picture> element; cf. the "How to present stimulus pairs" topic in the documentation.)

You then need to retrieve that information and check it against the existing feedback and/or the achieved expressions.d.

Thanks!! I managed the first part. However, I do not now how to retrieve that information and check it against the achieved expressions.d. 

This is my trail summary: 

<trial summary>
/ stimulustimes = [0=summary]
/ validresponse = (" ")
/ recorddata = false
/ ontrialbegin = [values.magnitude = "geringe bis gar keine"]
/ ontrialbegin = [if( abs(expressions.d) > 0.15 ) values.magnitude = "leichte"]
/ ontrialbegin = [if( abs(expressions.d) > 0.35 ) values.magnitude = "moderate"]
/ ontrialbegin = [if( abs(expressions.d) >= 0.65 ) values.magnitude = "starke"]
/ ontrialbegin = [if (expressions.d >= 0.0) expressions.preferred = item.ingroupLabel.1]
/ ontrialbegin = [if (expressions.d < 0.0) expressions.preferred = item.outgroupLabel.1]
/ ontrialbegin = [if (expressions.d < 0.0) expressions.notpreferred= item.ingroupLabel.1]
/ ontrialbegin = [if (expressions.d >= 0.0) expressions.notpreferred= item.outgroupLabel.1]
</trial>


and my paring: 

<picture forced>
/ items = ("As_-3.jpeg", "As_-2.jpeg")
/ select = noreplace
/ selectionrate = experiment
</picture>

<text forced_matched>
/ items = ("-3", "-2")
/ select = picture.forced.currentindex
</text>

<trial forced>
/stimulusframes = [1 = forced]
/validresponse = (" ")
/posttrialpause = 250
</trial>


<trial matching>
/ stimulustimes = [0 = forced; 100 = forced_matched]
/ validresponse = ("8")
</trial>


Now, Inquisit is showing the picture, which tells the participants which IAT level they need to achieve, at the beginning and at the end of the IAT it is showing the picture again and its corresponding meaning e.g. "-3" which is a strong negative preference. However, how can I tell Inquisit that this "-3" is the same as these both expressions form the summary trial:  

"/ ontrialbegin = [if( abs(expressions.d) >= 0.65 ) values.magnitude = "starke"]"
and
"/ ontrialbegin = [if (expressions.d < 0.0) expressions.preferred = item.outgroupLabel.1]"?

Hope you understand, what I mean. 

Thank you a lot for all your replies! 








You're making this more complicated than it needs to be. Pair your picture with values *directly* corresponding to the D-score cutoffs. I.e. a "strong negative preference" means something <= -0.65. I.e. your image item "As_-3.jpeg" should be paired with the value -0.65. Then compare that value directly against expressions.d (and so forth for the other image items and cutoffs). And don't use a <text> element paired to your <picture> -- use a <list>.

Ok, got it, thank you. Just how can I compare the achieved expression.d (or d value) against a randomly chosen picture/value? 

<picture forced>
/ items = ("As_-3.jpeg", "As_-2.jpeg")
/ select = noreplace
/ selectionrate = experiment
</picture>

I mean how is the syntax for this command?
Something like... 
/ ontrialbegin = [if (expressions.d >= 0.0 && abs(expressions.d >= 0.65) ) expressions.magnitude= "You did it well!"  
.... there is missing something in the if part. Some expression that it also equals the value which was randomly chosen at the beginning...



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: 12K, Visits: 98K
Clara - Thursday, June 1, 2017
Dave - Thursday, June 1, 2017
Clara - Thursday, June 1, 2017
Dave - Tuesday, May 30, 2017
Clara - Tuesday, May 30, 2017
I hope I'm not annoying with this topic. However, now I got a really tricky issue to solve. Actually, the pictures which a randomly chosen display how participants shall perform on the following task e.g. "Show a moderat preference for Turks compared to Germans." Then they do the IAT. How can I tell Inquisit, that the picture means a "moderate preference for Turks compared to Germans" and let it then check whether participants were able to produce this moderate preference? I know there is a feedback function, which tells exactly what the results of the IAT are. However, since the picture, how the participants shall perform is randomly chosen at the beginning, I can't check whether they actually performed well or poorly... If you do not really understand what I'm describing here, please let me know. 

Thank you a lot for your help. Without it I would have probably get stuck already in the beginning.

> How can I tell Inquisit, that the picture means a "moderate preference for Turks compared to Germans" and let it then check whether participants were able to produce this
> moderate preference?

You need to encode what performance-level each picture item represents somewhere (e.g. in a <list> paired to the <picture> element; cf. the "How to present stimulus pairs" topic in the documentation.)

You then need to retrieve that information and check it against the existing feedback and/or the achieved expressions.d.

Thanks!! I managed the first part. However, I do not now how to retrieve that information and check it against the achieved expressions.d. 

This is my trail summary: 

<trial summary>
/ stimulustimes = [0=summary]
/ validresponse = (" ")
/ recorddata = false
/ ontrialbegin = [values.magnitude = "geringe bis gar keine"]
/ ontrialbegin = [if( abs(expressions.d) > 0.15 ) values.magnitude = "leichte"]
/ ontrialbegin = [if( abs(expressions.d) > 0.35 ) values.magnitude = "moderate"]
/ ontrialbegin = [if( abs(expressions.d) >= 0.65 ) values.magnitude = "starke"]
/ ontrialbegin = [if (expressions.d >= 0.0) expressions.preferred = item.ingroupLabel.1]
/ ontrialbegin = [if (expressions.d < 0.0) expressions.preferred = item.outgroupLabel.1]
/ ontrialbegin = [if (expressions.d < 0.0) expressions.notpreferred= item.ingroupLabel.1]
/ ontrialbegin = [if (expressions.d >= 0.0) expressions.notpreferred= item.outgroupLabel.1]
</trial>


and my paring: 

<picture forced>
/ items = ("As_-3.jpeg", "As_-2.jpeg")
/ select = noreplace
/ selectionrate = experiment
</picture>

<text forced_matched>
/ items = ("-3", "-2")
/ select = picture.forced.currentindex
</text>

<trial forced>
/stimulusframes = [1 = forced]
/validresponse = (" ")
/posttrialpause = 250
</trial>


<trial matching>
/ stimulustimes = [0 = forced; 100 = forced_matched]
/ validresponse = ("8")
</trial>


Now, Inquisit is showing the picture, which tells the participants which IAT level they need to achieve, at the beginning and at the end of the IAT it is showing the picture again and its corresponding meaning e.g. "-3" which is a strong negative preference. However, how can I tell Inquisit that this "-3" is the same as these both expressions form the summary trial:  

"/ ontrialbegin = [if( abs(expressions.d) >= 0.65 ) values.magnitude = "starke"]"
and
"/ ontrialbegin = [if (expressions.d < 0.0) expressions.preferred = item.outgroupLabel.1]"?

Hope you understand, what I mean. 

Thank you a lot for all your replies! 








You're making this more complicated than it needs to be. Pair your picture with values *directly* corresponding to the D-score cutoffs. I.e. a "strong negative preference" means something <= -0.65. I.e. your image item "As_-3.jpeg" should be paired with the value -0.65. Then compare that value directly against expressions.d (and so forth for the other image items and cutoffs). And don't use a <text> element paired to your <picture> -- use a <list>.

Ok, got it, thank you. Just how can I compare the achieved expression.d (or d value) against a randomly chosen picture/value? 

<picture forced>
/ items = ("As_-3.jpeg", "As_-2.jpeg")
/ select = noreplace
/ selectionrate = experiment
</picture>

I mean how is the syntax for this command?
Something like... 
/ ontrialbegin = [if (expressions.d >= 0.0 && abs(expressions.d >= 0.65) ) expressions.magnitude= "You did it well!"  
.... there is missing something in the if part. Some expression that it also equals the value which was randomly chosen at the beginning...



You're not supposed to compare it against a picture item. You're supposed to compare the expressions.d against the value *associated* with the chosen item, -- call it the "target d", if you will --  and ask "is the achieved expressions.d in the range proscribed by the value associated with the selected picture item". If yes, then the participant did well / as told. If not, s/he failed.

> / ontrialbegin = [if (expressions.d >= 0.0 && abs(expressions.d >= 0.65) ) expressions.magnitude= "You did it well!" 

I don't understand what the above is supposed to achieve. Why would you want to manipulate expressions.magnitude? You almost certainly don't want that.

To cut this short, how about this: Put your script and everything it needs (images, etc.) in a ZIP archive and attach the whole thing to this thread (click +Insert -> Add File). I'll fix it for you.

Clara
Clara
Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)
Group: Forum Members
Posts: 20, Visits: 127
Dave - Thursday, June 1, 2017
Clara - Thursday, June 1, 2017
Dave - Thursday, June 1, 2017
Clara - Thursday, June 1, 2017
Dave - Tuesday, May 30, 2017
Clara - Tuesday, May 30, 2017
I hope I'm not annoying with this topic. However, now I got a really tricky issue to solve. Actually, the pictures which a randomly chosen display how participants shall perform on the following task e.g. "Show a moderat preference for Turks compared to Germans." Then they do the IAT. How can I tell Inquisit, that the picture means a "moderate preference for Turks compared to Germans" and let it then check whether participants were able to produce this moderate preference? I know there is a feedback function, which tells exactly what the results of the IAT are. However, since the picture, how the participants shall perform is randomly chosen at the beginning, I can't check whether they actually performed well or poorly... If you do not really understand what I'm describing here, please let me know. 

Thank you a lot for your help. Without it I would have probably get stuck already in the beginning.

> How can I tell Inquisit, that the picture means a "moderate preference for Turks compared to Germans" and let it then check whether participants were able to produce this
> moderate preference?

You need to encode what performance-level each picture item represents somewhere (e.g. in a <list> paired to the <picture> element; cf. the "How to present stimulus pairs" topic in the documentation.)

You then need to retrieve that information and check it against the existing feedback and/or the achieved expressions.d.

Thanks!! I managed the first part. However, I do not now how to retrieve that information and check it against the achieved expressions.d. 

This is my trail summary: 

<trial summary>
/ stimulustimes = [0=summary]
/ validresponse = (" ")
/ recorddata = false
/ ontrialbegin = [values.magnitude = "geringe bis gar keine"]
/ ontrialbegin = [if( abs(expressions.d) > 0.15 ) values.magnitude = "leichte"]
/ ontrialbegin = [if( abs(expressions.d) > 0.35 ) values.magnitude = "moderate"]
/ ontrialbegin = [if( abs(expressions.d) >= 0.65 ) values.magnitude = "starke"]
/ ontrialbegin = [if (expressions.d >= 0.0) expressions.preferred = item.ingroupLabel.1]
/ ontrialbegin = [if (expressions.d < 0.0) expressions.preferred = item.outgroupLabel.1]
/ ontrialbegin = [if (expressions.d < 0.0) expressions.notpreferred= item.ingroupLabel.1]
/ ontrialbegin = [if (expressions.d >= 0.0) expressions.notpreferred= item.outgroupLabel.1]
</trial>


and my paring: 

<picture forced>
/ items = ("As_-3.jpeg", "As_-2.jpeg")
/ select = noreplace
/ selectionrate = experiment
</picture>

<text forced_matched>
/ items = ("-3", "-2")
/ select = picture.forced.currentindex
</text>

<trial forced>
/stimulusframes = [1 = forced]
/validresponse = (" ")
/posttrialpause = 250
</trial>


<trial matching>
/ stimulustimes = [0 = forced; 100 = forced_matched]
/ validresponse = ("8")
</trial>


Now, Inquisit is showing the picture, which tells the participants which IAT level they need to achieve, at the beginning and at the end of the IAT it is showing the picture again and its corresponding meaning e.g. "-3" which is a strong negative preference. However, how can I tell Inquisit that this "-3" is the same as these both expressions form the summary trial:  

"/ ontrialbegin = [if( abs(expressions.d) >= 0.65 ) values.magnitude = "starke"]"
and
"/ ontrialbegin = [if (expressions.d < 0.0) expressions.preferred = item.outgroupLabel.1]"?

Hope you understand, what I mean. 

Thank you a lot for all your replies! 








You're making this more complicated than it needs to be. Pair your picture with values *directly* corresponding to the D-score cutoffs. I.e. a "strong negative preference" means something <= -0.65. I.e. your image item "As_-3.jpeg" should be paired with the value -0.65. Then compare that value directly against expressions.d (and so forth for the other image items and cutoffs). And don't use a <text> element paired to your <picture> -- use a <list>.

Ok, got it, thank you. Just how can I compare the achieved expression.d (or d value) against a randomly chosen picture/value? 

<picture forced>
/ items = ("As_-3.jpeg", "As_-2.jpeg")
/ select = noreplace
/ selectionrate = experiment
</picture>

I mean how is the syntax for this command?
Something like... 
/ ontrialbegin = [if (expressions.d >= 0.0 && abs(expressions.d >= 0.65) ) expressions.magnitude= "You did it well!"  
.... there is missing something in the if part. Some expression that it also equals the value which was randomly chosen at the beginning...



You're not supposed to compare it against a picture item. You're supposed to compare the expressions.d against the value *associated* with the chosen item, -- call it the "target d", if you will --  and ask "is the achieved expressions.d in the range proscribed by the value associated with the selected picture item". If yes, then the participant did well / as told. If not, s/he failed.

> / ontrialbegin = [if (expressions.d >= 0.0 && abs(expressions.d >= 0.65) ) expressions.magnitude= "You did it well!" 

I don't understand what the above is supposed to achieve. Why would you want to manipulate expressions.magnitude? You almost certainly don't want that.

To cut this short, how about this: Put your script and everything it needs (images, etc.) in a ZIP archive and attach the whole thing to this thread (click +Insert -> Add File). I'll fix it for you.

Hey, very nice offer, however, my script is quite messy right now since I just try to figure out how it could work. I just wondered whether there is any command which would implement what you just wrote: "is the achieved expressions.d in the range proscribed by the value associated with the selected picture item"
Something like this?
/ontrialbegin = [if (expressions.d >= 0.65 && target.d >= 0.65)
values.perfectscore = true


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: 12K, Visits: 98K
Clara - Thursday, June 1, 2017
Dave - Thursday, June 1, 2017
Clara - Thursday, June 1, 2017
Dave - Thursday, June 1, 2017
Clara - Thursday, June 1, 2017
Dave - Tuesday, May 30, 2017
Clara - Tuesday, May 30, 2017
I hope I'm not annoying with this topic. However, now I got a really tricky issue to solve. Actually, the pictures which a randomly chosen display how participants shall perform on the following task e.g. "Show a moderat preference for Turks compared to Germans." Then they do the IAT. How can I tell Inquisit, that the picture means a "moderate preference for Turks compared to Germans" and let it then check whether participants were able to produce this moderate preference? I know there is a feedback function, which tells exactly what the results of the IAT are. However, since the picture, how the participants shall perform is randomly chosen at the beginning, I can't check whether they actually performed well or poorly... If you do not really understand what I'm describing here, please let me know. 

Thank you a lot for your help. Without it I would have probably get stuck already in the beginning.

> How can I tell Inquisit, that the picture means a "moderate preference for Turks compared to Germans" and let it then check whether participants were able to produce this
> moderate preference?

You need to encode what performance-level each picture item represents somewhere (e.g. in a <list> paired to the <picture> element; cf. the "How to present stimulus pairs" topic in the documentation.)

You then need to retrieve that information and check it against the existing feedback and/or the achieved expressions.d.

Thanks!! I managed the first part. However, I do not now how to retrieve that information and check it against the achieved expressions.d. 

This is my trail summary: 

<trial summary>
/ stimulustimes = [0=summary]
/ validresponse = (" ")
/ recorddata = false
/ ontrialbegin = [values.magnitude = "geringe bis gar keine"]
/ ontrialbegin = [if( abs(expressions.d) > 0.15 ) values.magnitude = "leichte"]
/ ontrialbegin = [if( abs(expressions.d) > 0.35 ) values.magnitude = "moderate"]
/ ontrialbegin = [if( abs(expressions.d) >= 0.65 ) values.magnitude = "starke"]
/ ontrialbegin = [if (expressions.d >= 0.0) expressions.preferred = item.ingroupLabel.1]
/ ontrialbegin = [if (expressions.d < 0.0) expressions.preferred = item.outgroupLabel.1]
/ ontrialbegin = [if (expressions.d < 0.0) expressions.notpreferred= item.ingroupLabel.1]
/ ontrialbegin = [if (expressions.d >= 0.0) expressions.notpreferred= item.outgroupLabel.1]
</trial>


and my paring: 

<picture forced>
/ items = ("As_-3.jpeg", "As_-2.jpeg")
/ select = noreplace
/ selectionrate = experiment
</picture>

<text forced_matched>
/ items = ("-3", "-2")
/ select = picture.forced.currentindex
</text>

<trial forced>
/stimulusframes = [1 = forced]
/validresponse = (" ")
/posttrialpause = 250
</trial>


<trial matching>
/ stimulustimes = [0 = forced; 100 = forced_matched]
/ validresponse = ("8")
</trial>


Now, Inquisit is showing the picture, which tells the participants which IAT level they need to achieve, at the beginning and at the end of the IAT it is showing the picture again and its corresponding meaning e.g. "-3" which is a strong negative preference. However, how can I tell Inquisit that this "-3" is the same as these both expressions form the summary trial:  

"/ ontrialbegin = [if( abs(expressions.d) >= 0.65 ) values.magnitude = "starke"]"
and
"/ ontrialbegin = [if (expressions.d < 0.0) expressions.preferred = item.outgroupLabel.1]"?

Hope you understand, what I mean. 

Thank you a lot for all your replies! 








You're making this more complicated than it needs to be. Pair your picture with values *directly* corresponding to the D-score cutoffs. I.e. a "strong negative preference" means something <= -0.65. I.e. your image item "As_-3.jpeg" should be paired with the value -0.65. Then compare that value directly against expressions.d (and so forth for the other image items and cutoffs). And don't use a <text> element paired to your <picture> -- use a <list>.

Ok, got it, thank you. Just how can I compare the achieved expression.d (or d value) against a randomly chosen picture/value? 

<picture forced>
/ items = ("As_-3.jpeg", "As_-2.jpeg")
/ select = noreplace
/ selectionrate = experiment
</picture>

I mean how is the syntax for this command?
Something like... 
/ ontrialbegin = [if (expressions.d >= 0.0 && abs(expressions.d >= 0.65) ) expressions.magnitude= "You did it well!"  
.... there is missing something in the if part. Some expression that it also equals the value which was randomly chosen at the beginning...



You're not supposed to compare it against a picture item. You're supposed to compare the expressions.d against the value *associated* with the chosen item, -- call it the "target d", if you will --  and ask "is the achieved expressions.d in the range proscribed by the value associated with the selected picture item". If yes, then the participant did well / as told. If not, s/he failed.

> / ontrialbegin = [if (expressions.d >= 0.0 && abs(expressions.d >= 0.65) ) expressions.magnitude= "You did it well!" 

I don't understand what the above is supposed to achieve. Why would you want to manipulate expressions.magnitude? You almost certainly don't want that.

To cut this short, how about this: Put your script and everything it needs (images, etc.) in a ZIP archive and attach the whole thing to this thread (click +Insert -> Add File). I'll fix it for you.

Hey, very nice offer, however, my script is quite messy right now since I just try to figure out how it could work. I just wondered whether there is any command which would implement what you just wrote: "is the achieved expressions.d in the range proscribed by the value associated with the selected picture item"
Something like this?
/ontrialbegin = [if (expressions.d >= 0.65 && target.d >= 0.65)
values.perfectscore = true


The logic you'd implement would be similar to what you find in <trial summary> -- and broadly similar to your example, yes. I'll just hack up a quick example using the standard IAT script. I'll add it to this thread once I'm done.

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: 12K, Visits: 98K
Dave - Thursday, June 1, 2017
Clara - Thursday, June 1, 2017
Dave - Thursday, June 1, 2017
Clara - Thursday, June 1, 2017
Dave - Thursday, June 1, 2017
Clara - Thursday, June 1, 2017
Dave - Tuesday, May 30, 2017
Clara - Tuesday, May 30, 2017
I hope I'm not annoying with this topic. However, now I got a really tricky issue to solve. Actually, the pictures which a randomly chosen display how participants shall perform on the following task e.g. "Show a moderat preference for Turks compared to Germans." Then they do the IAT. How can I tell Inquisit, that the picture means a "moderate preference for Turks compared to Germans" and let it then check whether participants were able to produce this moderate preference? I know there is a feedback function, which tells exactly what the results of the IAT are. However, since the picture, how the participants shall perform is randomly chosen at the beginning, I can't check whether they actually performed well or poorly... If you do not really understand what I'm describing here, please let me know. 

Thank you a lot for your help. Without it I would have probably get stuck already in the beginning.

> How can I tell Inquisit, that the picture means a "moderate preference for Turks compared to Germans" and let it then check whether participants were able to produce this
> moderate preference?

You need to encode what performance-level each picture item represents somewhere (e.g. in a <list> paired to the <picture> element; cf. the "How to present stimulus pairs" topic in the documentation.)

You then need to retrieve that information and check it against the existing feedback and/or the achieved expressions.d.

Thanks!! I managed the first part. However, I do not now how to retrieve that information and check it against the achieved expressions.d. 

This is my trail summary: 

<trial summary>
/ stimulustimes = [0=summary]
/ validresponse = (" ")
/ recorddata = false
/ ontrialbegin = [values.magnitude = "geringe bis gar keine"]
/ ontrialbegin = [if( abs(expressions.d) > 0.15 ) values.magnitude = "leichte"]
/ ontrialbegin = [if( abs(expressions.d) > 0.35 ) values.magnitude = "moderate"]
/ ontrialbegin = [if( abs(expressions.d) >= 0.65 ) values.magnitude = "starke"]
/ ontrialbegin = [if (expressions.d >= 0.0) expressions.preferred = item.ingroupLabel.1]
/ ontrialbegin = [if (expressions.d < 0.0) expressions.preferred = item.outgroupLabel.1]
/ ontrialbegin = [if (expressions.d < 0.0) expressions.notpreferred= item.ingroupLabel.1]
/ ontrialbegin = [if (expressions.d >= 0.0) expressions.notpreferred= item.outgroupLabel.1]
</trial>


and my paring: 

<picture forced>
/ items = ("As_-3.jpeg", "As_-2.jpeg")
/ select = noreplace
/ selectionrate = experiment
</picture>

<text forced_matched>
/ items = ("-3", "-2")
/ select = picture.forced.currentindex
</text>

<trial forced>
/stimulusframes = [1 = forced]
/validresponse = (" ")
/posttrialpause = 250
</trial>


<trial matching>
/ stimulustimes = [0 = forced; 100 = forced_matched]
/ validresponse = ("8")
</trial>


Now, Inquisit is showing the picture, which tells the participants which IAT level they need to achieve, at the beginning and at the end of the IAT it is showing the picture again and its corresponding meaning e.g. "-3" which is a strong negative preference. However, how can I tell Inquisit that this "-3" is the same as these both expressions form the summary trial:  

"/ ontrialbegin = [if( abs(expressions.d) >= 0.65 ) values.magnitude = "starke"]"
and
"/ ontrialbegin = [if (expressions.d < 0.0) expressions.preferred = item.outgroupLabel.1]"?

Hope you understand, what I mean. 

Thank you a lot for all your replies! 








You're making this more complicated than it needs to be. Pair your picture with values *directly* corresponding to the D-score cutoffs. I.e. a "strong negative preference" means something <= -0.65. I.e. your image item "As_-3.jpeg" should be paired with the value -0.65. Then compare that value directly against expressions.d (and so forth for the other image items and cutoffs). And don't use a <text> element paired to your <picture> -- use a <list>.

Ok, got it, thank you. Just how can I compare the achieved expression.d (or d value) against a randomly chosen picture/value? 

<picture forced>
/ items = ("As_-3.jpeg", "As_-2.jpeg")
/ select = noreplace
/ selectionrate = experiment
</picture>

I mean how is the syntax for this command?
Something like... 
/ ontrialbegin = [if (expressions.d >= 0.0 && abs(expressions.d >= 0.65) ) expressions.magnitude= "You did it well!"  
.... there is missing something in the if part. Some expression that it also equals the value which was randomly chosen at the beginning...



You're not supposed to compare it against a picture item. You're supposed to compare the expressions.d against the value *associated* with the chosen item, -- call it the "target d", if you will --  and ask "is the achieved expressions.d in the range proscribed by the value associated with the selected picture item". If yes, then the participant did well / as told. If not, s/he failed.

> / ontrialbegin = [if (expressions.d >= 0.0 && abs(expressions.d >= 0.65) ) expressions.magnitude= "You did it well!" 

I don't understand what the above is supposed to achieve. Why would you want to manipulate expressions.magnitude? You almost certainly don't want that.

To cut this short, how about this: Put your script and everything it needs (images, etc.) in a ZIP archive and attach the whole thing to this thread (click +Insert -> Add File). I'll fix it for you.

Hey, very nice offer, however, my script is quite messy right now since I just try to figure out how it could work. I just wondered whether there is any command which would implement what you just wrote: "is the achieved expressions.d in the range proscribed by the value associated with the selected picture item"
Something like this?
/ontrialbegin = [if (expressions.d >= 0.65 && target.d >= 0.65)
values.perfectscore = true


The logic you'd implement would be similar to what you find in <trial summary> -- and broadly similar to your example, yes. I'll just hack up a quick example using the standard IAT script. I'll add it to this thread once I'm done.

The attached example should hopefully give you a better idea of one way to approach this. The bulk of the additions to the script (it's not a lot) are towards the bottom of the file. There are some minor modifications in <trial summary> and <text summary> as well, but those should be pretty self-explanatory. Hope this helps.

Attachments
iat_with_goalsetting.zip (174 views, 8.00 KB)
Clara
Clara
Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)
Group: Forum Members
Posts: 20, Visits: 127
Dave - Thursday, June 1, 2017
Dave - Thursday, June 1, 2017
Clara - Thursday, June 1, 2017
Dave - Thursday, June 1, 2017
Clara - Thursday, June 1, 2017
Dave - Thursday, June 1, 2017
Clara - Thursday, June 1, 2017
Dave - Tuesday, May 30, 2017
Clara - Tuesday, May 30, 2017
I hope I'm not annoying with this topic. However, now I got a really tricky issue to solve. Actually, the pictures which a randomly chosen display how participants shall perform on the following task e.g. "Show a moderat preference for Turks compared to Germans." Then they do the IAT. How can I tell Inquisit, that the picture means a "moderate preference for Turks compared to Germans" and let it then check whether participants were able to produce this moderate preference? I know there is a feedback function, which tells exactly what the results of the IAT are. However, since the picture, how the participants shall perform is randomly chosen at the beginning, I can't check whether they actually performed well or poorly... If you do not really understand what I'm describing here, please let me know. 

Thank you a lot for your help. Without it I would have probably get stuck already in the beginning.

> How can I tell Inquisit, that the picture means a "moderate preference for Turks compared to Germans" and let it then check whether participants were able to produce this
> moderate preference?

You need to encode what performance-level each picture item represents somewhere (e.g. in a <list> paired to the <picture> element; cf. the "How to present stimulus pairs" topic in the documentation.)

You then need to retrieve that information and check it against the existing feedback and/or the achieved expressions.d.

Thanks!! I managed the first part. However, I do not now how to retrieve that information and check it against the achieved expressions.d. 

This is my trail summary: 

<trial summary>
/ stimulustimes = [0=summary]
/ validresponse = (" ")
/ recorddata = false
/ ontrialbegin = [values.magnitude = "geringe bis gar keine"]
/ ontrialbegin = [if( abs(expressions.d) > 0.15 ) values.magnitude = "leichte"]
/ ontrialbegin = [if( abs(expressions.d) > 0.35 ) values.magnitude = "moderate"]
/ ontrialbegin = [if( abs(expressions.d) >= 0.65 ) values.magnitude = "starke"]
/ ontrialbegin = [if (expressions.d >= 0.0) expressions.preferred = item.ingroupLabel.1]
/ ontrialbegin = [if (expressions.d < 0.0) expressions.preferred = item.outgroupLabel.1]
/ ontrialbegin = [if (expressions.d < 0.0) expressions.notpreferred= item.ingroupLabel.1]
/ ontrialbegin = [if (expressions.d >= 0.0) expressions.notpreferred= item.outgroupLabel.1]
</trial>


and my paring: 

<picture forced>
/ items = ("As_-3.jpeg", "As_-2.jpeg")
/ select = noreplace
/ selectionrate = experiment
</picture>

<text forced_matched>
/ items = ("-3", "-2")
/ select = picture.forced.currentindex
</text>

<trial forced>
/stimulusframes = [1 = forced]
/validresponse = (" ")
/posttrialpause = 250
</trial>


<trial matching>
/ stimulustimes = [0 = forced; 100 = forced_matched]
/ validresponse = ("8")
</trial>


Now, Inquisit is showing the picture, which tells the participants which IAT level they need to achieve, at the beginning and at the end of the IAT it is showing the picture again and its corresponding meaning e.g. "-3" which is a strong negative preference. However, how can I tell Inquisit that this "-3" is the same as these both expressions form the summary trial:  

"/ ontrialbegin = [if( abs(expressions.d) >= 0.65 ) values.magnitude = "starke"]"
and
"/ ontrialbegin = [if (expressions.d < 0.0) expressions.preferred = item.outgroupLabel.1]"?

Hope you understand, what I mean. 

Thank you a lot for all your replies! 








You're making this more complicated than it needs to be. Pair your picture with values *directly* corresponding to the D-score cutoffs. I.e. a "strong negative preference" means something <= -0.65. I.e. your image item "As_-3.jpeg" should be paired with the value -0.65. Then compare that value directly against expressions.d (and so forth for the other image items and cutoffs). And don't use a <text> element paired to your <picture> -- use a <list>.

Ok, got it, thank you. Just how can I compare the achieved expression.d (or d value) against a randomly chosen picture/value? 

<picture forced>
/ items = ("As_-3.jpeg", "As_-2.jpeg")
/ select = noreplace
/ selectionrate = experiment
</picture>

I mean how is the syntax for this command?
Something like... 
/ ontrialbegin = [if (expressions.d >= 0.0 && abs(expressions.d >= 0.65) ) expressions.magnitude= "You did it well!"  
.... there is missing something in the if part. Some expression that it also equals the value which was randomly chosen at the beginning...



You're not supposed to compare it against a picture item. You're supposed to compare the expressions.d against the value *associated* with the chosen item, -- call it the "target d", if you will --  and ask "is the achieved expressions.d in the range proscribed by the value associated with the selected picture item". If yes, then the participant did well / as told. If not, s/he failed.

> / ontrialbegin = [if (expressions.d >= 0.0 && abs(expressions.d >= 0.65) ) expressions.magnitude= "You did it well!" 

I don't understand what the above is supposed to achieve. Why would you want to manipulate expressions.magnitude? You almost certainly don't want that.

To cut this short, how about this: Put your script and everything it needs (images, etc.) in a ZIP archive and attach the whole thing to this thread (click +Insert -> Add File). I'll fix it for you.

Hey, very nice offer, however, my script is quite messy right now since I just try to figure out how it could work. I just wondered whether there is any command which would implement what you just wrote: "is the achieved expressions.d in the range proscribed by the value associated with the selected picture item"
Something like this?
/ontrialbegin = [if (expressions.d >= 0.65 && target.d >= 0.65)
values.perfectscore = true


The logic you'd implement would be similar to what you find in <trial summary> -- and broadly similar to your example, yes. I'll just hack up a quick example using the standard IAT script. I'll add it to this thread once I'm done.

The attached example should hopefully give you a better idea of one way to approach this. The bulk of the additions to the script (it's not a lot) are towards the bottom of the file. There are some minor modifications in <trial summary> and <text summary> as well, but those should be pretty self-explanatory. Hope this helps.

Oh my goodness, thank you so much! What a help. It's working perfectly fine. I really appreciate all your help! 
Clara
Clara
Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)
Group: Forum Members
Posts: 20, Visits: 127
Hey, I got a (hopefully) last question. It's rather a new topic but I hope it is okay to post it here. 
I'm doing a study with 5 different IATs. I want to randomize all these IATs. I know there is this easy way with a batch file. However, at the beginning of the whole study the participants will receive these instructions of the target.d what you just explained to me, which tells them how they have to perform on every IAT. During the experiment Inquisit will check how they perform. So my problem is that I can't randomize the 5 IATs through a batch file because these target.d instructions need to be for all IATs together. If I would put them in different file, Inquisit would not relate the instructions to the IATs. So is there any possibility to randomize the IATs/blocks in one script file? 

This is my file, how it looks in the "expt" part... with 45 blocks for all the 5 IATs together:
<expt>
/blocks = [1=pictures_1; 2=compatibletestinstructions_1; 3=spacebar_compatible_1; 4=pictures_words_compatible_1; 5=pictures_reverse_1;
6=incompatibletestinstructions_1; 7=spacebar_incompatible_1; 8=pictures_words_incompatible_1; 9=summary_1; 10=pictures_2; 11=compatibletestinstructions_2; 12=spacebar_compatible_2; 13=pictures_words_compatible_2; 14=pictures_reverse_2;
15=incompatibletestinstructions_2; 16=spacebar_incompatible_2; 17=pictures_words_incompatible_2; 18=summary_2; 19=pictures_3; 20=compatibletestinstructions_3; 21=spacebar_compatible_3; 22=pictures_words_compatible_3; 23=pictures_reverse_3;
24=incompatibletestinstructions_3; 25=spacebar_incompatible_3; 26=pictures_words_incompatible_3; 27=summary_3; 28=pictures_4; 29=compatibletestinstructions_4; 30=spacebar_compatible_4; 31=pictures_words_compatible_4; 32=pictures_reverse_4;
33=incompatibletestinstructions_4; 34=spacebar_incompatible_4; 35=pictures_words_incompatible_4; 36=summary_4; 37=pictures_5; 38=compatibletestinstructions_5; 39=spacebar_compatible_5; 40=pictures_words_compatible_5; 41=pictures_reverse_5;
42=incompatibletestinstructions_5; 43=spacebar_incompatible_5; 44=pictures_words_incompatible_5; 45=summary_5]
/onexptend = [values.completed = 1]

Still missing is the target.d instruction at the beginning, which should be at the beginning for every participant. 

I again, would really appreciate some advice! Thank you



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: 12K, Visits: 98K
Clara - Saturday, June 3, 2017
Hey, I got a (hopefully) last question. It's rather a new topic but I hope it is okay to post it here. 
I'm doing a study with 5 different IATs. I want to randomize all these IATs. I know there is this easy way with a batch file. However, at the beginning of the whole study the participants will receive these instructions of the target.d what you just explained to me, which tells them how they have to perform on every IAT. During the experiment Inquisit will check how they perform. So my problem is that I can't randomize the 5 IATs through a batch file because these target.d instructions need to be for all IATs together. If I would put them in different file, Inquisit would not relate the instructions to the IATs. So is there any possibility to randomize the IATs/blocks in one script file? 

This is my file, how it looks in the "expt" part... with 45 blocks for all the 5 IATs together:
<expt>
/blocks = [1=pictures_1; 2=compatibletestinstructions_1; 3=spacebar_compatible_1; 4=pictures_words_compatible_1; 5=pictures_reverse_1;
6=incompatibletestinstructions_1; 7=spacebar_incompatible_1; 8=pictures_words_incompatible_1; 9=summary_1; 10=pictures_2; 11=compatibletestinstructions_2; 12=spacebar_compatible_2; 13=pictures_words_compatible_2; 14=pictures_reverse_2;
15=incompatibletestinstructions_2; 16=spacebar_incompatible_2; 17=pictures_words_incompatible_2; 18=summary_2; 19=pictures_3; 20=compatibletestinstructions_3; 21=spacebar_compatible_3; 22=pictures_words_compatible_3; 23=pictures_reverse_3;
24=incompatibletestinstructions_3; 25=spacebar_incompatible_3; 26=pictures_words_incompatible_3; 27=summary_3; 28=pictures_4; 29=compatibletestinstructions_4; 30=spacebar_compatible_4; 31=pictures_words_compatible_4; 32=pictures_reverse_4;
33=incompatibletestinstructions_4; 34=spacebar_incompatible_4; 35=pictures_words_incompatible_4; 36=summary_4; 37=pictures_5; 38=compatibletestinstructions_5; 39=spacebar_compatible_5; 40=pictures_words_compatible_5; 41=pictures_reverse_5;
42=incompatibletestinstructions_5; 43=spacebar_incompatible_5; 44=pictures_words_incompatible_5; 45=summary_5]
/onexptend = [values.completed = 1]

Still missing is the target.d instruction at the beginning, which should be at the beginning for every participant. 

I again, would really appreciate some advice! Thank you



It should be possible to use <batch> and pass the information through to every script:
https://www.millisecond.com/support/docs/v5/html/howto/batchparameters.htm

If you want to go the "all IATs in a single file" route, see https://www.millisecond.com/support/docs/v5/html/howto/multiplescripts.htm
You would have to set up an <expt> element for each possible IAT-order.

Clara
Clara
Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)
Group: Forum Members
Posts: 20, Visits: 127
Dave - Monday, June 5, 2017
Clara - Saturday, June 3, 2017
Hey, I got a (hopefully) last question. It's rather a new topic but I hope it is okay to post it here. 
I'm doing a study with 5 different IATs. I want to randomize all these IATs. I know there is this easy way with a batch file. However, at the beginning of the whole study the participants will receive these instructions of the target.d what you just explained to me, which tells them how they have to perform on every IAT. During the experiment Inquisit will check how they perform. So my problem is that I can't randomize the 5 IATs through a batch file because these target.d instructions need to be for all IATs together. If I would put them in different file, Inquisit would not relate the instructions to the IATs. So is there any possibility to randomize the IATs/blocks in one script file? 

This is my file, how it looks in the "expt" part... with 45 blocks for all the 5 IATs together:
<expt>
/blocks = [1=pictures_1; 2=compatibletestinstructions_1; 3=spacebar_compatible_1; 4=pictures_words_compatible_1; 5=pictures_reverse_1;
6=incompatibletestinstructions_1; 7=spacebar_incompatible_1; 8=pictures_words_incompatible_1; 9=summary_1; 10=pictures_2; 11=compatibletestinstructions_2; 12=spacebar_compatible_2; 13=pictures_words_compatible_2; 14=pictures_reverse_2;
15=incompatibletestinstructions_2; 16=spacebar_incompatible_2; 17=pictures_words_incompatible_2; 18=summary_2; 19=pictures_3; 20=compatibletestinstructions_3; 21=spacebar_compatible_3; 22=pictures_words_compatible_3; 23=pictures_reverse_3;
24=incompatibletestinstructions_3; 25=spacebar_incompatible_3; 26=pictures_words_incompatible_3; 27=summary_3; 28=pictures_4; 29=compatibletestinstructions_4; 30=spacebar_compatible_4; 31=pictures_words_compatible_4; 32=pictures_reverse_4;
33=incompatibletestinstructions_4; 34=spacebar_incompatible_4; 35=pictures_words_incompatible_4; 36=summary_4; 37=pictures_5; 38=compatibletestinstructions_5; 39=spacebar_compatible_5; 40=pictures_words_compatible_5; 41=pictures_reverse_5;
42=incompatibletestinstructions_5; 43=spacebar_incompatible_5; 44=pictures_words_incompatible_5; 45=summary_5]
/onexptend = [values.completed = 1]

Still missing is the target.d instruction at the beginning, which should be at the beginning for every participant. 

I again, would really appreciate some advice! Thank you



It should be possible to use <batch> and pass the information through to every script:
https://www.millisecond.com/support/docs/v5/html/howto/batchparameters.htm

If you want to go the "all IATs in a single file" route, see https://www.millisecond.com/support/docs/v5/html/howto/multiplescripts.htm
You would have to set up an <expt> element for each possible IAT-order.

Thank you!! 
Clara
Clara
Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)
Group: Forum Members
Posts: 20, Visits: 127
Hey Dave, 

could I also, instead of using a batch file or the include element, write literally everything of the 5 IATs in just one file and set up different <expt> element in that one file for each possible IAT-order?

Best, 
Clara

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search