Not all random numbers are created equal
October 25, 2009 11:30 PM Subscribe
How do I get a controlled distribution of random numbers to fairly determine a start position.
In a sporting event, start position is decided based on the last digit of your registration number. Each week, random numbers are drawn to decide the start order. For example, the random draw order for a single week is 4, 0, 3, 5, 1, 8, 7, 9, 6, 2. So everyone with a number ending in 4 starts first. Everyone with a number ending in 0 starts second. And so on. The next week the draw order is again random.
While this works, the distribution of of numbers can end up being unfair (one particular number can be "lucky" or "unlucky" for many weeks). Statistically, how would one generate a set of "random" start orders so that the value of each registration number was roughly equal over the course of a season (for ease of calculation, let's say 10 weeks).
I don't know anything about math or statistics, so my description of this situation probably uses lots of words incorrectly. I'd google this, but I don't even know how to start.
Basically, is it possible for value of all of the numbers to even out. But in a random order. So, for example, that 0's aren't always going after 4's. And one group doesn't always start in the middle.
posted by monkeystronghold to education (21 answers total)
For 10 positions and events, you won't do better than round-robin position allocation, where you run the first event with starting order 0, 1, 2, 3, 4, 5, 6, 7, 8, 9; second event with 1, 2, 3, 4, 5, 6, 7, 8, 9, 0; third with 2, 3, 4, 5, 6, 7, 8, 9, 0, 1 and so on until 9, 0, 1, 2, 3, 4, 5, 6, 7, 8. That gives everybody a chance at starting first, but it does mean that people with a number ending in N will start before people with a number ending in N+1 in nine out of ten events. Whether that's adequately counterbalanced by the fact that in the one out of ten events where that start order is reversed it's way reversed will, I'm sure, cause loads of debate.
You can probably improve the perceived fairness of round-robin by using all ten cyclic permutations of a random draw, rather than those of a sequential numbering. So your first event could go 4, 0, 3, 5, 1, 8, 7, 9, 6, 2; your second 0, 3, 5, 1, 8, 7, 9, 6, 2, 4 and so on until 2, 4, 0, 3, 5, 1, 8, 7, 9, 6. Base the next season on a different initial draw, and hopefully your participants will never catch on :-)
posted by flabdablet at 12:47 AM on October 26, 2009