The Probability of a Biased Coin: n Flips, m Heads

  • Context: MHB 
  • Thread starter Thread starter markosheehan
  • Start date Start date
  • Tags Tags
    Probability
Click For Summary

Discussion Overview

The discussion revolves around calculating the probability of obtaining a specific sequence of heads and tails when flipping a biased coin multiple times. Participants explore the implications of the probability of heads, denoted as p, and how it relates to the number of flips, n, and the number of heads, m, in the resulting sequence.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant expresses confusion regarding the wording of the problem about the biased coin and its implications.
  • Another participant outlines the basic probabilities involved, stating that the probability of getting heads is p and tails is 1-p, leading to a formula for the probability of obtaining m heads and n-m tails.
  • A participant calculates the probability as (n choose m) * p^m * (1-p)^(n-m) and notes that this aligns with the binomial probability formula.
  • There is a question raised about whether the problem could be interpreted as asking for the probability of m heads in a row followed by n-m tails in a row, suggesting that the interpretation of the sequence affects the probability calculation.

Areas of Agreement / Disagreement

Participants generally agree on the formulation of the probability using the binomial distribution, but there is disagreement regarding the interpretation of the problem and whether it specifies a particular sequence or any sequence with m heads.

Contextual Notes

Some assumptions about the wording of the problem remain unclear, and there is a lack of consensus on whether the problem specifies a certain arrangement of heads and tails or if it allows for any arrangement.

markosheehan
Messages
133
Reaction score
0
the probability of getting a head on flipping a biased coin is p. the coin is flipped n times producing a sequence containing m heads and (n-m) tails what is the probability of obtaining this sequence from n flips.
i can't understand the wording
 
Physics news on Phys.org
I've moved this thread since our advanced forum is for calculus based stats.

A few things we need to observe:

The probability of getting heads is:

$$P(H)=p$$

Now, we know that it is certain that we will either get heads or tails, so we may state:

$$P(H)+P(T)=1\implies P(T)=1-P(H)=1-p$$

So, the probability of getting $m$ heads is:

$$P\left(H_m\right)=p^m$$

And the probability of getting $n-m$ tails is:

$$P\left(T_{n-m}\right)=(1-p)^{n-m}$$

Next we need to look at the number $N$ of ways to choose $m$ from $n$:

$$N={n \choose m}$$

Can you put all this together to find the requested probability?
 
when i put this all together i get (n ncr m)*p*(1-p)^n-m however at the back of the book it says the answer is p^m(1-p)^n-m
 
What I get is:

$$P(X)={n \choose m}p^m(1-p)^{n-m}$$

And this agrees with the binomial probability formula. :D

This is the probability of getting any sequence with $m$ heads, for any particular such sequence, then it would be:

$$P(X)=p^m(1-p)^{n-m}$$
 
markosheehan said:
when i put this all together i get (n ncr m)*p*(1-p)^n-m however at the back of the book it says the answer is p^m(1-p)^n-m
Was it possible that the problem asked for the probability of m heads in a row followed by n-m tails in a row? As MarkFl said, that probability if for any particular such sequence- "m heads in a row followed by n- m tails in a row" or "n- m tails in a row followed by m heads in a row" or "A head, then a tail, then a head, followed by m- 2 heads in a row, followed by n- m- 1 tails in a row", etc.
 

Similar threads

  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 29 ·
Replies
29
Views
4K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 57 ·
2
Replies
57
Views
7K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 47 ·
2
Replies
47
Views
8K