Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Other Poker > Heads Up Poker
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-28-2007, 09:34 AM
jay_shark jay_shark is offline
Senior Member
 
Join Date: Sep 2006
Posts: 2,277
Default A neat formula for confidence intervals

If you want to know with a 95% confidence that your win rate lies between x- m.o.e and x + m.o.e , where x is your sample mean and m.o.e is your margin of error ,then use the following approximation formula :

Total number of games = (1/M.O.E)^2

So if your sample mean is 55 % and you're interested in the total number of games to determine if you're a winning player , then we would use a m.o.e of 2.5% since 52.5% is the break even point . This means that you would need to play (1/0.025)^2 = 1600 games to be 95 % certain .

Here is another example :

Suppose you've played 500 games and won x% of games but you want to be 95% confident that your win rate lies between x-m.o.e, x+m.o.e , then we would solve the equation .

Total number of games = (1/m.o.e)^2
500=(1/m.o.e)^2
m.o.e=sqrt(1/500)
m.o.e = 4.47 %

So with 95% confidence , we know our confidence interval to be x - 4.47 , x + 4.47 . So if x =60% , then our interval is 55.53,64.47 .

Pretty cool stuff .
Reply With Quote
  #2  
Old 08-28-2007, 10:05 AM
Schpacko Schpacko is offline
Senior Member
 
Join Date: Jan 2007
Posts: 100
Default Re: A neat formula for confidence intervals

u da man!

So, the bigger winner you are, the less games you need to know your winrate, right?

EDIT: No, wrong.
Reply With Quote
  #3  
Old 08-28-2007, 10:11 AM
jay_shark jay_shark is offline
Senior Member
 
Join Date: Sep 2006
Posts: 2,277
Default Re: A neat formula for confidence intervals

Yes , this is certainly true but by a negligible amount .

You may want to check out this link and specifically the numbers given by roundhouse .

http://forumserver.twoplustwo.com/showfl...e=2#Post7912125
Reply With Quote
  #4  
Old 08-28-2007, 12:00 PM
jay_shark jay_shark is offline
Senior Member
 
Join Date: Sep 2006
Posts: 2,277
Default Re: A neat formula for confidence intervals

To be exact , you should use +-1.96*sqrt [p*(1-p)/n]

So for 500 games and a win % of 60%, then your exact margin of error for 95% confidence is +-1.96*sqrt(0.6*0.4/500)=+-4.294%

Using the margin of error formula you get :

Total number of games = (1/m.o.e)^2
500=(1/m.o.e)^2
m.o.e=sqrt(1/500)
m.o.e = 4.47 %

The derivation of the approximation formula is easy . Just replace 1.96 with 2 and notice that p*(1-p) =~1/2*1/2 .

So we have M.O.E = +-1.96*sqrt(p*(1-p)/n) =~2*sqrt0.5*0.5/n)=~sqrt(1/n)
solve for n = (1/M.O.E)^2
Reply With Quote
  #5  
Old 08-28-2007, 05:14 PM
Nichomacheo Nichomacheo is offline
Senior Member
 
Join Date: Aug 2006
Posts: 1,142
Default Re: A neat formula for confidence intervals

I like. Thx.
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 03:24 AM.


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