I am having some trouble varying the number of repetitions different conditions. For example, say I have numbers (1-6) appearing on screen and participants have to give a keyboard (Spacebar) response when it is an odd number, but do nothing when it is an even number. Therefore, I am just looping around a routine, which links to an excel file with such a structure:
I want a large majority (say 80%) of trials to require the participant to press the spacebar, i.e. be odd and a minority (say 20% to be even). Is there a way to vary the number of repetitions of each condition (i.e. row), without just copying and pasting lots more odd numbers in the excel file? This is because when my conditions get more complex later, I don’t want the same condition to appear twice in a row. I just want numbers 1-6 to be shown randomly, with a 80% predominance for numbers 1,3 and 5.
I would appreciate any advice on this.