Comment by blowski

4 years ago

> two-thirds gambled on tails at some stage in the experiment

I'm not sure why that's called out. If you've just had 6 heads in a row the next 4 "should" be tails, so it's not irrational to bet on tails is it?

> I'm not sure why that's called out. If you've just had 6 heads in a row the next 4 "should" be tails, so it's not an add thing to bet on tails is it?

I realize you're probably joking, but since this argument is intuitively appealing to many people, I will answer as if it was serious: if you have a weighted coin that is 60% likely to land on heads, that means it's 60% likely to land on heads on any given toss. On the first toss. On the second toss. Any given toss. Even after you have tossed it 6 times and seen 6 heads in a row, the coin is still 60% likely to land on heads. The coin has no "memory". Previous results have no effect on future results.

  • I quickly searched but couldn't find the exact study, but I've read that by adding the past numbers digital signage to roulette tables, casinos experience a significant (I'm thinking it was like 100%+) increase in wagers when people believe that a color is "due" simply from not understanding independent vs dependent events. Humans love to look for patterns, even when there isn't any real _meaning_ behind them.

  • There's a corollary to the gambler's fallacy that says is P(heads) is 60% and you get 6 heads in a row, the people running the experiment probably lied to you.

    • If they said P(heads) is 60% and you get 4 tails in a row, you also might think the people running the experiment lied to you, especially if it happens near the beginning. But there’s a 13% chance in any sequence of four tosses.

  • Moreover, the important feature of coin flips isn’t randomness, it’s independence (from previous coin flips and from everything else). Independence is in fact a useful mental model for randomness.

No, the next toss still has a 60% chance of being heads. The coin doesn't remember how it landed last time.

  • If I'm expecting 60% of my flips to be heads, and I've already had 60%, isn't it more likely that the next one will be tails?

    I'm sure you can probably tell I know next to nothing about either maths or probability, so feel free to explain why I'm wrong.

    • Yes, you are wrong, but your confusion is very common. It's so common it even has a name "The Gamblers Fallacy".

      Over the long run, you expect 40% tails, but if you run the experiment an infinite amount of time there will be sequences of all-heads or all-tails.

      Because the events are independent, the previous flips don't change anything about what happens next.

      4 replies →

    • Let's say you're throwing a piece of paper into the trash can from a short distance. Suppose you can successfully throw the paper in the trash 100% of the time. You move your hand. Your hand moves the paper. Gravity pulls the paper down. It collides with the trashcan. It's just a bunch of physical objects exerting forces upon one another.

      Now, suppose you keep throwing, but somebody has opened a window, so now there's an occasionally gust of wind, which moves the paper in unexpected ways while the paper is in the air. Now you no longer hit 100% of your throws. Sometimes the paper lands in the trashcan, sometimes you miss. Regardless, the paper is still only affected by physical forces: your hand, gravity, wind.

      Now, suppose you've been really unlucky the past few throws: you have missed 5 throws in a row because of the darn wind. Does it make you more likely to win the next throw, because you are "due" a win? Of course not, because the wind doesn't know or care about your paper throwing hobby. The wind does what it does, regardless of how many of your throws landed in the trashcan. If anything, missing 5 throws in a row makes it _less_ likely to land the next shot, because it may indicate conditions unfavorable to throwing (strong wind, loss of confidence, etc.)

      Now, the coin flipping experiment with the weighted coin obeys the same physical laws as the paper tossing experiment. It's just a physical object that's affected by forces from your hand, gravity, air, etc. If you throw 6 heads in a row, there's no magic that somehow alters the coin's path in the air on the 7th toss to make it come down tails. The universe doesn't care about our little games.

    • There are a few other nice answers here, but I think it's important to attack it from as many angles as possible.

      The intuition that you're going for is that if the true rate is 60% heads and you've seen more than that then to hit 60% odds you _must_ have some extra tails _eventually_. Interestingly, that isn't actually required to make the odds work out to 60% eventually. I'll try for an intuitive explanation:

      Say you've gotten 10 heads in a row but that the coin really only has a 60% chance of coming up heads.

      - After 1000 extra flips you'll have 610 heads and 400 tails total on average for a 60.4% chance of heads so far.

      - After 10k extra flips you'll have 6010 heads and 4000 tails for a 60.04% chance of heads so far.

      - After 1M extra flips you'll have 600010 heads and 400k tails for a 60.0004% chance of heads so far.

      Notice how the average percentage of heads is getting closer and closer to 60% even though the extra flips don't have _any_ bias toward tails. A temporary bias toward tails would _also_ suffice, and in much less time (some games like WoW use this for their loot tables I think), but it isn't necessary, and in the example of independent coin flips it does not happen.

    • > If I’m expecting 60% of my flips to be heads, and I’ve already had 60%, isn’t it more likely that the next one will be tails?

      Nope.

      > I’m sure you can probably tell I know next to nothing about either maths or probability, so feel free to explain why I’m wrong.

      Lots of people have explained in terms of independence, which is correct. Another way of looking at it (definitely not more correct, but maybe more compatible with the “a series should eventually match the quoted probability” thinking) is in terms of infinity:

      If you are expecting 60% of results to be heads, you expect that to hold over an infinite series of flips.

      If you see any finite number of heads in a row, the probability for each of the remaining flips in the infinite series to get the total to 60% is…still 60%.

      No finite series of results can change the probabilities necessary to get the infinite series to turn out as expected.

    • You’re talking about reversion to the mean, which is a phenomenon that’s related to the law of large numbers.

      Law of Large Numbers says that, over an arbitrarily large random sampling size, you will eventually end up with a sample that perfectly fits the probability distribution.

      But the probability of each individual sample is random. This means that, if each sample is randomly-selected and independent, your history of N samples does not affect your N+1th sample.

      The regression to mean curve is only predictable in the big picture, each bump is 50/50 (or 60/40 in this case).

    • It's not that you're expecting 60% of your flips to be heads, but the coin has a 60% probability of being heads.

      The former implies that previous flips have an effect on future flips. Or that, if you land on heads 6 times in a row, then the probability of it landing on tails goes up. How would a coin that's weighted to increase the odds of it landing on heads, somehow start landing on tails more frequently?

      If you flip a normal coin and it lands on heads 10 times, you still have a 50% chance of getting heads the 11th time. The odds of it landing on heads 10 times in a row in the first place is vanishingly small (0.5^10 or 0.097%). But if it Does, the 11th flip still has a 50% chance. The first 10 flips don't affect the 11th. Physically, how Would the first 10 flips affect the 11th?

      This is all assuming that the coin flips aren't somehow magically linked or casually dependent on each other. The math changes if the previous coin flip could somehow affect the next one. But in a situation where every single roll of the dice is purely independent, then by definition (Because they are Independent ) a previous roll doesn't have an impact on future rolls

    • You expect 60% of your flips to be heads at the outset. Let's say you flipped it a bunch and you're running at some rate.

      How could the past flips of the coin possibly influence the flips you get in the future? The coin hasn't changed, the surrounding area hasn't changed, why would the coin suddenly have a different chance of turning up heads on your next flip? There's no probability god that mucks with random chance to make sure 'runs' are balanced overall. Every coin flip is independent, which means all the coin flips are also independent of the past coin flips.

      If you've "had 60%", that means you've had an unlikely run of heads. Let's say the last 6 flips were 5 heads and a tail, a slightly unlikely outcome (3 in 16, I think). What physical force is acting on the coin to make it less likely to be heads, in the future? Why wouldn't it still have a 60% chance of coming up heads on the next flip?

    • It's always exactly 60%, no matter how many heads you have already had. That is pretty much by definition, since the problem states that the chances of heads are 60%.

      In fact, in the real world getting an unlikely string of heads (or tails, or sixes, or whatever) outside of a casino setting probably means that the coin/dice/whatever are unfairly loaded and you should adjust your expectation for the next coin toss even further towards heads.

    • I upvoted you because, while you aren't correct in your assessment, I think this is a good "teachable moment". Human intuition about statistics is really, really bad.

      I think people who have a better-than-average understanding of statistics forget how bad their intuition is. I suspect it leads to a lot of incorrect assumptions about what a "rational" behavior for someone working from only their statistical intuition would be.

    • The fact that your previous 6 flips were all heads was an unlikely outcome, but the coin has no recollection of what just happened and doesn't "care" about the past when you flip it again. The maths term for this is to say that each coin toss is "independent." I would not bet that you'd get another 6 heads in a row, but I would bet that the next coin flip will be heads.

That's the gambler's fallacy in action. So long as each event is independent, the prior ones have no impact on the likelihood of future events. If you've flipped the coin 60 times and they've all been heads, there's no reason to expect the next 40 will be tails. They still have better odds of being heads.

  • If you see 60 heads in a row in the real world you've got a trick coin. The odds of that are 1/10^17.

    • It's certainly low odds, but it's not impossible nor does it require a trick coin. I've seen people roll a 20 on a d20 10 times in a row, and then not a single 20 the rest of the session on the same die. Shit happens, it's probability and it may be improbable but it isn't impossible.

      9 replies →

  • I used to drive a fellow RPG-er crazy with this. Whenever I would roll a few times low numbers, I would say "Alright, next time will be high, that is obvious, it's pure statistics!". At first he would object, but still even after he knew that I knew, that statement would still drive him mad.

    I remember one time when I rolled really low numbers on a D20, and then there was this really important roll, where I had to get a 20. I confidently said "No problem, I rolled a few really low numbers in a row, so this is definitely going to be a 20, it's pure statistics". Also throwing some calculation in there: "I rolled a 2 and a 1, so in 3 rolls I should get a total of 30 on average, so that means I actually still need 27 to reach the average. That results in more than 100% chance of rolling a 20 right now". And then I actually rolled a 20, was able to keep my cool and a straight face "see, it's just theory". Pure gold! LOL :D

Your friend walks up while you're playing. They haven't seen the game, so think heads is coming up.

Your other friend has been playing longer, before you even started. They saw 13 tails and then your 6 heads. The next throw should be heads to even it out for them.

Why is your history more of an influence than theirs?

Yes it is irrational. That's a common statistical misconception, the key thing here is that every flip has a 60% chance of being heads.

The result of each flip is completely independent of what came before it. In your example the 7th flip is just as likely to be heads as the first flip, or any of the other 5 flips that landed on heads.

  • It says "a coin that would land heads 60% of the time". If it's already landed heads 60% of the time, I'd expect the remaining 40% for it to land on tails.

    • Thought experiment: in what way has it landed heads 60% of the time? It landed heads 100% of the trials so far, but the coin has no way of keeping track of that.

    • That's not a guarantee for any number of flips. For example, if you only flipped the coin one time, what does "60% of the time" even mean in that context? As your other replies have indicated, this is getting at the long-run frequency, meaning as you flip the coin more and more times, approaching infinity, the number of heads approaches 60%.

    • The key here is that it's expected to land heads 60% of the time. Take a normal coin, which is expected to land heads 50% of the time. If you flip a heads, do you instantly expect it to be tails next time? By your logic it would be impossible to ever flip heads twice in a row. Coins as a general rule aren't impacted by previous flips.

While this is irrational in this experiment, but it is likely that the biological systems in which humans evolved, tend to not have truly independent events - hence our intuition.

The probability of a coin flip being heads or tails is completely independent from the previous flips. If the coin lands 6 heads in a row, the next coin flip still has a 60% chance of being heads, hence it is always unwise to bet on tails in this experiment. This is an example of the Gambler's fallacy [1].

[1] https://en.wikipedia.org/wiki/Gambler%27s_fallacy

No, the coin doesn't have a memory, so the chance of tails is still 40% making it still optimal to choose heads.

Those are independent variables. The fact you've had X heads has no bearing on the future flips. It is irrational to bet on tails statistically speaking, though psychologically that line of reasoning is common.

> If you've just had 6 heads in a row the next 4 "should" be tails

That's not how this works. Each toss is independent, so you should never pay attention to previous results if you know the true odds.

you're not betting on the number of heads/tails per 10 trials though, each trial is independent with a 60% of heads. In a striaght-up prediction you should always choose heads, it the how much to wager that is the question.