Hi all,
i am a student trying to make an experiment testing the effects of different sounds on memory. I am new to psychopy and want to randomly allocate participants to 1 of 3 conditions, where in each condition they will hear different audio stimuli while seeing the same word stimuli, but I am not sure how to do this. any guidance on this would be great!
Something to note, I am not testing all my participants at once so I want to make sure there are still an equal amount of participants in each condition somehow.
Thank you!
You can have your participants assigned to different groups before experimentation, using the same window that you input participant ID into, and add an additional field (or just use the session field). Then at the beginning of your experiment add a code component that has something along the lines of:
if session == "A":
excel_trial_loop = trial_list_1.csv
if session == "B":
excel_trial_loop = trial_list_2.csv
And the field within loop where you would typically define that would be $excel_trial_loop.
If you are not comfortable with using code components. Just have 3 copies of the experiment and participant 1 will run experiment A, participant 2 will run experiment B, participant 3 will run experiment C, and then participant 4 will run experiment A (and the cycle continues).
I am assuming you don’t want a true randomization of group allocation, as you could theoretically end up with unequal group sizes, or no participants in one specific group even.
Issac