Undergrad probability course (not a poker strategy guide nor an endorsement of gambling). Standard undergrad topics + random walks, arcsine laws, and a.

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

Lecture 13. Poker Two basic concepts: Poker is a game of skill, not luck. If you want to win at poker, – make sure you are very skilled at the game, and.
COUNTING AND PROBABILITY
Part 3: The Minimax Theorem
Final Specification KwangMonarchIkhanJamesGraham.
Mathematics and the Game of Poker
Intro to Probability & Games
Using Probabilistic Knowledge And Simulation To Play Poker (Darse Billings …) Presented by Brett Borghetti 7 Jan 2007.
Inference about Population Parameters: Hypothesis Testing
Poki: The Poker Agent Greg Priebe Zak Knudson. Overview Texas Hold’em poker Architecture and Opponent Modeling of Poki Improvements from past Poki Betting.
Texas Holdem Poker With Q-Learning. First Round (pre-flop) PlayerOpponent.
Overview Odds Pot Odds Outs Probability to Hit an Out
Review of Statistical Inference Prepared by Vera Tabakova, East Carolina University ECON 4550 Econometrics Memorial University of Newfoundland.
Approximation and Nested Problem. Four players are playing a poker game out of a deck of 52 cards. Each player has 13 cards. Let X be the number of Kings.
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.
Vegas Baby A trip to Vegas is just a sample of a random variable (i.e. 100 card games, 100 slot plays or 100 video poker games) Which is more likely? Win.
Statistics 101 Class 6. Overview Sample and populations Sample and populations Why a Sample Why a Sample Types of samples Types of samples Revisiting.
SARTRE: System Overview A Case-Based Agent for Two-Player Texas Hold'em Jonathan Rubin & Ian Watson University of Auckland Game AI Group
Introduction to Behavioral Statistics Probability, The Binomial Distribution and the Normal Curve.
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.
CHAPTER 10: CORE MECHANICS Definitions and Mechanisms.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.hw, terms, etc. 2.WSOP example 3. permutations, and combinations.
The challenge of poker NDHU CSIE AI Lab 羅仲耘. 2004/11/04the challenge of poker2 Outline Introduction Texas Hold’em rules Poki’s architecture Betting Strategy.
Poker as a Testbed for Machine Intelligence Research By Darse Billings, Dennis Papp, Jonathan Schaeffer, Duane Szafron Presented By:- Debraj Manna Gada.
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.
LSSG Black Belt Training Estimation: Central Limit Theorem and Confidence Intervals.
Neural Network Implementation of Poker AI
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 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.
One Answer, No Answers, or an Infinite Number of Answers.
GamblingGambling What are the odds? Jessica Judd.
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 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.
1)Hand in HW. 2)No class Tuesday (Veteran’s Day) 3)Midterm Thursday (1 page, double-sided, of notes allowed) 4)Review List 5)Review of Discrete variables.
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.Hw, terms, etc. 2.Ly vs. Negreanu (flush draw) example 3. Axioms.
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.
Simulations with Binomials Mean and S.D. of Binomials Section
Copyright © 2009 Pearson Education, Inc. Chapter 11 Understanding Randomness.
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,
Texas Holdem A Poker Variant vs. Flop TurnRiver. How to Play Everyone is dealt 2 cards face down (Hole Cards) 5 Community Cards Best 5-Card Hand Wins.
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
Game Theory Just last week:
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
How likely is it? Probability.
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
THE TEXAS HOLD’EM.
Stat 35b: Introduction to Probability with Applications to Poker
Probability Simulations
Stat 35b: Introduction to Probability with Applications to Poker
Standard undergrad probability course, not a poker strategy guide nor an endorsement of gambling. The usual undergrad topics + random walks, luck and skill,
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Search.
Search.
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:

Undergrad probability course (not a poker strategy guide nor an endorsement of gambling). Standard undergrad topics + random walks, arcsine laws, and a few other specialized topics. Instead of balls and urns, the examples involve Texas Hold’em. Real examples. Luck vs. skill. Computation using the holdem R package.

Example 8.3. On one interesting hand from Season 2 of High Stakes Poker, Corey Zeidman (9 9  ) called $800, Doyle Brunson (Q  10  ) raised to $6200, and Eli Elezra (10 10  ), Daniel Negreanu (K  J  ), and Zeidman all called. Use R to calculate the probability that after the 3 flop cards are dealt, Elezra would be ahead, in terms of the best current 5-card poker hand, of his 3 opponents. Answer. With 8 cards belonging to the 4 players removed from the deck, there are C(44,3) = 13,244 possible flop combinations, each equally likely to occur. One can use R to imitate dealing each of these flops, and seeing if Elezra is leading on the flop for each. After loading the functions in holdem, one may use the code below to solve this problem. n = choose(44,3); result = rep(0,n); a1 = c(8,22,34,35,48,49,50,51) a2 = c(1:52)[-a1]; i= 0 for(i1 in 1:42){for(i2 in ((i1+1):43)){for(i3 in ((i2+1):44)){ flop1 = c(a2[i1],a2[i2],a2[i3]); flop2 = switch2(flop1) b1 = handeval(c(10,10,flop2$num),c(3,2,flop2$st)) b2 = handeval(c(9,9,flop2$num),c(3,1,flop2$st)) b3 = handeval(c(12,10,flop2$num),c(4,4,flop2$st)) b4 = handeval(c(13,11,flop2$num),c(4,4,flop2$st)) i = i+1; if(b1 > max(b2,b3,b4)) result[i] = 1}} cat(i1)} sum(result > 0.5) This code loops through all 13,244 possible flops and finds that Elezra is ahead on 5,785 out of 13,244 flops. Thus the probability is 5,785/13,244 ~ 43.68%. Incidentally, in the actual hand, the flop was 6  9  4, Zeidman went all in for $41,700, Elezra called, and Zeidman won after the turn and river were the uneventful 2  and 2 .

Example 8.4. On High Stakes Poker, Daniel Negreanu has been on the losing side of some unfortunate situations where both he and his opponent had extremely powerful hands. For instance, in one hand against Gus Hansen, Negreanu had 6  6, Hansen had 5  5 , and the board came 9  6  5 5  8 . On another hand, against Erick Lindgren, Negreanu had 10 9, Lindgren had 8  8 , and the board came Q  8 J  8  A. Such hands are sometimes called coolers. If, for simplicity, we assume that two players are both all-in heads up before their cards are dealt and we define a cooler as any hand where the two players both have straights or better, then what is the probability of a cooler? Perform 10,000 simulations in R to approximate the answer. Answer. After loading the holdem package, the code below may be used to approximate a solution to this problem. n = 10000; a = rep(0,n) for(i in 1:n){ x1 = deal1(2) b1 = handeval(c(x1$plnum1[1,],x1$brdnum1), c(x1$plsuit1[1,],x1$brdsuit1)) b2 = handeval(c(x1$plnum1[2,],x1$brdnum1), c(x1$plsuit1[2,],x1$brdsuit1)) if(min(b1,b2) > ) a[i] = 1 if(i/1000 == floor(i/1000)) cat(i) } sum(a>.5) One run of this code resulted in 2,505 of the 100,000 simulated hands being coolers. (Different runs of the same code will yield slightly different results.) Thus, we estimate the probability as 2,505/100,000 = 2.505%. Using the central limit theorem, a 95% confidence interval for the true probability of a cooler is thus 2.505% ± √(2.505% % ÷ 100,000) ~ 2.505% ± 0.097%.

name1 = c("gravity","tommy","ursula","timemachine","vera","william","xena") decision1 = list(gravity, tommy, ursula, timemachine, vera, william, xena) tourn1(name1, decision1, myfast1 = 2) tourn1(name1, decision1, myfast1 = 0)