Hiding buttonvalues on Likert scales


Author
Message
AKrishna
AKrishna
Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)
Group: Forum Members
Posts: 88, Visits: 267
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!

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
AKrishna - 6/9/2022
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!

> 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>


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search