Millisecond Forums

random selection without replacement BETWEEN SUBJECTS

https://forums.millisecond.com/Topic19609.aspx

By dukanske - 8/29/2016

Hi,

Is there any way to get random selection without replacement of stimuli between consecutive participants? Say I have four different pieces of sound stimuli as a between subjects variable and need automatic, equal, and random distribution of participants to the four conditions. How do I do that?

I look forward to any suggestions you may have!

Thanks,
Freddie
By Dave - 8/29/2016

You implement that like any other between-subjects condition, i.e., set up for <expt>s (one per condition), or use the <variables> element (not generally recommended), or use conditional <include> elements (one per condition). If you're in the lab, you obviously have direct control over how you assign participants to conditions. If on the web, you have several options:
- generate a random id for assignment (without replacement)
- use sequential id generation, or
- pass the id in via a query parameter if you want direct control.