Millisecond Forums

how make total score of a scale occur in the screen?

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

By [0] - 11/11/2008

Hi,  If i want to present the score of the  Rosenberg's self esteem in the screen when the subjects finisned the whole scale,  What I need do?


I know the total response time can be presented in the end ,  but i can not know how to present the score of the scale.  Many thanks.


Best.

By Dave - 11/11/2008

I recommend familiarizing yourself with Inquisit's <values> and <expressions> elements by reading the appropriate help topics first. Then, read through this thread and look at the posted examples. BTW - the forum has a nifty search function that can help you find such useful information...;-)

Best,
~Dave
By [0] - 11/12/2008

Hi, Dave, Many thanks to you.    Under your guiding,  my script is working.  Inquisit is very better and very powerful.  See the below. Best Regards.



<expt>
/ blocks = [1=likertrose1;2=likertrose2;3=likertrose3;4=likertrose4;5=likertrose5;6=likertrose6;7=likertrose7;8=likertrose8;9=likertrose9;10=likertrose10;11=value]
</expt>


<data>
/columns =[date time subject blocknum trialnum trialcode response latency stimulus]
/format=tab
</data>


<defaults>
/screencolor = (175, 255, 175)
/font = ("Arial", -24, 700, 0, 49)
/txbgcolor=(255,255,255)


</defaults>


<text rosenbergqs>
/size = (500, 70)
/items = rosenbergqs
/position = (50, 50)
/halign = center
/select = noreplace
</text>


<item rosenbergqs>
/1 =   "At times, I am not good at things."
/2 = "I take a positive view of myself."
/3 = "All in all, I am inclined to feel that I am a failure."
/4 = "I wish I could have more respect for myself."
/5 = "I certainly feel useless at times."
/6 = "I feel that I am a person of worth, at least on equal plane with others."
/7 = "On the whole, I am satisfied with myself."
/8 = "I feel I do not have much to be proud of."
/9 = "I feel that I have a number of good qualities."
/10 = "I am able to do things as well as most other people."
</item>


<likert likertrose1>
/ anchors = [1="strongly disgree"; 4="strongly agree"]
/ stimulusframes = [1 = rosenbergqs]
/ mouse=true
/ numpoints=4
/ position= (50, 80)
</likert>
<likert likertrose2>
/ anchors = [1="非常不同意"; 4="非常同意"]
/ stimulusframes = [1 = rosenbergqs]
/ mouse=true
/ numpoints=4
/ position= (50, 80)
</likert>


<likert likertrose3>
/ anchors = [1="非常不同意"; 4="非常同意"]
/ stimulusframes = [1 = rosenbergqs]
/ mouse=true
/ numpoints=4
/ position= (50, 80)
</likert>


<likert likertrose4>
/ anchors = [1="非常不同意"; 4="非常同意"]
/ stimulusframes = [1 = rosenbergqs]
/ mouse=true
/ numpoints=4
/ position= (50, 80)
</likert>


<likert likertrose5>
/ anchors = [1="非常不同意"; 4="非常同意"]
/ stimulusframes = [1 = rosenbergqs]
/ mouse=true
/ numpoints=4
/ position= (50, 80)
</likert>


<likert likertrose6>
/ anchors = [1="非常不同意"; 4="非常同意"]
/ stimulusframes = [1 = rosenbergqs]
/ mouse=true
/ numpoints=4
/ position= (50, 80)
</likert>


<likert likertrose7>
/ anchors = [1="非常不同意"; 4="非常同意"]
/ stimulusframes = [1 = rosenbergqs]
/ mouse=true
/ numpoints=4
/ position= (50, 80)
</likert>


<likert likertrose8>
/ anchors = [1="非常不同意"; 4="非常同意"]
/ stimulusframes = [1 = rosenbergqs]
/ mouse=true
/ numpoints=4
/ position= (50, 80)
</likert>


<likert likertrose9>
/ anchors = [1="非常不同意"; 4="非常同意"]
/ stimulusframes = [1 = rosenbergqs]
/ mouse=true
/ numpoints=4
/ position= (50, 80)
</likert>


<likert likertrose10>
/ anchors = [1="非常不同意"; 4="非常同意"]
/ stimulusframes = [1 = rosenbergqs]
/ mouse=true
/ numpoints=4
/ position= (50, 80)
</likert>



<block likertrose1>
/ trials = [1= likertrose1]
</block>


<block likertrose2>
/ trials = [1= likertrose2]
</block>


<block likertrose3>
/ trials = [1= likertrose3]
</block>


<block likertrose4>
/ trials = [1= likertrose4]
</block>


<block likertrose5>
/ trials = [1= likertrose5]
</block>


<block likertrose6>
/ trials = [1= likertrose6]
</block>


<block likertrose7>
/ trials = [1= likertrose7]
</block>


<block likertrose8>
/ trials = [1= likertrose8]
</block>


<block likertrose9>
/ trials = [1= likertrose9]
</block>


<block likertrose10>
/ trials = [1= likertrose10]
/ onblockend =[values.rosenbergqs=values.rosenbergqs+likert.likertrose1.response+likert.likertrose2.response+likert.likertrose3.response+likert.likertrose4.response+ likert.likertrose5.response+likert.likertrose6.response+ likert.likertrose7.response +  likert.likertrose8.response+ likert.likertrose9.response+ likert.likertrose10.response]
</block>


<block value>
/ trials = [1=value]
</block>


<trial value>
/ stimulusframes = [1=value]
/ inputdevice = mouse
/ timeout = 10000
</trial>


<values >
/rosenbergqs=0
</values>


<text value>
/ items = ("TOTALSCORE= <% values.rosenbergqs%>")
</text>


By Dave - 11/13/2008

That's great news! Have fun with Inquisit (I certainly do)!

Kind regards,
~Dave