Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Odds ratios revisited. 2.Gold/Hellmuth. 3.Deal making. 4.Variance.

Slides:



Advertisements
Similar presentations
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Midterms 2.Flushes 3.Hellmuth vs. Farha 4.Worst possible beat 5.Jackpot.
Advertisements

Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Zelda, continued. 2.Difficult homework 3 problem. 3.WSOP 2013 hand.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Midterms. 2.Hellmuth/Gold. 3.Poisson. 4.Continuous distributions.
Mathematics and the Game of Poker
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Ly vs Negreanu. 2.Flush draws and straight draws 3.Project B teams.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Straight draws. 2.HW2 clarification. 3.Greenstein vs. Farha AA.
Introduction for Rotarians
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Hand in hw4. 2.Review list 3.Tournament 4.Sample problems * Final.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day, Thur 3/8/12: 0.HAND IN HW3 again! 1.E(X+Y) example corrected. 2.Random.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 0. Collect hw2, return hw1, give out hw3. 1.Project A competition.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Midterm. 2.Review of Bernoulli and binomial random variables. 3.Geometric.
Stat 35: Introduction to Probability with Applications to Poker Outline for the day: 1.Addiction 2.Syllabus, etc. 3. Wasicka/Gold/Binger Example 4.Meaning.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Collect Hw4. 2.Review list. 3.Answers to hw4. 4.Project B tournament.
Suppose someone bets (or raises) you, going all-in. What should your chances of winning be in order for you to correctly call? Let B = the amount bet to.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Hand in hw3. 2.Review of midterm. 3.Project B functions and example.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day, Tue 3/13/12: 1.Collect Hw WSOP main event. 3.Review list.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.hw, terms, etc. 2.WSOP example 3. permutations, and combinations.
Outline for the day: 1.Discuss handout / get new handout. 2.Teams 3.Example projects 4.Expected value 5.Pot odds calculations 6.Hansen / Negreanu 7.P(4.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Addiction 2.Syllabus, etc. 3. Wasicka/Gold/Binger Example 4.Meaning.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.HW3 2.Project B teams 3.Gold vs. Helmuth 4.Farha vs. Gold 5.Flush.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Deal-making and expected value 2.Odds ratios, revisited 3.Variance.
Stat 35b: Introduction to Probability with Applications to Poker Poker Code competition: all-in or fold.   u 
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1. Review list 2.Bayes’ Rule example 3.CLT example 4.Other examples.
Texas Hold’em Playing Styles Team 4 Matt Darryl Alex.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Project B teams 2.Project B example 3.Gold vs Farha 4.Bayes Rule.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day, Tues 2/28/12: 1.Midterms back. 2.Review of midterm. 3.Poisson distribution,
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Expected value and pot odds, continued 2.Violette/Elezra example.
Expected value (µ) = ∑ y P(y) Sample mean (X) = ∑X i / n Sample standard deviation = √[∑(X i - X) 2 / (n-1)] iid: independent and identically distributed.
Stat 13, Thu 4/19/ Hand in HW2! 1. Resistance. 2. n-1 in sample sd formula, and parameters and statistics. 3. Probability basic terminology. 4. Probability.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Project B example, again 2.Booth vs. Ivey 3.Bayes Rule examples.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Hw, terms, etc. 2.Ly vs. Negreanu (flush draw) example 3. Permutations.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Hand in hw1! Get hw2. 2.Combos, permutations, and A  vs 2  after.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Tournaments 2.Review list 3.Random walk and other examples 4.Evaluations.
(Day 14 was review. Day 15 was the midterm.) Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Return and review.
Outline: 1) Odds ratios, continued. 2) Expected value revisited, Harrington’s strategy 3) Pot odds 4) Examples.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1. Combos, permutations, and A  vs 2  after first ace 2.Conditional.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Expected value. 2.Heads up with AA. 3.Heads up with Gus vs.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Review List 2.Review of Discrete variables 3.Nguyen / Szenkuti.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Hw, terms, etc. 2.Ly vs. Negreanu (flush draw) example 3. Permutations.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Odds ratio example again. 2.Random variables. 3.cdf, pmf, and density,
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Presentation transcript:

Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Odds ratios revisited. 2.Gold/Hellmuth. 3.Deal making. 4.Variance and standard deviation. 5.More Project A examples. Project A due Feb 6, 8pm, by to me. See teams.txt for teams. Read up through Chapter 5.   u 

1. Odds ratios revisited: Odds ratio of A = P(A)/P(A c ) Odds against A = Odds ratio of A c = P(A c )/P(A). An advantage of probability over odds ratios is the multiplication rule: P(A & B) = P(A) x P(B|A), but you can’t multiply odds ratios. 2. Example: Gold vs. Hellmuth on High Stakes Poker….

Gold: A  K . Hellmuth: A  K . Farha: 8  7 . Flop: 4  7  K . Given these 3 hands and the flop, what is P(Hellmuth makes a flush)? 43 cards left: 9  s, 34 non-  s. Of choose(43, 2) = 903 eq. likely turn/river combos, choose(9,2) = 36 have both  s, and 9 *34 = 306 have exactly 1 . 342/903 = 37.9%. So, P(Hellmuth fails to make a flush) = 100% % = 62.1%.

Gold: A  K . Hellmuth: A  K . Farha: 8  7 . Flop: 4  7  K . P(Hellmuth fails to make a flush) = 100% % = 62.1%. Alt.: Given these 3 hands and the flop, P(neither turn nor river is a  ) = P(turn is non-  AND river is non-  ) = P(turn is non-  ) * P(river is non-  | turn is non-  )[P(A&B) = P(A)P(B|A)] = 34/43 * 33/42 = 62.1%. Note that we can multiply these probabilities: 34/43 * 33/42 = 62.1%. What are the odds against Hellmuth failing to make a flush? 37.9% ÷ 62.1% = 0.61 : 1. Odds against non-  on turn = 0.26 :1. Odds against non-  on river | non-  on turn : 0.27 : * 0.27 = Nowhere near the right answer. Moral: you can’t multiply odds ratios!

3. Deal-making. (Expected value, game theory) Game-theory: For a symmetric-game tournament, the probability of winning is approx. optimized by the myopic rule (in each hand, maximize your expected number of chips), and P(you win) = your proportion of chips (Theorems and on pp ). For a fair deal, the amount you win = the expected value of the amount you will win. See p61.

For instance, suppose a tournament is winner-take-all, for $8600. With 6 players left, you have 1/4 of the chips left. An EVEN SPLIT would give you $8600 ÷ 6 = $1433. A PROPORTIONAL SPLIT would give you $8600 x (your fraction of chips) = $8600 x (1/4) = $2150. A FAIR DEAL would give you the expected value of the amount you will win = $8600 x P(you get 1st place) = $2150. But suppose the tournament is not winner-take-all, but pays $3800 for 1st, $2000 for 2nd, $1200 for 3rd, $700 for 4th, $500 for 5th, $400 for 6th. Then a FAIR DEAL would give you $3800 x P(1st place) + $2000 x P(2nd) +$1200 x P(3rd)+$700 x P(4th) +$500 x P(5th) +$400 x P(6th). Hard to determine these probabilities. But, P(1st) = 25%, and you might roughly estimate the others as P(2nd) ~ 20%, P(3rd) ~ 20%, P(4th) ~ 15%, P(5th) ~10%, P(6th) ~ 10%, and get $3800 x 25% + $2000 x 25% +$1200 x 20% + $700 x 15% + $500 x 10% +$400 x 5% = $1865. If you have 40% of the chips in play, then: EVEN SPLIT = $1433. PROPORTIONAL SPLIT = $3440. FAIR DEAL ~ $2500!

Another example. Before the Wasicka/Binger/Gold hand, Gold had 60M, Wasicka 18M, Binger 11M. Payouts: 1st place $12M, 2nd place $6.1M, 3rd place $4.1M. Proportional split: of the total prize pool left, you get your proportion of chips in play. e.g. $22.2M left, so Gold gets 60M/(60M+18M+11M) x $22.2M ~ $15.0M. A fair deal would give you P(you get 1st place) x $12M + P(you get 2nd place) x $6.1M + P(3rd pl.) x $4.1M. *Even split: Gold $7.4M, Wasicka $7.4M, Binger $7.4M. *Proportional split: Gold $15.0M, Wasicka $4.5M, Binger $2.7M. *Fair split: Gold $10M, Wasicka $6.5M, Binger $5.7M. *End result: Gold $12M, Wasicka $6.1M, Binger $4.1M.

4. Variance and SD. Expected Value: E(X) = µ = ∑k P(X=k). Variance: V(X) =  2 = E[(X- µ) 2 ]. Turns out this = E(X 2 ) - µ 2. Standard deviation =  = √ V(X). Indicates how far an observation would typically deviate from µ. Examples: Game 1. Say X = $4 if red card, X = $-5 if black. E(X) = ($4)(0.5) + ($-5)(0.5) = -$0.50. E(X 2 ) = ($4 2 )(0.5) + ($-5 2 )(0.5) = ($16)(0.5) + ($25)(0.5) = $20.5. So  2 = E(X 2 ) - µ 2 = $ $ = $  = $4.50. Game 2. Say X = $1 if red card, X = $-2 if black. E(X) = ($1)(0.5) + ($-2)(0.5) = -$0.50. E(X 2 ) = ($1 2 )(0.5) + ($-2 2 )(0.5) = ($1)(0.5) + ($4)(0.5) = $2.50. So  2 = E(X 2 ) - µ 2 = $ $ = $2.25.  = $1.50.

5. More example code for project A unbeatable1 = function(numattable1, crds1, board1, round1, currentbet, mychips1, pot1, roundbets, blinds1, chips1, ind1, dealer1, tablesleft){ ## any pair, or AT-AK, a1 = 0 if((crds1[1,1] == crds1[2,1]) || ((crds1[1,1] > 13.5) && (crds1[2,1]>9.5))) a1 = mychips1 a1 } ## end of unbeatable1

zebra = function(numattable1, crds1, board1, round1, currentbet, mychips1, pot1,roundbets, blinds1, chips1, ind1, dealer1, tablesleft){ ## if pair of 10s or higher, all in for sure, no matter what. If AK or AQ, all in with probability 75%. ## if pair of 7s or higher and there are 6 or fewer players at your table (including you), then all in. ## if your chip count is less than twice the big blind, go all in with any cards. ## if nobody's raised yet... and there are 3 or fewer players left behind you, go all in with any pair or ace. ##... and there's only 1 or 2 players behind you, then go all in with any cards. a1 = 0 x = runif(1) ## x is a random number between 0 and 1. y = max(roundbets[,1]) ## y is the maximum bet so far. big1 = dealer1 + 2 if(big1 > numattable1) big1 = big1 - numattable1 z = big1 - ind1 if(z<0) z = z + numattable1 ## the previous 4 lines make it so z is the number of players left to act behind you. if((crds1[1,1] == crds1[2,1]) && (crds1[2,1] > 9.5)) a1 = mychips1 if((crds1[1,1] == 14) && (crds1[1,2]>11.5) && (x<.75)) a1 = mychips1 if((crds1[1,1] == crds1[2,1]) && (crds1[2,1] > 6.5) && (numattable1 < 6.5)) a1 = mychips1 if(mychips < 2*blinds1) a1 = mychips1 if(y <= blinds1){ if((z < 3.5) && ((crds1[1,1] == crds1[2,1]) || (crds1[1,1] == 14))) a1 = mychips1 if(z < 2.5) a1 = mychips1 } a1} ## end of zebra