You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to design an acceptability judgement experiment. I have 4 lists of sentences, I want each participant to see one and only one of these lists. This means that participant 1 sees list 1, participant 2 list 2, and so on.
The lists have different stimuli (and the same filler items). Ideally, I don't want the sentences inside each list to be randomised, as I would like to present them in a specific order.
I have tried with alternate-groups, but it does not seem to be working. Here is my code:
vartrial_structure={type: jsPsychHtmlButtonResponse,prompt:
"<p><em>Experiment prompt</em></p>",choices: ["1","2","3","4","5","6","7"],stimulus: jsPsych.timelineVariable("sentence")};vartrial_1={timeline: [trial_structure],timeline_variables: [{sentence: "sentence 1, group 1"},{sentence: "sentence 2, group 1"},{sentence: "sentence 3, group 1"},{sentence: "sentence 1, group 2"},{sentence: "sentence 2, group 2"},{sentence: "sentence 3, group 2"},],sample:{type: 'alternate-groups',groups:[[0,1,2],[3,4,5]],randomize_group_order: false}};timeline.push(trial_1)
This only gets to show first group 1, and then group 2 (if randomize_group_order: true they get mixed), which is not what I want.
I tried to follow the code here, but again this doesn't do what I would like it to do.
One solution would be to have 4 different experiments, one per list, and be very careful with the participants, but I was wondering whether this process could be automatised!
Thank you in advance, and sorry for any mistake! It's my first time coding.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi! Apologies for bothering you.
I'm trying to design an acceptability judgement experiment. I have 4 lists of sentences, I want each participant to see one and only one of these lists. This means that participant 1 sees list 1, participant 2 list 2, and so on.
The lists have different stimuli (and the same filler items). Ideally, I don't want the sentences inside each list to be randomised, as I would like to present them in a specific order.
I have tried with
alternate-groups
, but it does not seem to be working. Here is my code:This only gets to show first group 1, and then group 2 (if
randomize_group_order: true
they get mixed), which is not what I want.I tried to follow the code here, but again this doesn't do what I would like it to do.
One solution would be to have 4 different experiments, one per list, and be very careful with the participants, but I was wondering whether this process could be automatised!
Thank you in advance, and sorry for any mistake! It's my first time coding.
Beta Was this translation helpful? Give feedback.
All reactions