If this template helps then use it. If not then just delete and start from scratch.
Hi, I am trying to build an experiment where 5 words are chosen out of 10 in each loop. The problem is, that the words cannot repeat within the experiment. So, the five words chosen in the first loop cannot appear in the second loop. Basically, I need to achieve random selection without replacement.
In the image below I am referring to the routine “trial”. The conditions file, which has 10 rows of words is loaded in the loop “trials_3”
I am super new at this, so I’m sorry if I did not provide enough information. I am assuming I will have to write code to make the experiment do what I want. I was thinking that perhaps I can create an array and load into that array the word that is chosen at each frame and then somehow write code so that the array stops the output of already used words, but I do not know how to code for all of that either.