How Random are you?
An exploration into human randomness.
The notion of true random has perplexed scientists and statisticians for decades, if not longer. But there’s one potentially random number generator that we really still don’t know much about - the human brain. What are the processes behind our decision making? When we are asked to ‘pick a random number between 1 and 10’, how ‘random’ is the number that we choose? Is it some complicated, deterministic neural signal in our brain? Or is it actually a random choice?
The following analysis and results come from a survey collected on Reddit, which obtained \(n = 2190\) participants.
If you’re in a hurry, or don’t fancy reading this article, check out the handy infographic.
Pick a random number between 1 and 10, twice
This is perhaps the most basic question to ask, and one that is very visually interpretable. This question was asked in two distinct ways, pictured below:
These survey questions are asked in an attempt to prove the following hypothesis: the answer input being on a scale will cause responses to question type B to be more evenly distributied. In another way, if you are picking a random number, and you can see the numbers laid out in order in front of you, are you more likely to pick a number which is more central? Let’s look at the results to find out.
Surprisingly, both results seem reasonably similar. Some interesting points about these are:
- 4 is the most frequent number in both cases, different from the usual value of 7 that has been in similar surveys before. In the comments for this survey, people seemed to expect 7 to be the most picked. It is possible that since the participants were aware of previous research in the area, they deliberately would not have picked 7.
- The average ‘difference from uniformity’ was around 2.1% for both types of questions. This is the percentage difference from the expected value.
- 10.1% of people picked the same number for both questions, and for true random number generation, the true value would be 10%!
- The values at the edges, 1 and 10, were chosen far less often than values in the centre.
- The largest difference between questions was that 10 was picked less in question type B than question type A. A possible reason is that 10 is two digits long, which would require extra effort for question type B than for question type A.
- A Pearson’s \(\chi^2\) test for uniformity showed \(p\)-values where \(p << 0.0001\), indicating with a high level of certainty that neither sets of answers were uniformly distributed.
So people don’t seem to be entirely random in this case, as both plots show distinct lack of uniformity (and the \(\chi^2\) test confirms this). 1, 5, and 10 are picked far less frequently than the other values, and so we have almost a bi-modal, or ‘doubly peaked’ distribution. This makes sense to me: if someone asked me this exact question, I’d consider 1, 5, and 10 to be ‘too clean’, and random is slightly more ‘off-centre’ than that.
The hypothesis that I made earlier cannot be accepted; people are not more uniformly random when they cannot see the number scale in front of them. Perhaps the notion of a ‘number line’ is too engrossed in our mind anyway?
However, all hope is not lost. People picked the same number for both questions roughly the correct amount of times! Now how about their pairs of answers, i.e. the answers that people gave for both answer A and answer B?
If we subtract the answers from one another, we are essentially summing uniform random variables, which are expected to have a Irwin-Hall distribution, or a triangular distribution when we are only summing two variables.
Put simply, imagine you are rolling two six-sided dice. The most common sum of their values is 7, since there are more combinations that can sum to 7 than anything else. The same is true in this case, we expect the most common result of answer A - answer B to be 0, and then equally 1 and -1, and so on.
Our distribution above actually does look similar to the expected triangular distribution (although we do have some oddities towards the centre of the triangle, likely caused by the lack of 1’s and 10’s). Does this mean human randomness isn’t too bad after all? In this aspect, we are quite good with the pairs of our answers, even if our individual answers aren’t quite as good.
Pick a random letter from the alphabet
Okay, so we have trouble with edge effects - we don’t like to pick extreme highs and lows when we are trying to randomly think of a number. What if we were to randomly select a letter? There’s no real intrinsic numeric value associated to a letter (unless you count its position in the alphabet), so maybe we are better at selecting a random letter. Let’s take a look.
Ah, so we can’t select letters randomly either, but it doesn’t seem to depend on any sort of edge effects alphabetically. That is, people seem to pick A and Z a healthy amount. The frequencies for each letter are very far from what we’d expect if we were to have sampled these letters uniformly (we would expect around 84 choices per letter). What could have been affecting our judgement here? Maybe the popularity of a certain letter in the English language?
Plotted below is the relationship between the frequency at which a letter occurs in the English language (as a percentage) versus the frequency it was picked in the survey.
There is no significant relationship here, the \(R^2\) value for a linear regression is very low, at \(R^2 \approx 0.152\), meaning the model is not capturing the variability in the data. What else could be affecting how we are choosing these letters?
Earlier I stated the assumption that there was no intrinsic numeric value associated to a letter, so that we would not have any trouble with edge effects skewing the results. That assumption was wrong! If you’re reading this on a computer or laptop, take a look at what is just underneath your screen.
It turns out that the most frequently picked letters are those that are most central on a QWERTY keyboard. This notion of picking the most central option is corroborated by the choice of number in the first question, being that people do not like to pick numbers or letters that appear on what they consider as the ‘edge’.
Another interesting aspect to note is that Q, A and Z are a minor hotspot - all three of which are on the left-most side of the keyboard. For most of us, our left hand naturally rests on the left-hand side of the keyboard whilst our right hand holds the mouse. Did a large portion of people just press wherever their hands already were?
So maybe if we aren’t actually random, are we just lazy?
Pick a random number between 1 and 50
What if our selection range is so large that these edge effects can be nullified? If we ask people to select numbers between 1 and 50, will we see an extension of the result from the first question? I.e. are people going to pick the most central values again (say, between 10 and 40), or will it be something else?
An interesting selection of numbers here. This range does not seem to be uniformly distributed in the slightest. Here are some facts:
- Against the expected value of 10%, only 4.3% of people selected a multiple of 10, whereas 18.7% of people chose a number with a 7 (i.e. 7, 17, 27, 37, 47).
- The least frequently selected number was 30, chosen by 0.5% of people, and the most frequently chosen number was 37, picked by 5.8% of people.
- The highest numbers within the spectrum were chosen more often than the lowest, which could be because this question was after people had already picked a number between 1 and 10 (although as discussed earlier, we were quite consistent with pairs of answers, so this may not be the reason).
So in general, when picking over a larger range of numbers, the randomness of our choices worsens. That is, there are so many aspects of what to pick that we seem to get stuck in different areas. We don’t think multiples of 10 are random enough, maybe because they are too ‘clean’, and for some reason, we really enjoy picking the number 7!
No, as expected, humans are terrible random number generators, and we’re terrible at picking items at random in general. When asked to randomly select a letter, most of us will have pressed somewhere in the centre of our keyboard. When asked to pick a random number, we are most likely to either choose 4 or 37, based on the range of values we are choosing from.
Perhaps you remember the ‘trick’ that your friend would play on you as a kid in the playground. They would ask you a series of maths questions, and then ask you to name a vegetable. You would inevitably say ‘carrot’, then they’d reveal a piece of paper with the word ‘carrot’ on it. Were you truly tricked? Turns out, if you’re asked to name a vegetable, most people say carrot regardless. It’s not a trick: when asked to name something at random, we pick something that’s extremely common.
Can we extend this data collection further? Instead of choosing letters or numbers, what if we were instead to ask: “Select an item at random from the following”, and the options were something like nose, calendar, person, dog, and politics. Essentially, these would be items that have no relevance or connection, so we cannot assign any sort of numerical weight to them, would we be better at randomly selecting then? In my opinion, no, we wouldn’t. I believe these results would be skewed by the order which they are presented in. For example, if these items were put into a list, the first and last elements of this list would be selected far less often than the other items.
Survey data was collected on Reddit, on the subreddit /r/SampleSize, where users fill in various surveys. The pool of participants was largely limited by internet users, which could introduce a bias to the dataset. For example, these users may be more accustomed to using a keyboard than the general population, which could’ve affected the random letter analysis by keyboard position.
If you can spot anything else that I’ve missed about these results, the data and code used for everything is available on github in the repository randomchoices. Tweet at me, @DanielW966, for anything that you find.