psychopy.org | Reference | Downloads | Github

How to randomise a block without expinfo participant information

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): MacOS
PsychoPy version (e.g. 1.84.x): 2021.1.3
Standard Standalone? (y/n) If not then what?: Y
What are you trying to achieve?:
I am trying to randomize the order of the blocks as seen below, i have tried the recommended randomization advice in the other links but as my participants arrive at the experiment with a completely random participant ID number from 1-1000 from qualtrics i have no way of assigning an order to the participant via an excel sheet. is there any way i can randomize the order without assigning it via the expinfo group/participant option?

What did you try to make it work?:
I have made seperate loops around the trials, im just unsure how to randomise the order
(upload://2eKp8MJVHu1ewvtfE0567Q74hn0.jpeg)
iNsYLnqe7rjxNdMQEMg41P0Xmg5.png)

do you need a completely randomised block design or a counterbalanced design?

Hi Rebecca
I need a randomized block design.

Thanks!

The usual way of doing this is to add an outer loop pointing to a spreadsheet with a single 1 in each row and the nReps for each inner loop being set to the name of each column.

Thank you for this!
I tried this at the start but it seems the only way to vary the order is according the participant numbers? However my participants will be coming to the experiment from qualtrics and i have assigned a random number from 1-1000 through qualtrics - so basically i was wondering if there was a way to set the order of the trials as random every time without it being based on participant.

I think you must be misunderstanding the solution. If the order of your outer loop is random then participants will see the inner loops in a random order.

Thank you!
I have tried what you recommended but it still doesnt seem to be random and its still in order.
The following screenshots are what i did. is this what you meant?



There’s a problem with your Reps.xlsx file

you have one row (1111). You should have four rows

1000
0100
0010
0001

yes you’re right!! that worked thank you so much!