Coin tosses, values, and what I'm missing

  • Context: Undergrad 
  • Thread starter Thread starter member 428835
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the expected number of sequences of heads (HHH) obtained from tossing a coin, specifically focusing on the average number of tosses required to achieve HHH and the discrepancies in expected outcomes based on different game structures. The scope includes theoretical reasoning and mathematical exploration related to probability and independence in coin toss sequences.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant states that on average, it takes 14 tosses to get the sequence HHH and questions the discrepancy between this number and the expected number of HHH sequences from 14 tosses.
  • Another participant suggests distinguishing between the average counts of HHH when repeating sets of tosses versus when tossing until the first occurrence of HHH.
  • A participant emphasizes the importance of independence in trials, noting that the expected counts should agree if trials are independent, but the game structure affects this independence.
  • It is noted that in the game described, once HHH is achieved, the trials are not independent, which influences the expected outcomes.
  • A follow-up example illustrates how starting from a random point in a sequence affects the probability of achieving successes in a set number of trials.

Areas of Agreement / Disagreement

Participants express confusion regarding the relationship between the average number of tosses to achieve HHH and the expected number of sequences in a fixed number of tosses. There is no consensus on the resolution of these discrepancies, as different perspectives on independence and game structure are presented.

Contextual Notes

Participants highlight the dependence on the starting point in the sequence and the implications of trial independence, which may affect the expected outcomes. The discussion does not resolve the mathematical steps or assumptions involved in these calculations.

member 428835
Suppose we toss a coin until we get HHH. On average this will take 14 tosses.

Now how many sequences of HHH would we get if we tossed the coin 14 times? We have 3 sequence positions and 14 units available, meaning we have 14-3+1 = 12 sequence positions available. Each position has 0.5 odds of being heads. So we have ##12*0.5^3 = 1.5 \neq 1##. I'm wondering why these two numbers aren't the same. I'm definitely misunderstanding something here.

As a follow up, so we know it takes 14 tosses on average to get HHH. So if we play a game where you pay 1$ per coin toss, then for the game to be fair if you made HHH you would receive 14 dollars (after you make HHH the game restarts, so you can't let it ride). But now suppose I charge you 10$ for a 10 toss game and give you 10$ if you make HHH, and if you do the game ends. It seems to me the expected number of HHH sequences given 10 tosses is now ##(10-2)0.5^3=1##, so I'm pretty confused. Any help?
 
Physics news on Phys.org
When we repeat sets of 14 tosses, the average of NNN counts is 1.5. When we repeat tosses until we get first NNN sequence, the average toss times is 14. I think we can distinguish them.
 
Last edited:
joshmccraney said:
Suppose we toss a coin until we get HHH. On average this will take 14 tosses.

Now how many sequences of HHH would we get if we tossed the coin 14 times? We have 3 sequence positions and 14 units available, meaning we have 14-3+1 = 12 sequence positions available. Each position has 0.5 odds of being heads. So we have ##12*0.5^3 = 1.5 \neq 1##. I'm wondering why these two numbers aren't the same. I'm definitely misunderstanding something here.
The main thing you are missing is independence. As long as the trials are independent the numbers should agree. For example, if you organise the game into separate sets of three tosses, then you have standard binomial trials with ##p = \frac 1 8##.

In the game you describe the trials are not independent. Once you get the first sequence of HHH you have a 50-50 chance of getting another one on the next turn. The sequences of HHH tend to clump together: you have a longish waiting time for the first one (or after a T), then often two or more together.

Note that for the expected time to get HHH you are always starting the game from scratch (effectively a T on a zeroth toss). Whereas, if you start from a random point in a sequence, then you may be starting with H or HH.

joshmccraney said:
As a follow up, so we know it takes 14 tosses on average to get HHH. So if we play a game where you pay 1$ per coin toss, then for the game to be fair if you made HHH you would receive 14 dollars (after you make HHH the game restarts, so you can't let it ride). But now suppose I charge you 10$ for a 10 toss game and give you 10$ if you make HHH, and if you do the game ends. It seems to me the expected number of HHH sequences given 10 tosses is now ##(10-2)0.5^3=1##, so I'm pretty confused. Any help?
Again, the expected number would only be 1 in 10 tosses starting from a random point in the sequence. The game effectively starts with the zeroth toss being a T (which is the worst possible starting point).
 
  • Like
Likes   Reactions: member 428835
PS to take an illustrative example. Suppose we have a strict sequence of failures followed by two successes repeated. The game always looks like FFFFFFFFSSFFFFFFFFSS ...

The expected number of successes in a random selection of 10 trials is 2. And, if we start at a random point in the sequence, then the probability the next trial is a success is ##0.2##. But, at the start of the game we always take 9 trials to get a success.
 
  • Like
Likes   Reactions: member 428835
Makes tons of sense, thanks!
 

Similar threads

  • · Replies 41 ·
2
Replies
41
Views
8K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 57 ·
2
Replies
57
Views
7K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K