[open] Loops
Hi,
I want to create an experiment where the participants have to solve mathematical equations in 8 different 'blocks'. In the first block the participant has to solve as much equations as possible within one minute. In the second block the participant has to solve 20 equations with no time limit. In the third block the participant has to solve as much equations as possible within one minute again, and so on (until block 8). So I need approximately 300 different mathematical equations (I have already set these up in Excel).
My question is: can I create 8 different loops, implement all 300 different equations within every single loop and only display 20 equations randomly? Or is there a better way to create this?
Thank you!
Comments
What you could do is set the repeat value of your
loops to a value smaller than 1. For example, if you have 300 cycles (assuming 1 cycle = 1 equation) and you want to randomly sample 20 of those, you would set repeat to .068 (= 20 / 300).Note, however, that if you do this multiple times (i.e. multiple blocks of 20), some equations may occur in multiple blocks, because you are randomly sampling anew with each block.
Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!