Image Rating Task


Author
Message
ldobb
ldobb
Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)
Group: Forum Members
Posts: 36, Visits: 146
Hello there!

I'm setting up a task where participants view an image for a few seconds and then answer two followup surveypage/slider questions about the image. I have two categories of images. I'm currently trying to figure out how, using values and expressions, I can generate a value for "average slider rating" on each question in each category as well as average latency for each question/category.

Here is what I've started with - please not that it's a complete mess, I'm basically just trying things out until I figure out how to best score this. All feedback is greatly appreciated.


<picture alc>
/ items = (
"1P_1.jpg","1P_2.jpg","1P_3.jpg","1P_4.jpg","1P_5.jpg",
"1P_6.jpg","1P_7.jpg","1P_8.jpg","1P_9.jpg","1P_10.jpg",
"1P_11.jpg","1P_12.jpg","1P_13.jpg","1P_14.jpg","1P_15.jpg",
"1P_16.jpg","1P_17.jpg","1P_18.jpg")
/ select = noreplace
/ size = (90%, 90%)
</picture>

<picture nonalc>
/ items = ("2P_1.jpg","2P_2.jpg",
"2P_3.jpg","2P_4.jpg","2P_5.jpg","2P_6.jpg","2P_7.jpg",
"2P_8.jpg","2P_9.jpg","2P_10.jpg","2P_11.jpg","2P_12.jpg",
"2P_13.jpg","2P_14.jpg","2P_15.jpg","2P_16.jpg","2P_17.jpg","2P_18.jpg")
/ select = noreplace
/ size = (90%, 90%)
</picture>

<trial alc>
/ stimulustimes = [0 = alc]
/ validresponse = (0)
/ correctresponse = (0)
/ trialduration = 3000
/ branch = [if(trial.alc.correct) surveypage.pic_surv1]
/ ontrialbegin = [values.category = 1]
</trial>

<values>
/ category = 0
/ alcenjrating = 0
</values>

<expressions>
/ meanalcscore = trial.alc.response
/ alclatenjoy = [if (values.category == 1) meanlatency (surveypage.pic_surv1)]
/ nonalclatenjoy = [if (values.category == 2) meanlatency (surveypage.pic_surv1)]
</expressions>

<trial nonalc>
/ stimulustimes = [0 = nonalc]
/ validresponse = (0)
/ correctresponse = (0)
/ trialduration = 3000
/ branch = [if(trial.nonalc.correct) surveypage.pic_surv1]
/ ontrialbegin = [values.category = 2]
</trial>

<surveypage pic_surv1>
/ branch = [if(slider.stim_slider1.response = true) surveypage.pic_surv2]
/ questions = [1 = stim_slider1]
/ stimulusframes = [1 = slider_q1, slider_l1, slider_r1, slider_remind]
/ showpagenumbers = false
/ showquestionnumbers = false
/ finishlabel = "Submit"
/ navigationbuttonfontstyle = ("Arial", 2.5%, true)
/ nextbuttonposition = (46.75%, 70%)
/ ontrialbegin = [if (values.category == 1) values.category = 1 || if (values.category == 2) values.category = 2]
/ ontrialend = [if (values.category == 1) values.alcenjrating = surveypage.pic_surv1.response]
</surveypage>

<surveypage pic_surv2>
/ questions = [1 = stim_slider2]
/ stimulusframes = [1 = slider_q2, slider_l2, slider_r2, slider_remind]
/ showpagenumbers = false
/ showquestionnumbers = false
/ finishlabel = "Submit"
/ navigationbuttonfontstyle = ("Arial", 2.5%, true)
/ nextbuttonposition = (46.75%, 70%)
</surveypage>

<slider stim_slider1>
/ range = (0, 100)
/ increment = 1
/ slidersize = (100%, 50%)
/ position = (10%, 50%)
/ showtooltips = false
</slider>

<slider stim_slider2>
/ range = (0, 100)
/ increment = 1
/ slidersize = (100%, 50%)
/ position = (10%, 50%)
/ showtooltips = false
</slider>

<text slider_q1>
/ items = ("How much would you ENJOY drinking this beverage?")
/ hjustify = center
/ vjustify = center
/ fontstyle = ("Arial", 4%, true)
/ position = (50%, 40%)
</text>

<text slider_q2>
/ items = ("How much do you WANT this beverage right now?")
/ hjustify = center
/ vjustify = center
/ fontstyle = ("Arial", 4%, true)
/ position = (50%, 40%)
</text>

<text slider_remind>
/ items = ("Drag the slider along the line to select your response.")
/ hjustify = center
/ vjustify = center
/ fontstyle = ("Arial", 2%, true)
/ position = (50%, 45%)
/ txcolor = (64, 64, 64)
</text>

<text slider_l1>
/ items = ("I would not enjoy it at all.")
/ fontstyle = ("Arial", 2.25%, true)
/ position = (10%, 56%)
</text>

<text slider_r1>
/ items = ("I would enjoy this a lot.")
/ fontstyle = ("Arial", 2.25%, true)
/ position = (90%, 56%)
</text>

<text slider_l2>
/ items = ("I do not want this beverage at all right now.")
/ fontstyle = ("Arial", 2.25%, true)
/ position = (15%, 56%)
</text>

<text slider_r2>
/ items = ("I really want this beverage right now.")
/ fontstyle = ("Arial", 2.25%, true)
/ position = (85%, 56%)
</text>






GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
ldobb - 8 Years Ago
ldobb - 8 Years Ago
Dave - 8 Years Ago
ldobb - 8 Years Ago
ldobb - 8 Years Ago
                         To display elements on a <surveypage>, you use the page's...
Dave - 8 Years Ago
                             I see what you mean. How does a surveypage's stimulusframes correspond...
ldobb - 8 Years Ago
                                 It doesn't. Those are two entirely separate things. If you need...
Dave - 8 Years Ago
ldobb - 8 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search