I created a loop so that the same 5 questions can be asked over and over again about my stimuli. I have packed my stimuli into a list that the loop iterates through. The list contains 40 pairs of elements (so a total of 80 list elements [[A1,A1′],[A2,A2′],…,[A40,A40′]]).
I want only one list element to be displayed per pair at a time, randomly, but equally distributed overall (the participant should see 20 A and 20 A’). I also want the order of the items to be random.
I’m sure this must be solvable with “triggers” or recording conditions, but can’t figure out how with the documentation.
(i) Is there a way to remember which list items have already been shown, to use this as a condition (on “include in list if…” or “include in random if…”)?
(ii) Is there a way to edit the questionnaire code directly? Then you could shuffle an array with [[0,1],[1,0′],…,[1,A0]]) and use it as condition or similar.
(iii) Is it solvable with quotas?
Th solution should satisfy (a) an equal distribution (50% A/ 50% A’), (b) random selection of item from pair (A/ A’), (c) random ordering of items (1-40) and (d) no duplicates of items.
Postscript: What does the option “is list element, if…”/ “is in random selection, if…” list_element_nr_6502548 != ‘x’ do?
In the preview the condition does not seem to exclude the list element if it is equal to the current list element (n != x) or exclude the list element if it is equal to the pevious list element ((n-1) != x).