Geometric Distribution Coin Flip

  • Thread starter dspampi
  • Start date
  • #1
16
0
Consider the following experiment: a coin that lands heads with
probability p is flipped once; if on this first flip it came up H, it is then repeatedly flipped until a T occurs; else, if on the first flip it came up T, it is then repeatedly flipped until a H occurs. Let X be the total number of flips. Find the p.m.f. of X, and the mean of X.


Ok so I know this has to be a geometric distribution because we will repeat the experiment until we get a different side of the coin.

Probability h = p and t = (1-p);
Does this mean you have to condition for the two different cases and sum them their probabilites?

Aka Px(k|1st T) = p* (1-p)^(1-k)

and Px(k|1st H) = (1-p)*(p)^(1-k)?
 

Answers and Replies

  • #2
Ray Vickson
Science Advisor
Homework Helper
Dearly Missed
10,706
1,722
Consider the following experiment: a coin that lands heads with
probability p is flipped once; if on this first flip it came up H, it is then repeatedly flipped until a T occurs; else, if on the first flip it came up T, it is then repeatedly flipped until a H occurs. Let X be the total number of flips. Find the p.m.f. of X, and the mean of X.


Ok so I know this has to be a geometric distribution because we will repeat the experiment until we get a different side of the coin.

Probability h = p and t = (1-p);
Does this mean you have to condition for the two different cases and sum them their probabilites?

Aka Px(k|1st T) = p* (1-p)^(1-k)

and Px(k|1st H) = (1-p)*(p)^(1-k)?

Yes, it means that; however, you need (1-p)^(k-1) and p^(k-1), not what you wrote.

RGV
 

Related Threads on Geometric Distribution Coin Flip

  • Last Post
Replies
9
Views
3K
Replies
12
Views
457
Replies
4
Views
90
  • Last Post
Replies
14
Views
1K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
6
Views
1K
  • Last Post
Replies
5
Views
5K
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
5
Views
953
  • Last Post
Replies
9
Views
2K
Top