Open Randomness Wagenaar, 1972

Heads or tails: can you be random?

Being random looks easy, but whether people are imitating coin flips or predicting them, they almost always leave the same fingerprint.

3 minto take part 23responses Anonymousno sign-up needed
HTTHTHHTHTTHTHTTHHTHTHTT
EXP. 009

Can you behave randomly, predict chance, and tell a sequence made by a human apart from a real coin?

Loading the experiment… It needs JavaScript to run; you can still read the science box and the article below.

Play again, climb higher

Leaderboard.

  1. 1A@alminas105
Only volunteers appear on the leaderboard. Your anonymous plays are linked to your account when you volunteer.Volunteer randomness score · each person’s best play counts · “Today” resets every midnight (Istanbul time)
Take part first.

Reading the science could sway your answer. Everything unlocks once you take part, but you can read it now if you prefer.

Back to the experiment
Science box

Real chance looks too orderly to you; your chance is the one that is too orderly.

What we measure

In the 20-flip sequence you produce, we look at two things: the alternation rate (how often you switch from heads to tails or back from one flip to the next; the expected value for a fair coin is 0.5) and the longest run (the longest stretch of identical outcomes in a row). We then compare you with thousands of truly random 20-flip sequences generated by the computer. In the second round, you watch 20 flips of a truly random coin and predict each outcome before it happens; we look at your tendency to predict the opposite after the same outcome has come up several times in a row, that is, the gambler's fallacy. In the third round, we show you two sequences three times: one is a real sequence flipped by the computer, the other was produced by a previous visitor. The ranking is based on your randomness score in Round 1 (how close your alternation rate is to 0.5 and your longest run is to the expected value) and the number of correct answers in Round 3.

What the research says

Wagenaar (1972) critically reviewed the studies available up to that point and showed that people systematically fail at producing random sequences. In the studies compiled by Falk and Konold (1997), the alternation probability in human-generated sequences ranged from 0.56 to 0.63, mostly around 0.58-0.61; the sequences that looked most random were also those with an alternation rate of about 0.6. In an online study with 3,429 people (Gauvrit et al., 2017), the ability to behave randomly peaked around age 25 and began to decline around age 60. According to our calculations, the expected longest run in 20 flips of a fair coin is about 4.7; roughly 77 percent of sequences contain a run of at least 4, and 46 percent contain a run of at least 5. The gambler's fallacy has been seen not only in the lab but in a real casino: Croson and Sundali (2005) analyzed video recordings of 18 hours of roulette play by 139 players at a casino in Reno (904 spins, 24,131 bets); after the same outcome came up 5 or more times in a row, players bet significantly against the streak, and after streaks of 6 or longer, 85% of bets were on the streak ending. Ayton and Fischer (2004) found in a roulette-like prediction task that as the same color came up repeatedly, participants became less likely to predict that color again, whereas as their own predictions kept turning out right, their confidence in their predictions increased.

Why it happens

According to Kahneman and Tversky's (1972) representativeness heuristic, we expect even a short piece of a random sequence to "look random," that is, to be roughly half and half and well mixed. That is why we avoid long runs and switch sides often. The gambler's fallacy is also behind this: thinking "tails is due now" after three heads. But a coin has no memory. According to Ayton and Fischer, the gambler's fallacy may be an expectation learned from the fact that many events in nature work like 'sampling without replacement', that is, they tend to become less likely after they have occurred many times; applied to a memoryless coin, this expectation turns into a fallacy. In the 'Which one is human?' round, Falk and Konold's (1997) finding comes into play: because people find sequences with an alternation rate of about 0.6 the most random, the long runs of a real coin can look human-made, while a person's overly mixed sequence can look random.

Limitations

Twenty flips is short for judging a single person: even with a real coin, the alternation rate usually fluctuates between 0.32 and 0.68. In addition, Nickerson (2002) stresses that results depend heavily on the instructions and that the claim "people cannot be random" is not as strong as it is often thought to be. In Round 2 the coin is flipped only 20 times and long runs may not appear for everyone; we evaluate the tendency to predict after a run by pooling it at the crowd level, not the individual level. Also, counting 'what came after a run' in short sequences is misleading: Miller and Sanjurjo (2018) proved that computing the proportion of outcomes following a run in finite sequences carries a subtle but important bias. That is why we compare your predictions not with the coin's own short sequence but with a fixed expectation of 0.5.

~0.56-0.63 (mostly ~0.6)Alternation rate in human-generated sequences (fair coin: 0.5)Falk and Konold, 1997
~0.6Alternation rate of the sequences that look most randomFalk and Konold, 1997
~4.7 (most common: 4)Fair coin, 20 flips: expected longest run (calculated)Wagenaar, 1972
~46%Fair coin, 20 flips: probability of a run of at least 5 (calculated)Wagenaar, 1972
85% (real casino data, 139 players)Roulette bets placed against the streak after a streak of 6 or longerCroson and Sundali, 2005
  1. Wagenaar, W. A. (1972). Generation of random sequences by human subjects: A critical survey of literature. Psychological Bulletin, 77(1), 65–72. View source ↗
  2. Falk, R., & Konold, C. (1997). Making sense of randomness: Implicit encoding as a basis for judgment. Psychological Review, 104(2), 301–318. View source ↗
  3. Nickerson, R. S. (2002). The production and perception of randomness. Psychological Review, 109(2), 330–357. View source ↗
  4. Kahneman, D., & Tversky, A. (1972). Subjective probability: A judgment of representativeness. Cognitive Psychology, 3(3), 430–454. View source ↗
  5. Gauvrit, N., Zenil, H., Soler-Toscano, F., Delahaye, J.-P., & Brugger, P. (2017). Human behavioral complexity peaks at age 25. PLOS Computational Biology, 13(4), e1005408. View source ↗
  6. Neuringer, A. (1986). Can people behave “randomly?”: The role of feedback. Journal of Experimental Psychology: General, 115(1), 62–75. View source ↗
  7. Croson, R., & Sundali, J. (2005). The gambler's fallacy and the hot hand: Empirical data from casinos. Journal of Risk and Uncertainty, 30(3), 195–209. View source ↗
  8. Ayton, P., & Fischer, I. (2004). The hot hand fallacy and the gambler's fallacy: Two faces of subjective randomness? Memory & Cognition, 32(8), 1369–1378. View source ↗
  9. Miller, J. B., & Sanjurjo, A. (2018). Surprised by the hot hand fallacy? A truth in the law of small numbers. Econometrica, 86(6), 2019–2047. View source ↗

Method and data

Can the human mind be random?

When you ask someone to "say a random sequence of heads and tails off the top of your head," most people think it is easy. After all, isn't being random just a matter of not following any rule? But psychologists have known for decades that this task is surprisingly hard for people. The sequences people produce differ clearly from those produced by real chance, and this difference goes in the same direction for almost everyone.

In 1972, Dutch psychologist Willem Wagenaar critically reviewed the studies in this area in Psychological Bulletin. His conclusion was clear: when people try to produce random sequences, they create patterns without realizing it. The most common error, also emphasized by later reviews, is always the same: switching too much.

Switching too much: 0.6 instead of 0.5

A sequence's alternation rate is how often two consecutive flips differ from each other. Twenty flips contain 19 transitions; with a fair coin, on average half of them, that is 9-10, will be switches. In a 1997 paper in Psychological Review, Ruma Falk and Clifford Konold gathered decades of studies into a single table. In human-generated sequences, the alternation rate was between 0.56 and 0.63. Beyond that, when people were shown ready-made sequences and asked "which one is the most random?", the sequences chosen most often were those with an alternation rate of about 0.6.

So the problem is not just difficulty in producing randomness; the very picture in our minds of what randomness looks like is skewed. A real sequence of heads and tails looks too "clumpy" to us, while the overly mixed sequence we produce looks random.

Afraid of long streaks

The natural consequence of switching too much is avoiding long runs. Most people hesitate to write the same outcome four or five times in a row, because it looks "not random." But the math says otherwise. We calculated every possible 20-flip sequence one by one: with a fair coin, the expected longest run is about 4.7. Roughly 77 percent of sequences contain at least 4 identical outcomes in a row, and about 46 percent contain at least 5. The probability that the longest run stays at 3 or shorter is only about 23 percent.

So if your sequence has no run of 4, that may make you look not random but, if anything, a little too "careful." Likewise, getting exactly 10 heads and 10 tails is not as common with a real coin as people think; small imbalances are a natural part of chance.

Why do we do this?

In 1972, Daniel Kahneman and Amos Tversky explained these errors with the "representativeness" heuristic. We judge the probability of something by how much it resembles the process that produces it. We know a fair coin gives a half-and-half result in the long run, and we expect this to show up even in the shortest sequences. Tversky and Kahneman gave this expectation a playful name, the "law of small numbers": the mistaken belief that the balance that holds for large numbers should also show up in small samples.

The gambler's fallacy comes from the same root. Thinking that black is "due" after red has come up five times in a row at roulette means assuming that the coin or the roulette wheel remembers the past. We do the same when producing a sequence: after writing a few heads, a voice inside says "you should write tails now." Another explanation has to do with working memory: you keep only the last few flips in mind and try to make that small window look balanced.

Does randomness change with age?

In 2017, Nicolas Gauvrit and colleagues published a study in PLOS Computational Biology in which 3,429 people aged 4 to 91 took part online. Participants completed five different randomness tasks, including producing 12 coin flips that would "look random" to someone else. The researchers estimated how complex the sequences were using a measure called algorithmic complexity (the idea of the length of the shortest program that produces a sequence). The result: the ability to behave randomly peaked at about age 25 and began to decline around age 60.

According to the authors' summary, the main determining factor was age, not gender, language, or education; small associations with statistical intuition and paranormal beliefs were also seen in some tasks. The authors interpret this as a sign that producing randomness actually relies on higher-level cognitive skills, such as suppressing habitual patterns and sustaining attention.

Three heads in a row, what comes next?

In the second round your role changes: you are not producing the sequence, you are watching the outcomes of a truly random coin and predicting each flip before it happens. Since the coin has no memory, no prediction strategy can get more than half right in the long run. Still, people's predictions are not random. In 2004, Peter Ayton and Ilan Fischer had participants predict, one by one, 200 outcomes of a roulette-like computer game: as the same color came up repeatedly, participants became less likely to predict that color again. The longer the streak, the stronger the expectation that 'it will change now.'

The same experiment also showed an interesting mirror image: as participants' own predictions kept coming true, their confidence in their predictions increased. Believing that the coin's streak will end while one's own lucky streak will continue shows that the gambler's fallacy and the 'hot hand' belief can live side by side in the same person. This tendency shows up in casinos too: Rachel Croson and James Sundali (2005) found, in 18 hours of videotaped roulette play at a casino in Reno, that 85% of the bets placed after streaks of 6 or longer were on the streak ending.

Which is the human, which is the coin?

In the third round, we ask you to do some detective work: of two sequences, one comes from a real coin and the other came out of the head of a visitor who took this experiment earlier. Can you find the human one? According to the studies compiled by Falk and Konold (1997), people pick sequences with an alternation rate of about 0.6 as the most random-looking; yet the average for a fair coin is 0.5, and runs of 4 or 5 in 20 flips are perfectly ordinary.

That is why first intuition is often misleading: the sequence with long runs looks 'human-made,' and the one that frequently switches sides looks 'random.' In fact, the clue is often the reverse: the sequence that has no run of 4 and zigzags constantly is more likely to have come from a person. Still, not every human sequence is like that, and not every real sequence contains a long run, so getting all three trials right is not easy. This round is a small test of whether recognizing randomness is easier than producing it.

Are we really this bad? The debate

Not everything goes against people. In a broad review published in Psychological Review in 2002, Raymond Nickerson argued that the claim "people cannot produce or recognize randomness" does not have as much experimental support as is often thought. In his view, instructions are often ambiguous: is the participant really trying to imitate a coin, or trying to write a sequence that will look random to someone else? These two tasks can lead to different results.

Allen Neuringer's 1986 experiment paints an even more optimistic picture: participants made the expected errors at first, but when they received statistical feedback after each trial, they learned to produce sequences that could not be distinguished, by those measures, from random sequences generated by a computer. So randomness can be learned to some degree. Our experiment, by contrast, is a one-shot snapshot: it shows what you do on your first try.

FAQ

In 20 flips of a fair coin, what is the longest run usually?

According to our calculations, the expected longest run is about 4.7, and the most common value is 4. About half of sequences contain a run of 5 or longer.

Why can't people produce random sequences?

We think short sequences should also look balanced and mixed, so we switch sides too often and avoid long runs. This is driven by the representativeness heuristic and the gambler's fallacy.

What is the gambler's fallacy?

It is the belief that past outcomes affect future ones in independent events; for example, thinking tails is more likely after three heads. In fact, with a fair coin the odds are still fifty-fifty on every flip.

Can I learn to behave randomly?

To some extent, yes. In Neuringer's (1986) experiment, as participants received statistical feedback, they learned to produce sequences that, by the measures used, could not be distinguished from a computer's.

If my alternation rate came out at 0.5, am I completely random?

That is a good sign, but not enough on its own. Even a pattern like HTHTHT can contain rules of different lengths; that is why we look at the longest run and the comparison with real sequences together.

If more than half of my predictions are right in Round 2, have I beaten randomness?

No. Because the coin is truly random, getting more than 10 out of 20 right is entirely down to luck, and no strategy can beat half in the long run. In this round we look not at your accuracy but at how your predictions change after a run.

Discussion 0 comments

Join the discussionReading is open to everyone. Volunteer to comment and vote; it takes 20 seconds.
No comments yet.Be the first to write; a good question gets the discussion going.

Threads about this experiment

Start a new thread →
There’s no separate thread for this experiment yet. Start one to critique the method, share a paper or ask a new question.