Random trial ordering #64
-
Hello! I'm a little new to UXF, so I may just be missing obvious something in the documentation. But I'm trying to figure out how to present my trials in a (semi-) random order within a block. Any recommendations? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
What is your definition of semi random? If you want them shuffled, you can use the https://github.com/immersivecognition/unity-experiment-framework/wiki/Factorial-design block1.trials.Shuffle(); If you want them shuffled, but same for each participant, you can supply an RNG object, the number represents the 'seed': var rand = new System.Random(12345); // pick a number to keep consistent
block1.trials.Shuffle(rand); |
Beta Was this translation helpful? Give feedback.
What is your definition of semi random? If you want them shuffled, you can use the
.Shuffle()
method when building your block. e.g. here:https://github.com/immersivecognition/unity-experiment-framework/wiki/Factorial-design
If you want them shuffled, but same for each participant, you can supply an RNG object, the number represents the 'seed':