Docsity

Basic Probability and Statistics I - Lecture Notes | MATH 3350, Study notes of Probability and Statistics

Toggle sidebar
bg1
Class Notes for Probability & Statistics I
(Math 3350)
R. Sinn
North Georgia College & State University
September 12, 2008
Abstract
A poker-based introduction to probability and statistics. Almost
all the examples are real poker problems from No Limit Texas Holdem
(NLHE) whose answers interest winning players.
1 Basic Probability
1.1 Organizing Principals
Professional gamblers and poker players actually use mathematics to earn a
living. Career paths for professional gamblers include running casinos and
betting parlors in places where such things are legal. They o¤er odds for
betting on athletic events and various races. They design and perfect games
of chance for the casino ‡oor and verify that the games are fair. Well, some
do. Other, less legal careers for professional gamblers, of which professional
poker players are currently the most high pro…le specimens. Ten years ago,
few people outside Vegas knew of the legendary Doyle Brunson. Today,
many of us can name poker celebrities like Phil Ivey, the "Poker Brat" Phil
Hellmuth or Annie Duke.
What matematics do they use? They use probability theory to predict
the future. They use statistics to analyzes the past. With an understanding
of both, they manufacture hundreds of "small edges" over their competition
to earn money.
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b

Partial preview of the text

Download Basic Probability and Statistics I - Lecture Notes | MATH 3350 and more Study notes Probability and Statistics in PDF only on Docsity!

Class Notes for Probability & Statistics I

(Math 3350)

R. Sinn

North Georgia College & State University

September 12, 2008

Abstract A poker-based introduction to probability and statistics. Almost all the examples are real poker problems from No Limit Texas Holdem (NLHE) whose answers interest winning players.

1 Basic Probability

1.1 Organizing Principals

Professional gamblers and poker players actually use mathematics to earn a living. Career paths for professional gamblers include running casinos and betting parlors in places where such things are legal. They o§er odds for betting on athletic events and various races. They design and perfect games of chance for the casino áoor and verify that the games are fair. Well, some do. Other, less legal careers for professional gamblers, of which professional poker players are currently the most high proÖle specimens. Ten years ago, few people outside Vegas knew of the legendary Doyle Brunson. Today, many of us can name poker celebrities like Phil Ivey, the "Poker Brat" Phil Hellmuth or Annie Duke. What matematics do they use? They use probability theory to predict the future. They use statistics to analyzes the past. With an understanding of both, they manufacture hundreds of "small edges" over their competition to earn money.

A roulette ball falling into its slot and a card drawn from a well-shu≠ ed deck are two example of probability experiments. A probability experi- ment is any event whose outcomes are prefectly random and exactly pre- dicted by probabilities. The probability space (or sample space) is the col- lection of all possible outcomes of the experiment. A simple random sample (SRS) is a collection of outcomes drawn at random from the probability space S. An event is set of outcomes. We use set notation: an event A is a subset of S. Determining probabilities typically devolves into a counting excercise. We simply count the number of outcomes in event A and divide by the number of outcomes in S. To simplify our work, we will use the cardinality operator n(A) to indicate "the number of elements (outcomes) in set (event) A." This leads us to the only formula in discrete probability theory:

P (A) = n n((AS))

Example 1 Suppose we draw a single card at random from a well-shu≠ ed standard deck. What is the probability of drawing a heat?

Let the event (set) H represent the 13 "hearts" outcomes. Then

P (A) = n n((HS)) = 1352 = (^14)

Generally, in probability caclulations, the compound event "A or B" means A [ B, while "A and B" indicates A \ B. For "either or" probabilities, we generally add. Independence of the events makes a vast di§erence. Sets A and B are independent provided A \ B = ?.

  1. For indepedent sets: P (A [ B) = P (A) + P (B).
  2. For dependent sets: P (A [ B) = P (A) + P (B) P (A \ B).

Let A represent the event of a turning an Ace, and let C represent the event of turning a club. Since Hero hold the Ac, A \ C = ?, and thus P (A [ C) = P (A) + P (C). Hero can see four clubs, the two in his hand and the two on the board. So n(C) = 9. There are three Aces left, so n(A) = 3. We know where Öve the 52 cards in the deck are, so:

P (A [ C) = n(A n)+(Sn)( C)= 3+9 47 = (^1247)

Example 3 Hero holds J~ T}, and áop comes K~ Q| 3 |. Hero feels he will win with a straight, but worries that Villain holds two clubs (áushes beat straights). What is his probability of winning on the next card?

Let T be the event Hero turns a straight card (any A or 9), and let F be the event a áush card hits (any club). Here, the winning event for Hero is T n F , and n(T n F ) = 8 2 , that is the 8 straight cards "throw away" the A| and the 9|. The solution is 476.

Example 4 Hero faces one villain heading to the áop where Hero bets last. It is known that the probability of "hitting the áop" with any two unpaird cards is approximately 1/3.

Let H be the event of "hitting the áop," e.g. pairing one (or more) of the board cards. The important probability is knowing that P (not H) = 1 13 = 23. Aggressive poker players use this likelihood of "unimproved" cards in villainís hand to bet (blu§) on the áop. This is so common it has a name: a continuation bet, or cbet.

1.1.1 Odds

One of the more confusing aspects of Vegas-style betting is that gamblers tend to state probabilities in terms of odds rather than percentages. A weatherman would say "thereís a 70% chance of rain tomorrow." A gam- ber would lay 7 to 3 odds for rain tomorrow. A percentage probability is

based on the fraction, here, 107. In fractional probabilities, we give the "num- ber of successes" divided by the "total outcomes." For odds, we give a ratio of "number of successes" to "number of failures." The order is important: success to failure. Poker players know a host of odds. For example, Hero faces odds of roughly 7.5 to 1 against áopping set when starting with a poket pair (pp). The "against" turns the odds around, meaning there is likely to be "1" success for each "7.5" failures. To convert to a probability, we Önd the denominator by Örst adding successes and failures. Let F S be the event of áopping a set given that Hero starts with a pp. Then:

P (F S) = 7 :5+1^1 = 81 : 5 = 172 = 0:117 65

Depending upon the ppís involved in NLHE, the higher one is generally about a 4 to 1 favorite. This means that a hand like TT will beat a hand like 55 about 4 times in 5 , or 80% of the time. Poker players tend to use both percentage chance of winning (called eq- uity) and odds, depending upon the situation. When betting, knowing oneís odds is more useful since it allows us to match our bet-to-pot ratio and com- pare it to our successes-to-failure ratio. For example, Hero estimates his chances of winning the pot are 1 in 3, or 2 to 1 against. Villain bets $ into a $100 pot. Hero must call $50 for a chance to win $150. Hero has 2 to 1 odds (against) making his hand, but the pot is "laying him" 3 to 1 odds ($150 to $50). In this case, it is best for Hero to call, since the odds against him making his hand are lower than the pot odds.

1.1.2 Equity

Once you understand the ratio vs. fraction concept, converting odds to probabilities is pretty simple and can usually be at least estimated in your head. Going from percentages to odds can be a bit more tricky. Poker players tend to use various odds calculators like PokerStove (highly recommended, free ñ google "Poker Stove"). Suppose in a tournament, two players bet all-in preáop, Hero has QQ, Villain has AQs. Using "the stove," we Önd that Hero has a 65.725% chance of winning. Rounding a bit, we Önd that Heroís odds are 65.8 to 34.2, but we simplify so that the Önal number is a

low (A = 1) for the purposes of straights. Most poker books and articles use shorthand for the cards. A typical variation is to indicate the card strength in capital letters or numbers followed by the suit in lowercase letters. The Ace of spades is As, the 8 of hearts is 8h, and so forth. There are times when the suit indicator letter is left o§. Preáop, we often write AK to indicate an Ace and King of di§erent suits. AKs indicates they are of the same suited, or "suited." After the áop, when no áush draw is present, the suit indicators are often left o§, as well.

1.2.2 Hands

The winning hands in poker are based on Öve card hands, though rarely is poker played with only Öve cards available for each player in modern times. Most often, the player uses seven cards and makes his best 5-card hand from them. The ranking of hands is as follows, from best to worst:

  1. Straight Flush (J T 9 8 7 of same suit)
  2. Quads or 4-of-a-kind
  3. Full House (8 8 8 2 2)
  4. Flush (all Öve cards same suit)
  5. Straight (all Öve cards "in a row," 9 8 7 6 5)
  6. 3-of-a-kind (called set when Hero starts with a pocket pair, trips oth- erwise)
  7. 2 Pair
  8. 1 Pair
  9. Ace high

Ties result when players have identical hands, and the pot is divided equally among the two (or more) tied players. Unlike Bridge, there is no ranking of suits. A 7-high heart áush ties with a 7-high club áush.

1.2.3 Betting

In most common poker games, the Örst betting round occurs after two or three cards are dealt to each player. Also, most modern poker games have "forced bets." In stud games, each player antes, and a "bring-in bet" is often required of half the size of a standard bet. An ante is a small amount required of each player to participate. In "holdem" poker games like Texas Holdem and Omaha, forced bets are called "blinds" and are based on your position. The Örst player to the dealerís left pays the small blind (SB) and the second player to the dealerís left pays the big blind (BB). The SB is usually half the BB. Two main types of betting are allowed, one called "limit poker," the other called "no limit poker." In limit poker games, bets and raises are Öxed. In early rounds, the Öxed bet is equal to the BB. In later rounds, the Öxed bet doubles. In no limit poker, a bet of any amount is allowed at any time, leading to the exciting "Iím all in!" moments shown on televised poker tournaments. A raise must be at least as large as the bet that preceeds it. Opening bets have several names. Since the SB and BB are forced, any bet larget than the BB is actually a "raise." When a player just "completes" or matches the BB, he is said to be "limping in" or just limping. When a player is said to have opened, we mean he has raised unless an "open limp" is speciÖed. Oddly, a preáop reraise (a second unforced bet that raises the player who opened) is called a 3-bet despite being either the 2nd "real" bet or the 4th bet total. A re-reraise is called a 4-bet. By this time in no limit, generally someone is all-in, so the term 5-bet is rarely used. In limit poker, a round of betting is usually limitted to 4 total bets, e.g. a bet and 3 raises.

Texas Holdem There are four betting rounds in holdem: preáop, áop, turn and river. Preáop, the blinds "post" or make the forced bets, and two cards are dealt face down to each player. A round of betting begins with the Örst player to the left of the BB. The next Öve cards dealt are all dealt face up in the center of the table. They are community cards and can be used by any player along with 0, 1, or 2 of his own cards to make the best possible 5-card poker hand. The áop is dealt: three cards. A betting round follows starting with the SB or, if he has folded, the Örst player to the left of the dealer. The turn is the fourth face up card dealt in the middle, and river is Önal card. Each is followed by a betting round starting to the dealerís

typical rules) and one holding the best "low card" hand. To qualify a low card hand, a player must have 5 unpaired cards that are 8 or lower, including Aces. Straights (and áushes) do not count. The lowest or "best" low card hand is A 2 3 4 5. This is also a straight, and a player holding it often "scoops" the pot, or wins both halves, the high and the low. Often, no player is able to "qualify" a low card hand. Then the best high card hand wins the entire pot. Omaha and Stud have common Hi/Lo variants. PLO refers to "pot limit Omaha" and is a high card only game. O8B refers to "Omaha 8 or better," meaning it is a Hi/Lo version. Most commonly, this game is limit, but a pot limit version PLO8 is also played. Stud refers to the common high card game. Stud E ("E" means 8 or better) refers to the Hi/Lo variant. The most common Öve games are played in alternating rounds, a practice begun in the "Big Game," a legendary poker game played for the highest stakes by the best poker players in the world and few billionaires who en- joy gambling with them. The game is called HORSE and rotates between Holdem, O8B, Razz, Stud and Stud E. Razz is a low-card only game, with no straights or áushes, where all hands qualify as low. The best low card wins the entire pot in Razz, which is dealt like Stud. The entire array of poker games make for interesting probability ques- tions. The sitation in each will be explained in enough detail to solve the problem. However, the person with no experience playing any poker game at all will be at a disadvantage. Go play some FREE poker online!!

1.2.5 Strategy

Several considerations a§ect every poker decision. Oddly, rather far down the list of important considerations is the actual cards Hero holds. More important are considerations like position, e§ective stack size and "reads" or an understanding of how opponents play their holdings. In poker, the player who bets the most wins. The cards only break ties.

Position * Position is so important that many abbreviations have devel- oped to help poker players quickly discuss hands. In casinos, the dealer position rotates, the position marked by a "button" with a "D" on it. So the dealerís position is called the button (BTN). The position to the dealerís left

is the small blind (SB), next is big blind (BB). Those who bet Örst are said to be in early position (EP). Later bettors are middle position (MP) while those betting last are late position (LP). A standard NLHE poker game is played with a table of 9 or 10 play- ers. In a 9-player game, the names of the positions are as follows, starting immediately to the dealerís left:

 SB - small blind

 BB - big blind

 UTG - under the gun (Örst to act in Örst betting round)

 UTG+

 MP1 - 1st middle position player

 MP2 - 2nd middle position player

 MP3 - also called "hijack" seat

 CO - cuto§ seat

 BTN - button or dealer

For a 10-handed game, we add UTG+2. A popular variant especially online (where dealerís donít earn wages) is called 6max, where only 6 players play at a table. There, the seats would be labeled as follows:

 SB

 BB

 UTG

 MP

 CO

 BTN

Stack Sizes Unlike old movies and TV shows, players cannot be "raised out" of a hand.

Example 7 Suppose Hero has a full buy-in (BI) playing 200nl, but all the other players have only 50 BB, or $100 stacks. Hero holds AA on the button (OTB) and an EP player opens for a standard raise of $8 showing signiÖcant strength. Hero 3-bets to $20, everyone else folds except EP who 4-bets to $50. Hero goes "all in," meaning he shoves all $200 worth of his chips into the center of the table. But the EP villain only had $100 to start the hand, and he bet $8 to open and 4-bet $50 more. He only has $42 remaining. So Heroís "all-in" bet is actually just a $42 bet. If villain calls, his remaining chips will be counted, and Hero will be returned any chips which Villain cannot match.

The example leads to the notion of "e§ective stack size." Since a deep stacked player with lots of chips to wager can only bet as much as his oppo- nents have in front of them, "e§ective stack size" means the smallest amount of chips any player has who is left in hand. The reason stack sizes are so important is due to a phenomenon known as "implied pot odds." Quite possibly the most valuable NLHE hand is the "set," where Hero holds a pocket pair (pp) like the TTís in the two exam- ples above, then catches a third T on the áop - the classic "áopping a set" that every NLHE player dreams about. Typically, Villain has open raised for something like $10 and Hero decides to call with 22. If villain has $ in his stack (after opening), Hero is getting 15 to 1 "set odds" on his hand, meaning he stands to win $150 more if the áop comes something like A J 2. Heroís "implied odds" are good for two reasons. The EP open raise indicates a strong hand for Villain, and the áop is likely to have helped Villainís hand much more than Heroís. So we would expect Villain to continue betting, especially with AK or AQ type hands. Knowing oneís implied odds is impos- sible, but they are greater whenever stacks are deep, villain has a good but second-best hand, and when villain is aggressive (meaning he prefers to bet and raise rather than call - a sure-Öre way to get lots of chips in the pot). In general, Hero needs at least 15 to 1 and sometimes 20 to 1 set odds to call a preáop bet with a hand like 33. And hands like 8h 7h (called suited connectors) hit two pair or better on the áop once in twenty times. So most poker players suggest at least 30 to 1 e§ective stack sizes to call a bet with this type of hand.

2 Probability Calculations

We are Önally ready to do some computations. The formula for determining any (discrete) probability is simply:

P (A) = n n((AS))

Determining the cardinality of the sets involved - when they are very large

  • can be di¢ cult. So mathematicians have developed some helpful machinery.

2.1 Repeated Trials

Most often in poker, we pick more than card at a time: Heroís two pocket cards, the three áop cards, and so on. These picks of multiple items at once are examples of repeated trials. We repeat the probability experiment a certain number of times and determine the likelihood of some series of events. The repetead trials may be either indepedent or dependent.

DeÖnition: Independent Trials. Let A 1 ,A 2 ,   An rep- resent n repeated trials of any event A in a given probability experiment. The experiment is said to be independent provided that for any event in S and for any whole number n, P (A 1 ) = P (A 2 ) =    = P (An).

If the probability of events remain Öxed for each trial, the events are said to be independent, and draws of samples are said to be conducted with replacement. An example would be shu≠ ing the deck and drawing a single card. If the card were replaced into the deck before another was drawn, the probability of drawing any card would remain unchanged. For depedent trials, the probability in later trials is a§ected by earlier draws. Sampling is conducted without replacement. This is the common sampling type for card games, where cards are dealt and remain with the players or on the board until the hand is Önished. Thus, if Hero is a dealt an Ace, the probability of any other Ace appearing is reduced due to the fact that only three - not four - remain in the deck.

2.2 Counting

The following series of examples will introduce the way in which these ideas interelate. They are not given in any particular order on purpose,with hopes that you will stop before reading the solution and try to identify whether the samples are drawn with or without replacement and whether the events are ordered or unordered. Performing this simple exercise will help immensely on later tests and quizzes. Also note that, for each example, the event set is explicitly deÖned. This is an important habit to develop so your test and quiz responses are clear to the grader.

Example 8 How many starting hands exist in Texas Holdem?

Let T be the event of drawing two cards from 52. This is sampling without replacement where events are unordered (e.g. AK is equivalent to KA). Then we have "52 cards choose 2" possibilities:

n(T ) =

2

= 2!50!52! = (2^52 1)^51 (50^50  4949  22 1)^1 = 522 ^51 = 1326

Example 9 Hero sits down at a tournament table with 9 other players of skill level ranked 1 through 9, with 9 being best. In how many di§erent orders of skill level can the players be seated around the table relative to Heroís position?

Let R be the event of seating all 9 players at random at the table. Once a player has been seated, he remains seated. Therefore, this is sampling without replacement, but here the event is ordered. In poker, money moves from right to left around the table (the power of position). So Hero generally prefers the best players to be to his right. Here, an order of 1 2 3 4 5 6 7 8 9 from Heroís immediate left to Heroís immediate right is preferred. We Önd there are "9 permute 9" possibilities:

n(R) = (^) (99!9)! = 9 ^8 ^7 0! 2 ^1 = 9  8  7     2  1 = 362; 880

Example 10 How many total áops are possible given that we know Heroís two pocket cards?

Let F be the event of drawing 3 cards for the áop. This is sampling without replacement, and the event is unordered. We know Heroís cards, so the deck has only 50 cards. There are "50 choose 3" possibilities for the áop:

n(F ) =

3

= 3!47!50! = 503 ^492  148 = 19; 600

Example 11 Hero holds ATs. What is the probability that he áops a áush, e.g. that all three áop cards are of the same suit as his A and T?

Let F be the event of all 3 cards being the same suit as Heroís cards. This is sampling without replacement, and the event is unordered. We know two of the cards, so the deck has only 50 cards. Since there are 11 of the 13 suited cards Hero needs (13 minus the 2 in his hand), we Önd there are " choose 3" possibilities for him to draw only cards in his suit:

P (F ) = n n((FS^ )) =

(^113 )

(^503 )

Example 12 What is the probability of drawing Öve cards and having a áush, e.g. all of cards of the same suit?

Let HF be the event of all 5 cards being hearts. We will Önd the prob- ability of a heart áush, then multiply the result by four since there are four di§erent suits. (There are other more elegant ways to proceed, which we will cover in the next section.) This is sampling without replacement, and the event is unordered. There are "52 choose 5" possibilities in the probability space. There are "13 choose 5" ways for him to draw only hearts:

P (HF ) = n n(HF(S)^ )= (

13 5 ) (^525 )

= 66 640^33  4 :952 0  10 ^4

Because it is impossible to have exactly Öve hearts and exactly six (or seven) hearts simulatneoulsy, the events HF 5 , HF 6 and HF 7 are mutually independent. Therefore:

P (HF 5 [ HF 6 [ HF 7) = P (HF 5) + P (HF 6) + P (HF 7)

= 1073 ; 291 ;^359 ; 120 + 12 ;;287+33 572 ; 780 = 1078 ; 291 ;^639 ; 120  0 : 0076414

Now that we have the probability of drawing a heart áush with seven cards, we multiply:

P (F ) = 4  P (HF ) = 104 ;^78291 ;^639 ; 120 = 2 ;^78572 ;^639 ; 780  0 : 030566

Comparing this result to the previous example, we Önd that áushes are about ten times more likely with seven cards than with Öve, a main reason most modern poker games use (at least) seven cards.

2.3 Partitions

We can use the idea of combinations to partition the deck into groups of cards, or subsets. Consider the problem of drawing Öve cards and having exactly one pair. Let R be the event of having exactly two cards of the same rank. One way to perform the calculation is as follows:

P (R) =

(^131 )(^42 )(^123 )(^41 )(^41 )(^41 )

(^525 ) =^

352 833 = 0:^42257

The terms in the numerator arise from the following reasoning:

1

There are "13 choose 1" ways to pick the rank or value of the pair, e.g. QQ, for example.



2

There are "4 choose 2" ways to pick two of that rank.

3

There are "12 choose 3" ways to draw cards of three di§erent ranks from the remaining 12 insuring exactly one pair.



1

For each of the three values, there are "4 choose 1" ways to pick one card of that value. We generally write this as

1

, but we listed all three individually for clarity.

Example 14 What is the probability of drawing two pair into a Öve card hand?

Let 2 P be the event of having exactly two pair. Then:

P (2P ) =

(^132 )(^42 )^2 (^111 )(^41 )

(^525 ) =^

198 4 ; 165 = 0:^047539

The terms in the numerator arise from the following reasoning:

2

There are "13 choose 2" ways to pick the rank or value of the two pairs, e.g. QQ and 99, for example.



2

There are "4 choose 2" ways to pick two of each rank. We square this term, since weíre picking two cards from each rank.



1

There are "11 choose 1" ways to draw a card of a di§erent rank from the pairs.



1

There are "4 choose 1" ways to pick one card of that value.

The Örst term in the numerator partitions the deck into a group of two values (Qís and 9ís, for example) and group of the 11 other values. We then pick the necesary cards from those two groups. The third term partitions the remaining 11 values into a group of 1 and a group of 10. From the group of 1 value, the Önal numerator term selects the Öfth card. Once youíve learned how to use partitions e§ectively, probability calcu- lations for most poker situations become very simple. Also, when you know