Stat 35b: Introduction to Probability with Applications to Poker

Slides:



Advertisements
Similar presentations
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Savage/Tyler, Kaplan/Gazes 2.P(flop a full house) 3.Bernoulli random.
Advertisements

Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1. Bayes’ Rule again 2.Gold vs. Benyamine 3.Bayes’ Rule example 4.Variance,
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Midterms. 2.Hellmuth/Gold. 3.Poisson. 4.Continuous distributions.
ELEC 303 – Random Signals Lecture 18 – Statistics, Confidence Intervals Dr. Farinaz Koushanfar ECE Dept., Rice University Nov 10, 2009.
4. Convergence of random variables  Convergence in probability  Convergence in distribution  Convergence in quadratic mean  Properties  The law of.
Stat 321 – Lecture 19 Central Limit Theorem. Reminders HW 6 due tomorrow Exam solutions on-line Today’s office hours: 1-3pm Ch. 5 “reading guide” in Blackboard.
Standard error of estimate & Confidence interval.
Copyright © 2005 by Evan Schofer
Stat 13, Tue 6/5/ Hand in hw7. 2. Practice problems. Final exam is Thur, 6/7, in class. It has 20 multiple choice questions. Only about 50% are on.
Stat 13, Thu 5/10/ CLT again. 2. CIs. 3. Interpretation of a CI. 4. Examples. 5. Margin of error and sample size. 6. CIs using the t table. 7. When.
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 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.E(cards til 2 nd king). 2.Negative binomial. 3.Rainbow flops examples,
1 Outline 1.Review of last week 2.Sampling distributions 3.The sampling distribution of the mean 4.The Central Limit Theorem 5.Confidence intervals 6.Normal.
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 13, Tue 5/8/ Collect HW Central limit theorem. 3. CLT for 0-1 events. 4. Examples. 5.  versus  /√n. 6. Assumptions. Read ch. 5 and 6.
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.
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.
Stat 13, Tue 5/15/ Hand in HW5 2. Review list. 3. Assumptions and CLT again. 4. Examples. Hand in Hw5. Midterm 2 is Thur, 5/17. Hw6 is due Thu, 5/24.
MA-250 Probability and Statistics Nazar Khan PUCIT Lecture 26.
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.
Determination of Sample Size: A Review of Statistical Theory
Stat 13, Tue 5/1/ Midterm Expected value, lotto and roulette. 3. Normal calculations. Read ch4. Hw4 is due Tue, 5/8, and Midterm 2 is Thur,
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.
Review Normal Distributions –Draw a picture. –Convert to standard normal (if necessary) –Use the binomial tables to look up the value. –In the case of.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day, Tue 3/13/12: 1.Fred Savage hand. 2.Random walks, continued, for 7.14.
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.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.E(X+Y) = E(X) + E(Y) examples. 2.CLT examples. 3.Lucky poker. 4.Farha.
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.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Uniform, normal, and exponential. 2.Exponential example. 3.Uniform.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.HW4 notes. 2.Law of Large Numbers (LLN). 3.Central Limit Theorem.
Central Limit Theorem Let X 1, X 2, …, X n be n independent, identically distributed random variables with mean  and standard deviation . For large n:
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.PDFs and CDFs, for Random walks, ch 7.6. Reflection principle,
(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.
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.
Sums of Random Variables and Long-Term Averages Sums of R.V. ‘s S n = X 1 + X X n of course.
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.Odds ratio example again. 2.Random variables. 3.cdf, pmf, and density,
CONFIDENCE INTERVALS USING YOUR GDC Stats 1 with Liz.
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Supplemental Lecture Notes
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 31, Section 1, Last Time Sampling Distributions
Sec. 7-5: Central Limit Theorem
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
Sample Mean Distributions
Stat 35b: Introduction to Probability with Applications to Poker
Parameter, Statistic and Random Samples
Stat 35b: Introduction to Probability with Applications to Poker
Data Analysis and Statistical Software I ( ) Quarter: Autumn 02/03
ASV Chapters 1 - Sample Spaces and Probabilities
Using the Tables for the standard normal distribution
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 Lab 9.
Stat 35b: Introduction to Probability with Applications to Poker
Stat 35b: Introduction to Probability with Applications to Poker
Interval Estimation Download this presentation.
Stat 35b: Introduction to Probability with Applications to Poker
How Confident Are You?.
Presentation transcript:

Stat 35b: Introduction to Probability with Applications to Poker Outline for the day, Tue 3/6/12: Return hw3. Owais Ahmed vs. Phil Hellmuth, jr. LLN and the Fundamental Theorem of Poker. CLT. Confidence Intervals. E(X+Y) example corrected. Read ch7. Also, read pages 109-113 on optimal play, though it’s not on the final. Homework 4, Stat 35, due Thu March 15, 12:30pm: 6.12, 7.2, 7.8, 7.14. Project B is due this Fri, March 9, 8pm, by email. If you want descriptions of the arguments to your function, you can see http://www.stat.ucla.edu/~frederic/35b/F09/projectBexamples.txt

1. Return hw3. 2. Owais Ahmed vs. Phil Hellmuth, jr.

3. Law of Large Numbers (LLN) and the Fundamental Theorem of Poker, ch 7.3. David Sklansky, The Theory of Poker, 1987. “Every time you play a hand differently from the way you would have played it if you could see all your opponents’ cards, they gain; and every time you play your hand the same way you would have played it if you could see all their cards, they lose. Conversely, every time opponents play their hands differently from the way they would have if they could see all your cards, you gain; and every time they play their hands the same way they would have played if they could see all your cards, you lose.” Meaning? LLN: If X1, X2 , etc. are iid with expected value µ and sd s, then Xn ---> µ. Any short term good or bad luck will ultimately become negligible to the sample mean. However, this does not mean that good luck and bad luck will ultimately cancel out. See p132.

4) Central Limit Theorem (CLT), ch 7.4. Sample mean (Xn) = ∑Xi / n iid: independent and identically distributed. Suppose X1, X2 , etc. are iid with expected value µ and sd s , LAW OF LARGE NUMBERS (LLN): Xn ---> µ . CENTRAL LIMIT THEOREM (CLT): (Xn - µ) ÷ (s/√n) ---> Standard Normal. Useful for tracking results.

95% between -1.96 and 1.96

Truth: -49 to 51, exp. value µ = 1.0 Truth: -49 or 51, each with prob. 1/2. exp. value = 1.0

Truth: uniform on -49 to 51. µ = 1.0 Estimated using Xn +/- 1.96 s/√n = .95 +/- 0.28 in this example

* Poker has high standard deviation. Important to keep track of results. * Don’t just track ∑Xi. Track Xn +/- 1.96 s/√n . Make sure it’s converging to something positive.

(Xn - µ) ÷ (s/√n) ---> Standard Normal. (mean 0, SD 1). Central Limit Theorem (CLT): if X1 , X2 …, Xn are iid with mean µ& SD s, then (Xn - µ) ÷ (s/√n) ---> Standard Normal. (mean 0, SD 1). In other words, Xn has mean µ and a standard deviation of s÷√n. Two interesting things about this: (i) As n --> ∞. Xn --> normal. Even if Xi are far from normal. e.g. average number of pairs per hand, out of n hands. Xi are 0-1 (Bernoulli). µ = p = P(pair) = 3/51 = 5.88%. s = √(pq) = √(5.88% x 94.12%) = 23.525%. (ii) We can use this to find a range were Xn is likely to be. About 95% of the time, a std normal random variable is within -1.96 to +1.96. So 95% of the time, (Xn - µ) ÷ (s/√n) is within -1/96 to +1.96. So 95% of the time, (Xn - µ) is within -1.96 (s/√n) to +1.96 (s/√n). So 95% of the time, Xn is within µ - 1.96 (s/√n) to µ + 1.96 (s/√n). That is, 95% of the time, Xn is in the interval µ +/- 1.96 (s/√n). = 5.88% +/- 1.96(23.525%/√n). For n = 1000, this is 5.88% +/- 1.458%. For n = 1,000,000 get 5.88% +/- 0.0461%.

(Xn - µ) ÷ (s/√n) ---> Standard Normal. (mean 0, SD 1). Another CLT Example Central Limit Theorem (CLT): if X1 , X2 …, Xn are iid with mean µ& SD s, then (Xn - µ) ÷ (s/√n) ---> Standard Normal. (mean 0, SD 1). In other words, Xn is like a draw from a normal distribution with mean µ and standard deviation of s÷√n. That is, 95% of the time, Xn is in the interval µ +/- 1.96 (s/√n). Suppose you average $5 profit per hour, with a SD of $60 per hour. If you play 1600 hours, let Y be your average profit over those 1600 hours. What is range where Y is 95% likely to fall? A. We want µ +/- 1.96 (s/√n), where µ = $5, s = $60, and n=1600. So the answer is $5 +/- 1.96 x $60 / √(1600) = $5 +/- $2.94, or the range [$2.06, $7.94].

(Xn - µ) ÷ (s/√n) ---> Standard Normal. (mean 0, SD 1). 5. Confidence intervals (Cis) for µ, ch 7.5. Central Limit Theorem (CLT): if X1 , X2 …, Xn are iid with mean µ& SD s, then (Xn - µ) ÷ (s/√n) ---> Standard Normal. (mean 0, SD 1). So, 95% of the time, Xn is in the interval µ +/- 1.96 (s/√n). Typically you know Xn but not µ. Turning the blue statement above around a bit means that 95% of the time, µ is in the interval Xn +/- 1.96 (s/√n). This range Xn +/- 1.96 (s/√n) is called a 95% confidence interval (CI) for µ. [Usually you don’t know s and have to estimate it using the sample std deviation, s, of your data, and (Xn - µ) ÷ (s/√n) has a tn-1 distribution if the Xi are normal. For n>30, tn-1 is so similar to normal though.] 1.96 (s/√n) is called the margin of error. Example. Dwan vs. Antonius.

The range Xn +/- 1. 96 (s/√n) is a 95% confidence interval for µ. 1 The range Xn +/- 1.96 (s/√n) is a 95% confidence interval for µ. 1.96 (s/√n) (from fulltiltpoker.com:) Based on these data, can we conclude that Dwan is the better player? Is his longterm avg. µ > 0? Over these 39,000 hands, Dwan profited $2 million. $51/hand. sd ~ $10,000. 95% CI for µ is $51 +/- 1.96 ($10,000 /√39,000) = $51 +/- $99 = (-$48, $150). Results are inconclusive, even after 39,000 hands! How many more hands are needed? If Dwan keeps winning $51/hand, then we want n so that the margin of error = $51. 1.96 (s/√n) = $51 means 1.96 ($10,000) / √n = $51, so n = [(1.96)($10,000)/($51)]2 ~ 148,000, so about 109,000 more hands.

6. E(X+Y+Z) example again. Deal til the 2nd king. X = # of cards til the 2nd king. E(X)? Consider any ordering of the deck. e.g. 7,Q,Ju,2, 9,K,3,9,7,A, K,… For any such ordering, there is another with the cards before the first king exchanged with the cards between the 1st king and the 2nd king. Similarly, for the cards between the 2nd king and 3rd king, and for the cards between the 3rd king and 4th king, and between the 4th king and the end of the deck. So, P(# of cards before 1st king = 5) = P(# of cards bet. 1st and 2nd king = 5), etc. Therefore if X1 = the # of cards before the 1st king, and X1 = # of cards between 1st and 2nd king, then E(X1) = ∑k k P(X1 =k) = ∑k k P(X2 =k) = E(X2). And, X1 + X2 + X3 + X4 + X5 = 48, so EX1 + EX2 + EX3 + EX4 + EX5 = 48, so E(X1) = E(X2) = E(X3) = E(X4) = E(X5) = 48/5 = 9.6 We want E(X1 + X2 + 2) = E(X1) + E(X2) + 2 = 21.2.