Human random numbers
Moderators: gmalivuk, Moderators General, Prelates
- evilbeanfiend
- Posts: 2650
- Joined: Tue Mar 13, 2007 7:05 am UTC
- Location: the old world
Human random numbers
lets do some science and see how good a human based RNG this fora is
(And no fair looking at the results before choosing a number.) - gm
(And no fair looking at the results before choosing a number.) - gm
in ur beanz makin u eveel
-
Technical Ben
- Posts: 2986
- Joined: Tue May 27, 2008 10:42 pm UTC
Re: Human random numbers
Could we take this a step further and see if we can make other processes out of forumites? Then we can build a central processor, then some sort of program all run on forum posts... http://xkcd.com/505/
It's all physics and stamp collecting.
It's not a particle or a wave. It's just an exchange.
It's not a particle or a wave. It's just an exchange.
Re: Human random numbers
I like these sorts of polls. I can't wait to see how it will turn out (if we ever get enough people to participate).
Re: Human random numbers
My hypothesis (pre-vote)
My hypothesis (post-vote)
Spoiler:
My hypothesis (post-vote)
Spoiler:
Time flies like an arrow, fruit flies have nothing to lose but their chains -Marx
Re: Human random numbers
Spoiler:
Re: Human random numbers
The limited choices affect the results, and therefore the test is flawed.
Re: Human random numbers
After voting and looking at the results, I decided the majority of xkcd is too clever to fall for any of the usual tricks.
I NEVER use all-caps.
- gmalivuk
- GNU Terry Pratchett
- Posts: 24760
- Joined: Wed Feb 28, 2007 6:02 pm UTC
- Location: Here and There
- Contact:
Re: Human random numbers
Sana wrote:The limited choices affect the results, and therefore the test is flawed.
It's not flawed. The test is to see if the general population of people taking this poll are capable of picking numbers randomly. If there is a strong preference for some numbers over others, it's strong evidence against that.
Personally, I think
Spoiler:
This gives me an idea for a forum game...
Re: Human random numbers
I chose 14 as it's the closest to (pi %1), which is fun. 
In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual.
Galileo
Galileo
-
Zeno's Pair of Ducks
- Posts: 1
- Joined: Sat May 02, 2009 2:30 am UTC
Re: Human random numbers
I picked 14 because in the word "STAN" using modulo 20 arithmetic, T is the additive identity and S and A are inverses, leaving N which is 14. "STAN" came from my makeshift entropy selection strategy.

- evilbeanfiend
- Posts: 2650
- Joined: Tue Mar 13, 2007 7:05 am UTC
- Location: the old world
Re: Human random numbers
itaibn wrote:After voting and looking at the results, I decided the majority of xkcd is too clever to fall for any of the usual tricks.
i don't know, there seems to be a slight bias towards numbers > 10. i was going to assume a model for error in each bin of the sqrt of the number in the bin, so the distribution is slightly flatter then it looks but still not flat within errors (feel free to suggest better error models btw)
in ur beanz makin u eveel
- Knightshire
- Posts: 19
- Joined: Wed Oct 01, 2008 3:53 pm UTC
- Contact:
Re: Human random numbers
I think there are too many choices with not enough people to do some real statistical analysis.
It would be more meaningful if there were only 5 choices.
It would be more meaningful if there were only 5 choices.
-
Technical Ben
- Posts: 2986
- Joined: Tue May 27, 2008 10:42 pm UTC
Re: Human random numbers
Spoiler:
It's all physics and stamp collecting.
It's not a particle or a wave. It's just an exchange.
It's not a particle or a wave. It's just an exchange.
- evilbeanfiend
- Posts: 2650
- Joined: Tue Mar 13, 2007 7:05 am UTC
- Location: the old world
Re: Human random numbers
Knightshire wrote:I think there are too many choices with not enough people to do some real statistical analysis.
It would be more meaningful if there were only 5 choices.
well the results already look statistically significant to me, if it were flat we would expect with 100 votes every bin to contain 5 +/- sqrt(5), some bins are clearly way off this.
in ur beanz makin u eveel
-
d0nk3y_k0n9
- Posts: 97
- Joined: Sun May 03, 2009 4:27 pm UTC
Re: Human random numbers
I'll vote as soon as I can find my d20... or a decent dicegen.
Lol it was sitting buried on my desk. That didn't take long.
Lol it was sitting buried on my desk. That didn't take long.
Re: Human random numbers
I find it interesting that 6 and 14 are winning since they're symmetric about 10.
I chose 16 because it was the right choice.
I chose 16 because it was the right choice.
- gmalivuk
- GNU Terry Pratchett
- Posts: 24760
- Joined: Wed Feb 28, 2007 6:02 pm UTC
- Location: Here and There
- Contact:
Re: Human random numbers
evilbeanfiend wrote:well the results already look statistically significant to me, if it were flat we would expect with 100 votes every bin to contain 5 +/- sqrt(5), some bins are clearly way off this.
Yeah, but isn't that only one standard deviation? Being outside of one sigma is not exactly significant, I don't think.
- evilbeanfiend
- Posts: 2650
- Joined: Tue Mar 13, 2007 7:05 am UTC
- Location: the old world
Re: Human random numbers
yes its not amazing, and since then it already looks flatter.
in ur beanz makin u eveel
- BlackSails
- Posts: 5310
- Joined: Thu Dec 20, 2007 5:48 am UTC
Re: Human random numbers
I actually chose mine randomly, by closing my eyes and scrolling up and down. My mouse landed on 12, so thats what I chose
Re: Human random numbers
1. Because I can.
Happy hollandaise!
"The universe is a figment of its own imagination" -Douglas Adams
"The universe is a figment of its own imagination" -Douglas Adams
- Yakk
- Poster with most posts but no title.
- Posts: 10965
- Joined: Sat Jan 27, 2007 7:27 pm UTC
- Location: E pur si muove
Re: Human random numbers
If you rolled a d20 100 times, the 95% conf. interval would be about:
2 * sqrt(.95*.05*n) = 4.35889894
with an expected value of 5.
So for a given random digit, you'd expect somewhere between 0.85 and 9.35 votes on it.
However, the problem is we are looking at all 20, and searching for one that is outside that range. It is perfectly reasonable for 1 or more attempts, out of 20, to be outside the 95% confidence interval, even if the results where uniformly selected. That is what the 95% confidence interval means.
The fact we have only 2 outside of that interval is a sign that we aren't being that crappy of a RNG, using this naive test.
2 * sqrt(.95*.05*n) = 4.35889894
with an expected value of 5.
So for a given random digit, you'd expect somewhere between 0.85 and 9.35 votes on it.
However, the problem is we are looking at all 20, and searching for one that is outside that range. It is perfectly reasonable for 1 or more attempts, out of 20, to be outside the 95% confidence interval, even if the results where uniformly selected. That is what the 95% confidence interval means.
The fact we have only 2 outside of that interval is a sign that we aren't being that crappy of a RNG, using this naive test.
One of the painful things about our time is that those who feel certainty are stupid, and those with any imagination and understanding are filled with doubt and indecision - BR
Last edited by JHVH on Fri Oct 23, 4004 BCE 6:17 pm, edited 6 times in total.
Last edited by JHVH on Fri Oct 23, 4004 BCE 6:17 pm, edited 6 times in total.
Re: Human random numbers
Interesting. As of the time that I voted (randomly by scrolling mouse without looking) I voted for 14, giving 14 a lead with 14 votes. Now if it were the mean and median too I would be really spooked...Its not...
Re: Human random numbers
Get about 20480 poll answers for this one, then you can analyse it quite well.
I answered, but I'm not saying what I put.
I answered, but I'm not saying what I put.
Re: Human random numbers
3. Prime number FTW.
Re: Human random numbers
This is simple, so I did it.
Each column but the first represents a tabulation of 127 "votes" for the number in the first column, using random.org to generate the numbers.
Enjoy!
Each column but the first represents a tabulation of 127 "votes" for the number in the first column, using random.org to generate the numbers.
Code: Select all
1 | 3| 4| 3| 5| 4|
2 | 9| 8| 4| 5| 4|
3 | 9| 7| 5| 9| 3|
4 | 7| 6| 7|10| 5|
5 | 4| 8| 3| 8|11|
6 | 5| 8| 5| 1| 8|
7 |10|10| 7| 6| 9|
8 | 6| 6| 8| 7| 7|
9 | 4| 6| 8| 3| 4|
10| 5| 6| 9| 1| 1|
11| 3| 8| 9| 7| 8|
12| 5| 6| 8| 6| 8|
13| 4| 1| 8| 6| 3|
14| 8| 7| 8| 7| 7|
15|10| 1| 9| 7| 3|
16|17|11| 8| 6|13|
17| 4| 4| 4|10| 3|
18| 4| 4| 3| 4| 9|
19| 6| 7| 5| 9| 8|
20| 4| 9| 6|10| 9|
Enjoy!

Re: Human random numbers
import random
random.choice(range(20))+1
It told me 16.
random.choice(range(20))+1
It told me 16.
- gmalivuk
- GNU Terry Pratchett
- Posts: 24760
- Joined: Wed Feb 28, 2007 6:02 pm UTC
- Location: Here and There
- Contact:
Re: Human random numbers
Yakk wrote:If you rolled a d20 100 times, the 95% conf. interval would be about:
2 * sqrt(.95*.05*n) = 4.35889894
with an expected value of 5.
So for a given random digit, you'd expect somewhere between 0.85 and 9.35 votes on it.
Why the 2, if this is one-sided as implied by your last sentence?
- Yakk
- Poster with most posts but no title.
- Posts: 10965
- Joined: Sat Jan 27, 2007 7:27 pm UTC
- Location: E pur si muove
Re: Human random numbers
The 95% confidence interval is about 1.96 or so (or was it 1.97? I forget), IIRC. I find using 2 (as in within 2 SD) to be easier, and (in any case) less bound to the arbitrary 95% number. And only off by 2%.
One of the painful things about our time is that those who feel certainty are stupid, and those with any imagination and understanding are filled with doubt and indecision - BR
Last edited by JHVH on Fri Oct 23, 4004 BCE 6:17 pm, edited 6 times in total.
Last edited by JHVH on Fri Oct 23, 4004 BCE 6:17 pm, edited 6 times in total.
- gmalivuk
- GNU Terry Pratchett
- Posts: 24760
- Joined: Wed Feb 28, 2007 6:02 pm UTC
- Location: Here and There
- Contact:
Re: Human random numbers
Ah, right. I just saw twice the standard deviation and was thinking, well, one on each side of the mean. (Forgot temporarily what a confidence interval even is, it seems.)
- Yakk
- Poster with most posts but no title.
- Posts: 10965
- Joined: Sat Jan 27, 2007 7:27 pm UTC
- Location: E pur si muove
Re: Human random numbers
So there are 2^20 subsets of the above. Minus 1, because we don't care about the empty subset. That is about 1 million subsets.
So we want on the order of an all but 1 in a million confidence interval for an arbitrary subset.
To be quick about it, this the SD is maximal at 1/2 of the entries (or 10 sides), at which the SD is about 1/2 * sqrt(1/N) in percentage terms.
Being strict about it, we have Chebyshev's inequality, which states at last (1 - 1/k^2) fraction of observations are within k standard deviations of the mean. Which places it at ~1000 standard deviations. (I kid!)
Assuming normally distributed data (which at the scales involved, we'll have hit), 5 sigma is enough for 1 in a million or so (actually 1 in 2 million, but who is counting).
So that is 5/2 * sqrt(1/N) is an (overly generous) standard. If you can find many subsets that are more than 5/2 * sqrt(1/N) standard deviations away from the expected value of that subset (given a random population), you have some strong evidence that the results aren't random.
With 1 million subsets and a 1 in 2 million chance that a given subset would randomly lie outside the 5 sigma range, call it a 1 in 3 chance that a given set of random numbers has an element outside of the 5 sigma range. Sadly, these correlate (sigh).
So... how about a single subset more than 6 sigma away. That's 3 * sqrt(1/N).
On 200 elements, that means +/- 21%. Ie, find a subset of N die sides that is at least N*5%+21%, or less than N*5%-21%.

So we want on the order of an all but 1 in a million confidence interval for an arbitrary subset.
To be quick about it, this the SD is maximal at 1/2 of the entries (or 10 sides), at which the SD is about 1/2 * sqrt(1/N) in percentage terms.
Being strict about it, we have Chebyshev's inequality, which states at last (1 - 1/k^2) fraction of observations are within k standard deviations of the mean. Which places it at ~1000 standard deviations. (I kid!)
Assuming normally distributed data (which at the scales involved, we'll have hit), 5 sigma is enough for 1 in a million or so (actually 1 in 2 million, but who is counting).
So that is 5/2 * sqrt(1/N) is an (overly generous) standard. If you can find many subsets that are more than 5/2 * sqrt(1/N) standard deviations away from the expected value of that subset (given a random population), you have some strong evidence that the results aren't random.
With 1 million subsets and a 1 in 2 million chance that a given subset would randomly lie outside the 5 sigma range, call it a 1 in 3 chance that a given set of random numbers has an element outside of the 5 sigma range. Sadly, these correlate (sigh).
So... how about a single subset more than 6 sigma away. That's 3 * sqrt(1/N).
On 200 elements, that means +/- 21%. Ie, find a subset of N die sides that is at least N*5%+21%, or less than N*5%-21%.
One of the painful things about our time is that those who feel certainty are stupid, and those with any imagination and understanding are filled with doubt and indecision - BR
Last edited by JHVH on Fri Oct 23, 4004 BCE 6:17 pm, edited 6 times in total.
Last edited by JHVH on Fri Oct 23, 4004 BCE 6:17 pm, edited 6 times in total.
Re: Human random numbers
It's a random number generator. If everybody picked 7, it would still be random.


And, lv:
afaik, that doesn't qualify as a human random number


And, lv:
Iv wrote:import random
random.choice(range(20))+1
It told me 16.
afaik, that doesn't qualify as a human random number
GENERATION -i: The first time you see this, copy it into your sig on any forum. Square it, and then add i to the generation.
PREVIOUS GENERATION: 1-i
PREVIOUS GENERATION: 1-i
Re: Human random numbers
I chose the wrong forum for my experiment I see. I should have tried to sell it as science, then I migth have gotten better statistics.
Interestingly it seems that people browsing the science forum is much more random than those in the silly games forum.
Interestingly it seems that people browsing the science forum is much more random than those in the silly games forum.
Re: Human random numbers
Allegedly, if you ask people to pick a random number between 10 & 20, you get a lot of 17s. But I don't think this works so well on a bunch of scientists, mathematicians & programmers. The idea is that odd numbers are considered more random than even ones, eleven is special because it has repeated digits, 13 is special because it's unlucky, 15 is too round, and so the first "non-special" number in the range is 17.
Re: Human random numbers
And people like "M" better than "Q". (The Pepsi Challenge, for those of you too young to remember the 8-track.)
There are some fun mentalism tricks that exploit these quirks. You're thinking of a carrot, aren't you?
There are some fun mentalism tricks that exploit these quirks. You're thinking of a carrot, aren't you?
Time flies like an arrow, fruit flies have nothing to lose but their chains -Marx
Re: Human random numbers
Maybe this should be made into a Global Announcement for a little while... for SCIENCE!
-
MarshyMarsh
- Posts: 140
- Joined: Tue Aug 07, 2007 7:43 pm UTC
- Location: UK
- Contact:
Re: Human random numbers
I didn't choose my number randomly, I chose 9 because it is 9.
You're experiment is now void as not every number has been chosen by the being choosing them randomly due to me! I picked 9 because it is 9!
This also gives me an idea for a forum game, rather than team post racing. Number racing!
You're experiment is now void as not every number has been chosen by the being choosing them randomly due to me! I picked 9 because it is 9!
This also gives me an idea for a forum game, rather than team post racing. Number racing!
Re: Human random numbers
i think your non-randomness still ends up being pretty random in the scheme of things. on the other hand, the person who used a software RNG IS interfering with the test.
Who is online
Users browsing this forum: No registered users and 3 guests