Millisecond Online Community

Subject assignment issue

rated by 0 users
This post has 3 Replies | 0 Followers

Top 25 Contributor
Posts 27
Keith Leavitt Posted: 03-18-2010 12:20 PM

Hi,

I found the previous post about random assignment via subject number for 4 conditions. However, I still have a question based upon what I found with a previous study:

If I use subjects=1 of 4, 2 of 4, 3 of 4, 4 of 4, can this really lead to close to equal sample sizes? Won't this assign subjects whose number ends in 1, 5 or 9 to condition 1, subjects whose number ends in 2,6, or 0 to condition 2,  ...and 3 or 7 to condition 3, and 4 or 8 to condition 4? This would mean that 30% of subjects would end up in condition 1, 30% in condition 2, but only 20% each in conditions 3 and 4, right?

I'm about to relaunch, and I just want to make sure I get relatively equal sample sizes...

 

Top 25 Contributor
Posts 27

BTW--in the previous study I used sequential subject numbers for assignment...

Top 10 Contributor
Posts 2,031

Keith Leavitt:
Won't this assign subjects whose number ends in 1, 5 or 9 to condition 1, subjects whose number ends in 2,6, or 0 to condition 2,  ...and 3 or 7 to condition 3, and 4 or 8 to condition 4? This would mean that 30% of subjects would end up in condition 1, 30% in condition 2, but only 20% each in conditions 3 and 4, right?

Err, no. But see for yourself by running the attached script / uploading it to your web account (script originally posted in this thread).

~Dave

BTW: As far as I know, Inquisit uses a simple modulo function for condition assignment based on subject number. Let's say there are n=4 conditions. Now compute {subjectnumber mod n}. The modulo function returns the remainder of the division subjectnumber/condition. If the result is 0, the subject will receive the nth condition (i.e. 4th condition in this example). If the remainder is 1, the participant will be assigned to condition 1. If the remainder is 2, off you go in condition 2. Lastly if the remainder is 3 -- well, you guessed it...

"To understand recursion, you must first understand recursion."  - Unknown Zen Master

Top 25 Contributor
Posts 27

OK; that generally makes sense. Thanks for the help!

Page 1 of 1 (4 items) | RSS
Powered by Community Server (Non-Commercial Edition), by Telligent Systems