Random assignment of participants to groups

Hi Jens,

In words, you’ve written: if divisible by 1 else if divisible by 3 else if divisible by 2 else.

Here are how the first 20 participants will be divided:

  1. 1; 5; 7; 11; 13; 17; 19 = 7 participants
  2. 2; 10; 14 = 3 participants
  3. 3; 6; 9; 15; 18 = 5 participants
  4. 4; 8; 12; 16; 20 = 5 participants

Please correct me if you think I’ve got that wrong. Participant 0 (if you have one) would be allocated to group 4.

My method is to divide by 4 and use the remainder which will equally be 0, 1, 2 or 3.

1 Like