Group: Forum Members
Posts: 118,
Visits: 396
|
This may be a stupid question, but is there any way to suppress the presentation of buttonvalues for a Likert trial? For example, the following code produces a Likert trial in which the Likert response buttons are labelled from -4 to 4: <likert NiffLuupGroupPref> / mouse = true / stimulustimes = [0 = Grouppref, fillin, AnchorNiff, AnchorLuup] / fontstyle = ("Arial", 2%) / numpoints = 9 /anchorwidth = 10% / buttonvalues = [1 = "-4"; 2 = "-3", 3 = "-2", 4 = "-1", 5 = "0", 6 = "1", 7 = "2", 8 = "3", 9 = "4"] </likert>
<text Grouppref> / items = ("Which do you prefer in general?") / fontstyle = ("Arial", 5%) / position = (50, 20) </text>
<text fillin> / items = ("Respond with the mouse or by using the number keys (1-9 from left to right) to select an option and ENTER to confirm it.") / fontstyle = ("Arial", 2%) / position = (50, 80) </text>
<text AnchorNiff> / items = ("Strongly prefer Niffites") /size = (15%, 5%) / fontstyle = ("Arial", 3%) / position = (90, 40) </text>
<text AnchorLuup> / items = ("Strongly prefer Luupites") /size = (15%, 5%) / fontstyle = ("Arial", 3%) / position = (10, 40) </text> Is there a way to create a Likert item with the same internal button values, but without these numbers (-4 to 4) showing up on the Likert buttons? Thanks again!
|
Group: Administrators
Posts: 13K,
Visits: 105K
|
+xThis may be a stupid question, but is there any way to suppress the presentation of buttonvalues for a Likert trial? For example, the following code produces a Likert trial in which the Likert response buttons are labelled from -4 to 4: <likert NiffLuupGroupPref> / mouse = true / stimulustimes = [0 = Grouppref, fillin, AnchorNiff, AnchorLuup] / fontstyle = ("Arial", 2%) / numpoints = 9 /anchorwidth = 10% / buttonvalues = [1 = "-4"; 2 = "-3", 3 = "-2", 4 = "-1", 5 = "0", 6 = "1", 7 = "2", 8 = "3", 9 = "4"] </likert>
<text Grouppref> / items = ("Which do you prefer in general?") / fontstyle = ("Arial", 5%) / position = (50, 20) </text>
<text fillin> / items = ("Respond with the mouse or by using the number keys (1-9 from left to right) to select an option and ENTER to confirm it.") / fontstyle = ("Arial", 2%) / position = (50, 80) </text>
<text AnchorNiff> / items = ("Strongly prefer Niffites") /size = (15%, 5%) / fontstyle = ("Arial", 3%) / position = (90, 40) </text>
<text AnchorLuup> / items = ("Strongly prefer Luupites") /size = (15%, 5%) / fontstyle = ("Arial", 3%) / position = (10, 40) </text> Is there a way to create a Likert item with the same internal button values, but without these numbers (-4 to 4) showing up on the Likert buttons? Thanks again! > Is there a way to create a Likert item with the same internal button values, but without these numbers (-4 to 4) showing up on the Likert buttons? No. Best you can do with a <likert> is not use buttonvalues (so the buttons will say 1 to 9) and just log a variable that's the response minus five. <values> / response_adjusted = "" </values>
<likert NiffLuupGroupPref> / ontrialend = [ values.response_adjusted = likert.NiffLuupGroupPref.response - 5; ] / mouse = true / stimulustimes = [0 = Grouppref, fillin, AnchorNiff, AnchorLuup] / fontstyle = ("Arial", 2%) / numpoints = 9 /anchorwidth = 10% </likert>
<text Grouppref> / items = ("Which do you prefer in general?") / fontstyle = ("Arial", 5%) / position = (50, 20) </text>
<text fillin> / items = ("Respond with the mouse or by using the number keys (1-9 from left to right) to select an option and ENTER to confirm it.") / fontstyle = ("Arial", 2%) / position = (50, 80) </text>
<text AnchorNiff> / items = ("Strongly prefer Niffites") /size = (15%, 5%) / fontstyle = ("Arial", 3%) / position = (90, 40) </text>
<text AnchorLuup> / items = ("Strongly prefer Luupites") /size = (15%, 5%) / fontstyle = ("Arial", 3%) / position = (10, 40) </text>
<data> / columns = (date time group subject session build blocknum trialnum blockcode trialcode response values.response_adjusted correct latency) </data>
|