Two Plus Two Older Archives  

Go Back   Two Plus Two Older Archives > General Gambling > Probability
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-03-2004, 05:39 PM
hazeelnut hazeelnut is offline
Junior Member
 
Join Date: Oct 2003
Posts: 24
Default coin tossing and EV

Hi there

Suppose you have a biased coin that is 90% it will come up heads and 10% chance it will come up tails. What is the expected number of heads you expect to get in a row before you get a tail if you start tossing the coin?

a formula would be helpful as well.

thanks

// hazeel
Reply With Quote
  #2  
Old 02-03-2004, 06:38 PM
Homer Homer is offline
Senior Member
 
Join Date: Sep 2002
Posts: 5,909
Default Re: coin tossing and EV

P(0 heads) = .1

P(1) = (.9)^1*(.1)

P(2) = (.9)^2*(.1)

P(x) = (.9)^x*(.1)

E(x) = (Sum 0-inf) x*P(x)

= (Sum 0-inf) x(.9)^x(.1)

= 0(.1) + .9(.1) + 2(.9)^2(.1) + 3(.9)^3(.1) + ...

= .9(.1)[1 + 2(.9) + 3(.9)^2 + ...]

= .9(.1)(1 / (1-.9)^2) (The sum of the infinite series 1 + 2x + 3x^2 + ... is 1 / (1-x)^2

= .9(.1)/(.1)^2

= 9

-- Homer
Reply With Quote
  #3  
Old 02-03-2004, 06:50 PM
Homer Homer is offline
Senior Member
 
Join Date: Sep 2002
Posts: 5,909
Default Re: coin tossing and EV

Incidentally, if the probability of tossing a head is p and the probability of tossing a tail is q, the expected number of heads before throwing a tail is equal to p divided by q.

For example, if P(H) = .72 and P(T) = .28, E(X) = .72/.28, where X is the expected number of heads thrown before throwing a tail.

-- Homer
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:08 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.