open ended question response box


Author
Message
Shona
Shona
Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)
Group: Forum Members
Posts: 72, Visits: 58
Hi, 

I've read all of the documentation about open-ended response questions. However, I cannot figure out why my experiment does not allow participants to enter their text response. The open-ended question is portrayed on the screen but there is no response box for participants to enter their text response. Please let me know what I'm doing wrong. My script is pasted below. Thank you!!

Shona


***********************************************************************
                  AFFECT MISATTRIBUTION PROCEDURE (AMP)
***********************************************************************

***********************************************************************
                                 SCRIPT INFO

updated for Inquisit 4.0 by K. Borchert (katjab@millisecond.com) for Millisecond Software LLC

last changed: 08-14-2012
***********************************************************************
                              BACKGROUND INFO
***********************************************************************
A script that implements the AMP measuring implicit attitudes towards flowers and insects. 
The script is designed to be easily adaptable to other target categories. 



***********************************************************************
                                 DEFAULTS
***********************************************************************
requires Inquisit 4.0.0.0 or higher

<defaults>
/ fontstyle = ("Arial", 3.5%)
/ screencolor = white
/ txbgcolor = white
/ txcolor = black
/ minimumversion = "4.0.0.0"
/canvasaspectratio = (4, 3)
</defaults>
***********************************************************************
                                 VALUES
***********************************************************************
***********************************************************************
Scoring
***********************************************************************

************
editable parameters
************


************
other parameters
************
<values>
</values>

***********************************************************************
                                 DATA
***********************************************************************
***********************************************************************
Data Columns
***********************************************************************
******************
Raw Data Files
******************
<data>
/file = "AMP_rawdata.iqdat"
/columns = [date, time, subject, blockcode, blocknum, trialcode, trialnum, response, latency, trialdata, trialdata, stimulusitem, stimulusnumber, stimulusitem, stimulusnumber, stimulusitem, stimulusnumber, stimulusitem, stimulusnumber]
/separatefiles = true
</data>


***********************************************************************
                                 INSTRUCTIONS
***********************************************************************
***********************************************************************
Task instruction stimuli
***********************************************************************

<openended question1>
/ stimulusframes=[1=question1]
/ stop = ["4 of hearts"]
/ trialcode = "string"
/ validresponse = (" ")
/ linelength = 5
</openended>

<openended question2>
/ stimulusframes=[1=question2]
/ stop = ["4 of hearts"]
/ trialcode = "string"
/ validresponse = (" ")
/ linelength = 5
</openended>


<openended question3>
/ stimulusframes=[1=question3]
/ stop = ["4 of hearts"]
/ trialcode = "string"
/ validresponse = (" ")
/ linelength = 5
</openended>


<openended question4>
/ stimulusframes=[1=question4]
/ stop = ["4 of hearts"]
/ trialcode = "string"
/ validresponse = (" ")
/ linelength = 5
</openended>


<openended question5>
/ stimulusframes=[1=question5]
/ stop = ["4 of hearts"]
/ trialcode = "string"
/ validresponse = (" ")
/ linelength = 5
</openended>




<trial instructions>
/ stimulustimes = [1=instructions, spacebar]
/ correctresponse = (" ")
/ errormessage = false
/ recorddata = false
</trial>

<text instructions>
/ items = instructions
/ hjustify = left
/ size = (90%, 60%)
/ position = (50%, 85%)
/ valign = bottom
/ select = sequence
</text>


<item instructions>
/ 1 = "This study examines memory and also how people make simple judgments about political and other issues.~n~nYou will see a picture appear briefly followed by a sentence. Please try to attend to the pictures as your memory of them will be tested in a later part of the experiment. When you are presented with a sentence, please judge whether you 'disagree' or 'agree' on a 7-point scale ranging from 1 (strongly disagree) to 7 (strongly agree). Give us an honest assessment of the sentences, regardless of the images that precede them."
</item>


<text spacebar>
/ items = ("Press the SPACE BAR to begin.")
/ position = (50%, 95%)
/ valign = bottom
</text>



***********************************************************************
                                 STIMULI
***********************************************************************

***********************************************************************
This sample AMP can be easily adapted to different target categories 
and attributes. To change the categories, you need only change the 
stimulus items and labels immediately below this line.

***********************************************************************


<item likertlabel>
/1 = "(Strongly disagree)1----2----3----4----5----6----7(Strongly agree)"
</item>

<item heart>
/1 = "heart4.jpg"
/2 = "heart5.jpg"
</item>

<item fixation> 
/1= "fixation.jpg"
</item>


***********************************************************************
To change the categories, you need only change the stimulus items and 
labels immediately above this line. All commands below relate to the 
AMP procedure, and need only be changed if you wish to modify the 
generic AMP procedure.
***********************************************************************



***********************************************************************
Symbol and neutral stimuli
***********************************************************************

<text Question1>
/size = (75%, 75%)
/items = Question1
/position = (50%, 50%)
/halign = center
/selectionrate = always
</text>

<item Question1>
/1= "What was the suit and the number of the 1st card that you saw?"
</item>


<text Question2>
/size = (75%, 75%)
/items = Question2
/position = (50%, 50%)
/halign = center
/selectionrate = always
</text>

<item Question2>
/1= "What was the suit and the number of the 1st card that you saw?"
</item>


<text Question3>
/size = (75%, 75%)
/items = Question3
/position = (50%, 50%)
/halign = center
/selectionrate = always
</text>

<item Question3>
/1= "What was the suit and the number of the 1st card that you saw?"
</item>


<text Question4>
/size = (75%, 75%)
/items = Question4
/position = (50%, 50%)
/halign = center
/selectionrate = always
</text>

<item Question4>
/1= "What was the suit and the number of the 1st card that you saw?"
</item>


<text Question5>
/size = (75%, 75%)
/items = Question5
/position = (50%, 50%)
/halign = center
/selectionrate = always
</text>

<item Question5>
/1= "What was the suit and the number of the 1st card that you saw?"
</item>

<shape blank>
/ shape = rectangle
/ color = white
/ size = (50%, 50%)
</shape>

<picture fixation>
/ items = fixation
/ size = (50%, 50%)
</picture>

<picture heart>
/ items = heart
/ size = (50%, 50%)
</picture>

<text likertlabel>
/ items = likertlabel
/ valign = top
/ halign = center
/ position = (50%, 5%)
/ txcolor = green
/ fontstyle = ("Arial", 5%)
</text>


***********************************************************************
Trials
***********************************************************************

<trial 16ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 916=blank; 990=question1, question2, question3, question4, question5]
/ trialdata = [heart]
</trial>


<trial 32ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 932=blank; 1005=question1, question2, question3, question4, question5]
/ trialdata = [heart]
</trial>


<trial 64ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 964=blank; 1020=question1, question2, question3, question4, question5]
/ trialdata = [heart]
</trial>


<trial 80ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 980=blank; 1035=question1, question2, question3, question4, question5]
/ trialdata = [heart]
</trial>


<trial 96ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 996=blank; 1051=question1, question2, question3, question4, question5]
/ trialdata = [heart]
</trial>


<trial 1012ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 1012=blank; 1067=question1, question2, question3, question4, question5]
/ trialdata = [heart]
</trial>


<trial 1028ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 1028=blank; 1083=question1, question2, question3, question4, question5]
/ trialdata = [heart]
</trial>


<trial 1044ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 1044=blank; 1099=question1, question2, question3, question4, question5]
/ trialdata = [heart]
</trial>


<trial 1060ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 1060=blank; 1115=question1, question2, question3, question4, question5]
/ trialdata = [heart]
</trial>

<trial 1076ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 1076=blank; 1131=question1, question2, question3, question4, question5]
/ trialdata = [heart]
</trial>

***********************************************************************
Blocks
***********************************************************************
<block instructions>
/ trials = [1 = instructions]
/ recorddata = false
</block>

<block test>
/ trials = [1-3 = 16ms; 4-6 = 32ms; 7-9 = 64ms; 10-12 = 80ms; 13-15 = 96ms; 16-18 = 1012ms; 19-21 = 1028ms; 22-24 = 1044ms; 25-27 = 1060ms; 28-30 = 1076ms]
</block>


***********************************************************************
Experiment
***********************************************************************
<expt>
/ blocks = [1=instructions; 2=test]
</expt>

***********************************************************************
Test Monkey
***********************************************************************
<monkey>
/ latencydistribution = normal(500, 100)
/ percentcorrect = 90
</monkey>



***********End of Script********************



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: 108K
Shona,

an <openended> element is *not a stimulus*. An <openended> element *is a <trial>*. You need to run it via a <block> element's /trials attribute just like any other <trial> or <likert> element.

Edited 11 Years Ago by Dave
Shona
Shona
Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)
Group: Forum Members
Posts: 72, Visits: 58
Hi Dave, 

Thanks for your response. I've entered the openended response box as a trial, as you suggested. However, the openended response box is still not presented. My new script is pasted below. Do you have any ideas as to why it isn't working for me?

Thanks again!
***********************************************************************
                  AFFECT MISATTRIBUTION PROCEDURE (AMP)
***********************************************************************

***********************************************************************
                                 SCRIPT INFO

updated for Inquisit 4.0 by K. Borchert (katjab@millisecond.com) for Millisecond Software LLC

last changed: 08-14-2012
***********************************************************************
                              BACKGROUND INFO
***********************************************************************
A script that implements the AMP measuring implicit attitudes towards flowers and insects. 
The script is designed to be easily adaptable to other target categories. 



***********************************************************************
                                 DEFAULTS
***********************************************************************
requires Inquisit 4.0.0.0 or higher

<defaults>
/ fontstyle = ("Arial", 3.5%)
/ screencolor = white
/ txbgcolor = white
/ txcolor = black
/ minimumversion = "4.0.0.0"
/canvasaspectratio = (4, 3)
</defaults>
***********************************************************************
                                 VALUES
***********************************************************************
***********************************************************************
Scoring
***********************************************************************

************
editable parameters
************


************
other parameters
************
<values>
</values>

***********************************************************************
                                 DATA
***********************************************************************
***********************************************************************
Data Columns
***********************************************************************
******************
Raw Data Files
******************
<data>
/file = "AMP_rawdata.iqdat"
/columns = [date, time, subject, blockcode, blocknum, trialcode, trialnum, response, latency, trialdata, trialdata, stimulusitem, stimulusnumber, stimulusitem, stimulusnumber, stimulusitem, stimulusnumber, stimulusitem, stimulusnumber]
/separatefiles = true
</data>


***********************************************************************
                                 INSTRUCTIONS
***********************************************************************
***********************************************************************
Task instruction stimuli
***********************************************************************

<trial instructions>
/ stimulustimes = [1=instructions, spacebar]
/ correctresponse = (" ")
/ errormessage = false
/ recorddata = false
</trial>

<text instructions>
/ items = instructions
/ hjustify = left
/ size = (90%, 60%)
/ position = (50%, 85%)
/ valign = bottom
/ select = sequence
</text>


<item instructions>
/ 1 = "This study examines memory and also how people make simple judgments about political and other issues.~n~nYou will see a picture appear briefly followed by a sentence. Please try to attend to the pictures as your memory of them will be tested in a later part of the experiment. When you are presented with a sentence, please judge whether you 'disagree' or 'agree' on a 7-point scale ranging from 1 (strongly disagree) to 7 (strongly agree). Give us an honest assessment of the sentences, regardless of the images that precede them."
</item>


<text spacebar>
/ items = ("Press the SPACE BAR to begin.")
/ position = (50%, 95%)
/ valign = bottom
</text>



***********************************************************************
                                 STIMULI
***********************************************************************

***********************************************************************
This sample AMP can be easily adapted to different target categories 
and attributes. To change the categories, you need only change the 
stimulus items and labels immediately below this line.

***********************************************************************
<item heart>
/1 = "heart4.jpg"
/2 = "heart5.jpg"
</item>

<item fixation> 
/1= "fixation.jpg"
</item>


***********************************************************************
Symbol and neutral stimuli
***********************************************************************

<text Question>
/size = (75%, 75%)
/items = Question
/position = (50%, 50%)
/halign = center
/selectionrate = always
</text>

<item Question>
/1= "What was the suit and the number of the 1st card that you saw?"
</item>

<shape blank>
/ shape = rectangle
/ color = white
/ size = (50%, 50%)
</shape>

<picture fixation>
/ items = fixation
/ size = (50%, 50%)
</picture>

<picture heart>
/ items = heart
/ size = (50%, 50%)
</picture>

***********************************************************************
Trials
***********************************************************************

<trial 16ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 916=blank; 990=question]
/ trialdata = [heart]
</trial>

<trial 32ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 932=blank; 1005=question]
/ trialdata = [heart]
</trial>

<trial 64ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 964=blank; 1020=question]
/ trialdata = [heart]
</trial>

<trial 80ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 980=blank; 1035=question]
/ trialdata = [heart]
</trial>

<trial 96ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 996=blank; 1051=question]
/ trialdata = [heart]
</trial>

<trial 1012ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 1012=blank; 1067=question]
/ trialdata = [heart]
</trial>

<trial 1028ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 1028=blank; 1083=question]
/ trialdata = [heart]
</trial>


<trial 1044ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 1044=blank; 1099=question]
/ trialdata = [heart]
</trial>


<trial 1060ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 1060=blank; 1115=question]
/ trialdata = [heart]
</trial>

<trial 1076ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 1076=blank; 1131=question]
/ trialdata = [heart]
</trial>

<trial openended>
/ stimulusframes=[1=question]
/ linelength = 10
/ stop = ["4 of hearts"]
/ trialcode = "string"
/ validresponse = (" ")
</trial>


***********************************************************************
Blocks
***********************************************************************
<block instructions>
/ trials = [1 = instructions]
/ recorddata = false
</block>

<block test>
/ trials = [1-3 = 16ms; 4 = openended; 5-7 = 32ms; 8 = openended; 9-11 = 64ms; 12 = openended; 13-15 = 80ms; 16 = openended; 17-19 = 96ms; 20 = openended; 21-23 = 1012ms; 24 = openended; 25-27 = 1028ms; 28 = openended; 29-31 = 1044ms; 32 = openended; 33-35 = 1060ms; 36 = openended; 37-39 = 1076ms; 40 = openended]
</block>


***********************************************************************
Experiment
***********************************************************************
<expt>
/ blocks = [1=instructions; 2=test]
</expt>

***********************************************************************
Test Monkey
***********************************************************************
<monkey>
/ latencydistribution = normal(500, 100)
/ percentcorrect = 90
</monkey>



***********End of Script********************



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: 108K
Shona,

<trial openended>
/ stimulusframes=[1=question]
/ linelength = 10
/ stop = ["4 of hearts"]
/ trialcode = "string"
/ validresponse = (" ")
</trial>

calling a <trial> element 'openended' does not make it an <openended> element. Again, an <openended> element *is* a type of trial element. Thus you do:

<openended nameofopenendedelement>
...
</openended>

<block nameofblockelement>
/ trials = [...; 4 = nameofopenendedelement; ...]
...
</block>


Shona
Shona
Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)
Group: Forum Members
Posts: 72, Visits: 58
Hi Dave, 

Thanks so much for your response. I'm sorry for my continued confusion. I've defined my openended element as a trial. And, it's included in the blocks instructions. However, an openended response box is still not being displayed. Would you please let me know what I'm doing wrong? My updated script is pasted below. Thanks again so much!!


***********************************************************************
                  AFFECT MISATTRIBUTION PROCEDURE (AMP)
***********************************************************************

***********************************************************************
                                 SCRIPT INFO

updated for Inquisit 4.0 by K. Borchert (katjab@millisecond.com) for Millisecond Software LLC

last changed: 08-14-2012
***********************************************************************
                              BACKGROUND INFO
***********************************************************************
A script that implements the AMP measuring implicit attitudes towards flowers and insects. 
The script is designed to be easily adaptable to other target categories. 



***********************************************************************
                                 DEFAULTS
***********************************************************************
requires Inquisit 4.0.0.0 or higher

<defaults>
/ fontstyle = ("Arial", 3.5%)
/ screencolor = white
/ txbgcolor = white
/ txcolor = black
/ minimumversion = "4.0.0.0"
/canvasaspectratio = (4, 3)
</defaults>
***********************************************************************
                                 VALUES
***********************************************************************
***********************************************************************
Scoring
***********************************************************************

************
editable parameters
************


************
other parameters
************
<values>
</values>

***********************************************************************
                                 DATA
***********************************************************************
***********************************************************************
Data Columns
***********************************************************************
******************
Raw Data Files
******************
<data>
/file = "AMP_rawdata.iqdat"
/columns = [date, time, subject, blockcode, blocknum, trialcode, trialnum, response, latency, trialdata, trialdata, stimulusitem, stimulusnumber, stimulusitem, stimulusnumber, stimulusitem, stimulusnumber, stimulusitem, stimulusnumber]
/separatefiles = true
</data>


***********************************************************************
                                 INSTRUCTIONS
***********************************************************************
***********************************************************************
Task instruction stimuli
***********************************************************************

<trial instructions>
/ stimulustimes = [1=instructions, spacebar]
/ correctresponse = (" ")
/ errormessage = false
/ recorddata = false
</trial>

<text instructions>
/ items = instructions
/ hjustify = left
/ size = (90%, 60%)
/ position = (50%, 85%)
/ valign = bottom
/ select = sequence
</text>


<item instructions>
/ 1 = "This study examines memory and also how people make simple judgments about political and other issues.~n~nYou will see a picture appear briefly followed by a sentence. Please try to attend to the pictures as your memory of them will be tested in a later part of the experiment. When you are presented with a sentence, please judge whether you 'disagree' or 'agree' on a 7-point scale ranging from 1 (strongly disagree) to 7 (strongly agree). Give us an honest assessment of the sentences, regardless of the images that precede them."
</item>


<text spacebar>
/ items = ("Press the SPACE BAR to begin.")
/ position = (50%, 95%)
/ valign = bottom
</text>



***********************************************************************
                                 STIMULI
***********************************************************************

***********************************************************************
This sample AMP can be easily adapted to different target categories 
and attributes. To change the categories, you need only change the 
stimulus items and labels immediately below this line.

***********************************************************************
<item heart>
/1 = "heart4.jpg"
/2 = "heart5.jpg"
</item>

<item fixation> 
/1= "fixation.jpg"
</item>


***********************************************************************
Symbol and neutral stimuli
***********************************************************************

<text Question>
/size = (75%, 75%)
/items = Question
/position = (50%, 50%)
/halign = center
/selectionrate = always
</text>

<item Question>
/1= "What was the suit and the number of the 1st card that you saw?"
</item>

<shape blank>
/ shape = rectangle
/ color = white
/ size = (50%, 50%)
</shape>

<picture fixation>
/ items = fixation
/ size = (50%, 50%)
</picture>

<picture heart>
/ items = heart
/ size = (50%, 50%)
</picture>

***********************************************************************
Trials
***********************************************************************

<trial 16ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 916=blank; 990=question]
/ trialdata = [heart]
</trial>

<trial 32ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 932=blank; 1005=question]
/ trialdata = [heart]
</trial>

<trial 64ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 964=blank; 1020=question]
/ trialdata = [heart]
</trial>

<trial 80ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 980=blank; 1035=question]
/ trialdata = [heart]
</trial>

<trial 96ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 996=blank; 1051=question]
/ trialdata = [heart]
</trial>

<trial 1012ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 1012=blank; 1067=question]
/ trialdata = [heart]
</trial>

<trial 1028ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 1028=blank; 1083=question]
/ trialdata = [heart]
</trial>


<trial 1044ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 1044=blank; 1099=question]
/ trialdata = [heart]
</trial>


<trial 1060ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 1060=blank; 1115=question]
/ trialdata = [heart]
</trial>

<trial 1076ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 1076=blank; 1131=question]
/ trialdata = [heart]
</trial>

<openended openended>
/ stimulusframes=[1=question]
/ linelength = 10
/ stop = ["4 of hearts"]
/ trialcode = "string"
/ validresponse = (" ")
</openended>


***********************************************************************
Blocks
***********************************************************************
<block instructions>
/ trials = [1 = instructions]
/ recorddata = false
</block>

<block test>
/ trials = [1-3 = 16ms; 4 = openended; 5-7 = 32ms; 8 = openended; 9-11 = 64ms; 12 = openended; 13-15 = 80ms; 16 = openended; 17-19 = 96ms; 20 = openended; 21-23 = 1012ms; 24 = openended; 25-27 = 1028ms; 28 = openended; 29-31 = 1044ms; 32 = openended; 33-35 = 1060ms; 36 = openended; 37-39 = 1076ms; 40 = openended]
</block>


***********************************************************************
Experiment
***********************************************************************
<expt>
/ blocks = [1=instructions; 2=test]
</expt>

***********************************************************************
Test Monkey
***********************************************************************
<monkey>
/ latencydistribution = normal(500, 100)
/ percentcorrect = 90
</monkey>



***********End of Script********************




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: 108K
Shona,

*nowhere* in your <block>s do you run any of these <openended> elements:


<openended question1>
/ stimulusframes=[1=question1]
/ stop = ["4 of hearts"]
/ trialcode = "string"
/ validresponse = (" ")
/ linelength = 5
</openended>

<openended question2>
/ stimulusframes=[1=question2]
/ stop = ["4 of hearts"]
/ trialcode = "string"
/ validresponse = (" ")
/ linelength = 5
</openended>


<openended question3>
/ stimulusframes=[1=question3]
/ stop = ["4 of hearts"]
/ trialcode = "string"
/ validresponse = (" ")
/ linelength = 5
</openended>


<openended question4>
/ stimulusframes=[1=question4]
/ stop = ["4 of hearts"]
/ trialcode = "string"
/ validresponse = (" ")
/ linelength = 5
</openended>


<openended question5>
/ stimulusframes=[1=question5]
/ stop = ["4 of hearts"]
/ trialcode = "string"
/ validresponse = (" ")
/ linelength = 5
</openended>

The only one you ever use is


<openended openended>
/ stimulusframes=[1=question]
/ linelength = 10
/ stop = ["4 of hearts"]
/ trialcode = "string"
/ validresponse = (" ")
</openended>

as per


<block test>
/ trials = [1-3 = 16ms; 4 = openended; 5-7 = 32ms; 8 = openended; 9-11 = 64ms; 12 = openended; 13-15 = 80ms; 16 = openended; 17-19 = 96ms; 20 = openended; 21-23 = 1012ms; 24 = openended; 25-27 = 1028ms; 28 = openended; 29-31 = 1044ms; 32 = openended; 33-35 = 1060ms; 36 = openended; 37-39 = 1076ms; 40 = openended]
</block>

Shona
Shona
Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)
Group: Forum Members
Posts: 72, Visits: 58
Hi Dave, 
In the updated script, I no longer refer to the question1, question2, question3, question4, question5 openended elements. I only refer to one openended element, which is the one that is inserted in the block trials, as you noted. Therefore, I don't understand why an openended response box is not being presented. My complete updated script is pasted again below. I'd be so grateful for any advice. Thanks again!

***********************************************************************
                  AFFECT MISATTRIBUTION PROCEDURE (AMP)
***********************************************************************

***********************************************************************
                                 SCRIPT INFO

updated for Inquisit 4.0 by K. Borchert (katjab@millisecond.com) for Millisecond Software LLC

last changed: 08-14-2012
***********************************************************************
                              BACKGROUND INFO
***********************************************************************
A script that implements the AMP measuring implicit attitudes towards flowers and insects. 
The script is designed to be easily adaptable to other target categories. 



***********************************************************************
                                 DEFAULTS
***********************************************************************
requires Inquisit 4.0.0.0 or higher

<defaults>
/ fontstyle = ("Arial", 3.5%)
/ screencolor = white
/ txbgcolor = white
/ txcolor = black
/ minimumversion = "4.0.0.0"
/canvasaspectratio = (4, 3)
</defaults>
***********************************************************************
                                 VALUES
***********************************************************************
***********************************************************************
Scoring
***********************************************************************

************
editable parameters
************


************
other parameters
************
<values>
</values>

***********************************************************************
                                 DATA
***********************************************************************
***********************************************************************
Data Columns
***********************************************************************
******************
Raw Data Files
******************
<data>
/file = "AMP_rawdata.iqdat"
/columns = [date, time, subject, blockcode, blocknum, trialcode, trialnum, response, latency, trialdata, trialdata, stimulusitem, stimulusnumber, stimulusitem, stimulusnumber, stimulusitem, stimulusnumber, stimulusitem, stimulusnumber]
/separatefiles = true
</data>


***********************************************************************
                                 INSTRUCTIONS
***********************************************************************
***********************************************************************
Task instruction stimuli
***********************************************************************

<trial instructions>
/ stimulustimes = [1=instructions, spacebar]
/ correctresponse = (" ")
/ errormessage = false
/ recorddata = false
</trial>

<text instructions>
/ items = instructions
/ hjustify = left
/ size = (90%, 60%)
/ position = (50%, 85%)
/ valign = bottom
/ select = sequence
</text>


<item instructions>
/ 1 = "This study examines memory and also how people make simple judgments about political and other issues.~n~nYou will see a picture appear briefly followed by a sentence. Please try to attend to the pictures as your memory of them will be tested in a later part of the experiment. When you are presented with a sentence, please judge whether you 'disagree' or 'agree' on a 7-point scale ranging from 1 (strongly disagree) to 7 (strongly agree). Give us an honest assessment of the sentences, regardless of the images that precede them."
</item>


<text spacebar>
/ items = ("Press the SPACE BAR to begin.")
/ position = (50%, 95%)
/ valign = bottom
</text>



***********************************************************************
                                 STIMULI
***********************************************************************

***********************************************************************
This sample AMP can be easily adapted to different target categories 
and attributes. To change the categories, you need only change the 
stimulus items and labels immediately below this line.

***********************************************************************
<item heart>
/1 = "heart4.jpg"
/2 = "heart5.jpg"
</item>

<item fixation> 
/1= "fixation.jpg"
</item>


***********************************************************************
Symbol and neutral stimuli
***********************************************************************

<text Question>
/size = (75%, 75%)
/items = Question
/position = (50%, 50%)
/halign = center
/selectionrate = always
</text>

<item Question>
/1= "What was the suit and the number of the 1st card that you saw?"
</item>

<shape blank>
/ shape = rectangle
/ color = white
/ size = (50%, 50%)
</shape>

<picture fixation>
/ items = fixation
/ size = (50%, 50%)
</picture>

<picture heart>
/ items = heart
/ size = (50%, 50%)
</picture>

***********************************************************************
Trials
***********************************************************************

<trial 16ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 916=blank; 990=question]
/ trialdata = [heart]
</trial>

<trial 32ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 932=blank; 1005=question]
/ trialdata = [heart]
</trial>

<trial 64ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 964=blank; 1020=question]
/ trialdata = [heart]
</trial>

<trial 80ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 980=blank; 1035=question]
/ trialdata = [heart]
</trial>

<trial 96ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 996=blank; 1051=question]
/ trialdata = [heart]
</trial>

<trial 1012ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 1012=blank; 1067=question]
/ trialdata = [heart]
</trial>

<trial 1028ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 1028=blank; 1083=question]
/ trialdata = [heart]
</trial>


<trial 1044ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 1044=blank; 1099=question]
/ trialdata = [heart]
</trial>


<trial 1060ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 1060=blank; 1115=question]
/ trialdata = [heart]
</trial>

<trial 1076ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 1076=blank; 1131=question]
/ trialdata = [heart]
</trial>

<openended openended>
/ stimulusframes=[1=question]
/ linelength = 10
/ stop = ["4 of hearts"]
/ trialcode = "string"
/ validresponse = (" ")
</openended>


***********************************************************************
Blocks
***********************************************************************
<block instructions>
/ trials = [1 = instructions]
/ recorddata = false
</block>

<block test>
/ trials = [1-3 = 16ms; 4 = openended; 5-7 = 32ms; 8 = openended; 9-11 = 64ms; 12 = openended; 13-15 = 80ms; 16 = openended; 17-19 = 96ms; 20 = openended; 21-23 = 1012ms; 24 = openended; 25-27 = 1028ms; 28 = openended; 29-31 = 1044ms; 32 = openended; 33-35 = 1060ms; 36 = openended; 37-39 = 1076ms; 40 = openended]
</block>


***********************************************************************
Experiment
***********************************************************************
<expt>
/ blocks = [1=instructions; 2=test]
</expt>

***********************************************************************
Test Monkey
***********************************************************************
<monkey>
/ latencydistribution = normal(500, 100)
/ percentcorrect = 90
</monkey>



***********End of Script********************



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: 108K
BUT IT IS SHOWN!!!

Look, you first run <trial 16ms> *three times*:

<block test>
/ trials = [1-3 = 16ms; 4 = openended; 5-7 = 32ms; 8 = openended; 9-11 = 64ms; 12 = openended; 13-15 = 80ms; 16 = openended; 17-19 = 96ms; 20 = openended; 21-23 = 1012ms; 24 = openended; 25-27 = 1028ms; 28 = openended; 29-31 = 1044ms; 32 = openended; 33-35 = 1060ms; 36 = openended; 37-39 = 1076ms; 40 = openended]
</block>

That trial expects one of the following responses:

<trial 16ms>
/ validresponse = ("1", "2", "3", "4", "5", "6", "7")
/ stimulustimes = [0=fixation; 900=heart; 916=blank; 990=question]
/ trialdata = [heart]
</trial>

Only the *fourth trial* is the openended:

<block test>
/ trials = [1-3 = 16ms; 4 = openended; 5-7 = 32ms; 8 = openended; 9-11 = 64ms; 12 = openended; 13-15 = 80ms; 16 = openended; 17-19 = 96ms; 20 = openended; 21-23 = 1012ms; 24 = openended; 25-27 = 1028ms; 28 = openended; 29-31 = 1044ms; 32 = openended; 33-35 = 1060ms; 36 = openended; 37-39 = 1076ms; 40 = openended]
</block>

So, run that thing, press 1 three times and you'll happily land in your openended trial. That is what you instructed the script to do.

Edited 11 Years Ago by Dave
Shona
Shona
Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)
Group: Forum Members
Posts: 72, Visits: 58
Thanks so much for your help!!
Shona
Shona
Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)Guru (12K reputation)
Group: Forum Members
Posts: 72, Visits: 58
Wait. I'm so sorry to bother you again but the openended response box still isn't being presented, even after I fixed the trials error that you pointed out. My script is pasted below. Would you please let me know what I'm doing wrong? I'm so grateful for your help!

***********************************************************************
                  AFFECT MISATTRIBUTION PROCEDURE (AMP)
***********************************************************************

***********************************************************************
                                 SCRIPT INFO

updated for Inquisit 4.0 by K. Borchert (katjab@millisecond.com) for Millisecond Software LLC

last changed: 08-14-2012
***********************************************************************
                              BACKGROUND INFO
***********************************************************************
A script that implements the AMP measuring implicit attitudes towards flowers and insects. 
The script is designed to be easily adaptable to other target categories. 



***********************************************************************
                                 DEFAULTS
***********************************************************************
requires Inquisit 4.0.0.0 or higher

<defaults>
/ fontstyle = ("Arial", 3.5%)
/ screencolor = white
/ txbgcolor = white
/ txcolor = black
/ minimumversion = "4.0.0.0"
/canvasaspectratio = (4, 3)
</defaults>
***********************************************************************
                                 VALUES
***********************************************************************
***********************************************************************
Scoring
***********************************************************************

************
editable parameters
************


************
other parameters
************
<values>
</values>

***********************************************************************
                                 DATA
***********************************************************************
***********************************************************************
Data Columns
***********************************************************************
******************
Raw Data Files
******************
<data>
/file = "AMP_rawdata.iqdat"
/columns = [date, time, subject, blockcode, blocknum, trialcode, trialnum, response, latency, trialdata, trialdata, stimulusitem, stimulusnumber, stimulusitem, stimulusnumber, stimulusitem, stimulusnumber, stimulusitem, stimulusnumber]
/separatefiles = true
</data>


***********************************************************************
                                 INSTRUCTIONS
***********************************************************************
***********************************************************************
Task instruction stimuli
***********************************************************************

<trial instructions>
/ stimulustimes = [1=instructions, spacebar]
/ correctresponse = (" ")
/ errormessage = false
/ recorddata = false
</trial>

<text instructions>
/ items = instructions
/ hjustify = left
/ size = (90%, 60%)
/ position = (50%, 85%)
/ valign = bottom
/ select = sequence
</text>


<item instructions>
/ 1 = "This study examines memory and also how people make simple judgments about political and other issues.~n~nYou will see a picture appear briefly followed by a sentence. Please try to attend to the pictures as your memory of them will be tested in a later part of the experiment. When you are presented with a sentence, please judge whether you 'disagree' or 'agree' on a 7-point scale ranging from 1 (strongly disagree) to 7 (strongly agree). Give us an honest assessment of the sentences, regardless of the images that precede them."
</item>


<text spacebar>
/ items = ("Press the SPACE BAR to begin.")
/ position = (50%, 95%)
/ valign = bottom
</text>



***********************************************************************
                                 STIMULI
***********************************************************************

***********************************************************************
This sample AMP can be easily adapted to different target categories 
and attributes. To change the categories, you need only change the 
stimulus items and labels immediately below this line.

***********************************************************************
<item heart>
/1 = "heart4.jpg"
/2 = "heart5.jpg"
</item>

<item fixation> 
/1= "fixation.jpg"
</item>


***********************************************************************
Symbol and neutral stimuli
***********************************************************************

<text Question1>
/size = (75%, 75%)
/items = Question1
/position = (50%, 50%)
/halign = center
/selectionrate = always
</text>

<item Question1>
/1= "What was the suit and the number of the 1st card that you saw?"
</item>

<text Question2>
/size = (75%, 75%)
/items = Question2
/position = (50%, 50%)
/halign = center
/selectionrate = always
</text>

<item Question2>
/1= "What was the suit and the number of the 2nd card that you saw?"
</item>

<text Question3>
/size = (75%, 75%)
/items = Question3
/position = (50%, 50%)
/halign = center
/selectionrate = always
</text>

<item Question3>
/1= "What was the suit and the number of the 3rd card that you saw?"
</item>

<text Question4>
/size = (75%, 75%)
/items = Question4
/position = (50%, 50%)
/halign = center
/selectionrate = always
</text>

<item Question4>
/1= "What was the suit and the number of the 4th card that you saw?"
</item>


<text Question5>
/size = (75%, 75%)
/items = Question5
/position = (50%, 50%)
/halign = center
/selectionrate = always
</text>

<item Question5>
/1= "What was the suit and the number of the 5th card that you saw?"
</item>

<shape blank>
/ shape = rectangle
/ color = white
/ size = (50%, 50%)
</shape>

<picture fixation>
/ items = fixation
/ size = (50%, 50%)
</picture>

<picture heart>
/ items = heart
/ size = (50%, 50%)
</picture>

***********************************************************************
Trials
***********************************************************************

<trial 16ms>
/ validresponse = (openended)
/ stimulustimes = [0=fixation; 900=heart; 916=blank; 990=question1]
/ trialdata = [heart]
</trial>

<trial 32ms>
/ validresponse = (openended)
/ stimulustimes = [0=fixation; 900=heart; 932=blank; 1005=question1]
/ trialdata = [heart]
</trial>

<trial 64ms>
/ validresponse = (openended)
/ stimulustimes = [0=fixation; 900=heart; 964=blank; 1020=question1]
/ trialdata = [heart]
</trial>

<trial 80ms>
/ validresponse = (openended)
/ stimulustimes = [0=fixation; 900=heart; 980=blank; 1035=question1]
/ trialdata = [heart]
</trial>

<trial 96ms>
/ validresponse = (openended)
/ stimulustimes = [0=fixation; 900=heart; 996=blank; 1051=question1]
/ trialdata = [heart]
</trial>

<trial 1012ms>
/ validresponse = (openended)
/ stimulustimes = [0=fixation; 900=heart; 1012=blank; 1067=question1]
/ trialdata = [heart]
</trial>

<trial 1028ms>
/ validresponse = (openended)
/ stimulustimes = [0=fixation; 900=heart; 1028=blank; 1083=question1]
/ trialdata = [heart]
</trial>


<trial 1044ms>
/ validresponse = (openended)
/ stimulustimes = [0=fixation; 900=heart; 1044=blank; 1099=question1]
/ trialdata = [heart]
</trial>


<trial 1060ms>
/ validresponse = (openended)
/ stimulustimes = [0=fixation; 900=heart; 1060=blank; 1115=question1]
/ trialdata = [heart]
</trial>

<trial 1076ms>
/ validresponse = (openended)
/ stimulustimes = [0=fixation; 900=heart; 1076=blank; 1131=question1]
/ trialdata = [heart]
</trial>

<openended openended>
/ linelength = 10
/ trialcode = "string"
/ validresponse = (" ")
</openended>


***********************************************************************
Blocks
***********************************************************************
<block instructions>
/ trials = [1 = instructions]
/ recorddata = false
</block>

<block test>
/ trials = [1 = 16ms; 2 = openended; 3 = 16ms; 4 = openended; 5 = 16ms; 6 = openended; 7 = 32ms; 8 = openended; 9 = 32ms; 10 = openended; 11 = 32ms; 12 = openended; 13 = 64ms; 14 = openended; 15 = 64ms; 16 = openended; 17 = 64ms; 18 = openended; 19 = 80ms; 20 = openended;  21 = 80ms; 22 = openended;  23 = 80ms; 24 = openended; 25 = 96ms; 26 = openended; 27 = 96ms; 28 = openended; 29 = 96ms; 30 = 1012ms; 31 = openended; 32 = 1012ms; 33 = openended; 34 = 1012ms; 35 = openended; 36 = 1028ms; 37 = openended; 38 = 1028ms; 39 = openended; 40 = 1028ms; 41 = openended; 42 = 1044ms; 43 = openended; 44 = 1044ms; 45 = openended; 46 = 1044ms; 47 = openended; 48 = 1060ms; 49 = openended; 50 = 1060ms; 51 = openended; 52 = 1060ms; 53 = openended; 54 = 1076ms; 55 = openended; 56 = 1076ms; 57 = openended; 58 = 1076ms; 59 = openended]
</block>


***********************************************************************
Experiment
***********************************************************************
<expt>
/ blocks = [1=instructions; 2=test]
</expt>

***********************************************************************
Test Monkey
***********************************************************************
<monkey>
/ latencydistribution = normal(500, 100)
/ percentcorrect = 90
</monkey>



***********End of Script********************



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search