Order of stimuli appears to alternate for no reason (multi-likert scale plugin) #2770
-
Hi. I am using the multi-likert scale plugin. A sentence is presented, and then two rating scales. Code is below (NB the variables When I run this, the sentence should appear, then the (NB I tried to create a Minimal Worked Example, and ran into a few problems. I hope the code below is sufficient). Thanks var rating_scale_1_to_20 = [
"Not at all", "1", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "Completely"
]
var ratings = {
type: jsPsychSurveyLikert,
questions: [
{prompt: () => String(jsPsych.timelineVariable(`sentence`)) +
`<br>` +
String(jsPsych.timelineVariable(`scale1`)),
labels: rating_scale_1_to_20,
required: true},
{prompt: () => String(jsPsych.timelineVariable(`scale2`)),
labels: rating_scale_1_to_20,
required: true}
],
scale_width: 800,
data: {
likert_response: 'ratings_response'
},
randomize_question_order: true
};
var ratings_test_procedure = {
timeline: [ratings],
timeline_variables: comparative_stims,
randomize_order: true
};
timeline.push(ratings_test_procedure);
/* start the experiment */
jsPsych.run(timeline); |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Could not test the code because I do not have the |
Beta Was this translation helpful? Give feedback.
Could not test the code because I do not have the
comparative_stims
variable. However, could the ordering that that you see be related to the fact that therandomize_question_order
property in your likert scale is set to true?