Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > General Gambling > Probability

Reply
 
Thread Tools Display Modes
  #1  
Old 04-25-2007, 07:59 PM
JayTee JayTee is offline
Senior Member
 
Join Date: Mar 2006
Posts: 1,149
Default How many trials to guarantee a profit?

Let's say that I have someone offering me $101:$100 on flipping a fair coin. How many flips would I have to get them to agree to to be 99% sure that I will profit at least $100.

I would expect to profit $0.50 on each flip, right? So I would expect to be up $100 after 200 flips, but that's just on average. What is the probability that I am up at least $100 after 200 flips. I don't know how to solve it but I would guess 50%.
Reply With Quote
  #2  
Old 04-25-2007, 08:51 PM
Doug Funnie II Doug Funnie II is offline
Senior Member
 
Join Date: May 2006
Location: still watching vh1
Posts: 616
Default Re: How many trials to guarantee a profit?

This type of problem is modled by the binomial distribution. It is easier to solve a problem with the construction, "Let's say that I have someone offering me $101:$100 on flipping a fair coin. After 100 flips what are my chances of winning X dollars?"

There are lots of binomial calculators online where you set the probability of "success" (heads in a coinflip so .5) and the number of flips you attempt and it tells you the chance of having X heads come up.
Reply With Quote
  #3  
Old 04-25-2007, 11:41 PM
dwigt dwigt is offline
Member
 
Join Date: Mar 2007
Location: Palo Alto, CA
Posts: 52
Default Re: How many trials to guarantee a profit?

Since N*p will be large, a normal approximation will be valid. For a normal(0,1) P(Z<-2.33)=.01, (i.e. a 1% rare event is a 2.33 sigma event) By CLT
(S-.5*N)/sqrt(N*101^2) is approximately normal(0,1). (S=sum of N bets, E[S]=.5*N, var(S)=N*100.5^2).

Solving gives N=2.1905e+005. The EV starts out small but increases linearly where the standard deviation starts out big but increases only like square-root -- so it takes a long time for the small linear to dominate the square root.


When N=200, by symmetry the probability is 50% (or directly plug in)
Reply With Quote
  #4  
Old 04-26-2007, 10:21 AM
bigpooch bigpooch is offline
Senior Member
 
Join Date: Sep 2003
Location: Hong Kong
Posts: 1,330
Default Re: How many trials to guarantee a profit?

When N=200, the probability is slightly more than 50%.
Since the probability of exactly half heads and tails is
C(200,100)/(2^200) and so the probability of AT LEAST half
are heads is exactly 1/2+C(200,100)/(2^201) since you have
to divide by 2. Admittedly, this will be quite small (use
Stirling's series to get a good approximation if you want to
compute this).
Reply With Quote
  #5  
Old 04-27-2007, 02:34 AM
dwigt dwigt is offline
Member
 
Join Date: Mar 2007
Location: Palo Alto, CA
Posts: 52
Default Re: How many trials to guarantee a profit?

Oops..thanks. When N=200 it is not 50%. P(exactly 100 wins) = C(200,100)/(2^200) = .0563, so it does make some difference. If you use the simple normal approximation and
P(S>99.5) you are only off by .0001
Reply With Quote
Reply

Thread Tools
Display Modes

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 01:43 PM.


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