SlideShare a Scribd company logo
1
Gambling, Probability, and Risk
(Basic Probability and Counting Methods)
A gambling experiment
ļ® Everyone in the room takes 2 cards
from the deck (keep face down)
ļ® Rules, most to least valuable:
ļ®
Pair of the same color (both red or both black)
ļ®
Mixed-color pair (1 red, 1 black)
ļ®
Any two cards of the same suit
ļ®
Any two cards of the same color
In the event of a tie, highest card wins (ace is top)
What do you want to bet?
ļ® Look at your two cards.
ļ® Will you fold or bet?
ļ® What is the most rational strategy given
your hand?
Rational strategy
ļ® There are N people in the room
ļ® What are the chances that someone in
the room has a better hand than you?
ļ® Need to know the probabilities of
different scenarios
ļ® Weā€™ll return to this later in the lectureā€¦
Probability
ļ® Probability ā€“ the chance that an uncertain
event will occur (always between 0 and 1)
Symbols:
P(event A) = ā€œthe probability that event A will occurā€
P(red card) = ā€œthe probability of a red cardā€
P(~event A) = ā€œthe probability of NOT getting event Aā€ [complement]
P(~red card) = ā€œthe probability of NOT getting a red cardā€
P(A & B) = ā€œthe probability that both A and B happenā€ [joint probability]
P(red card & ace) = ā€œthe probability of getting a red aceā€
Assessing Probability
1. Theoretical/Classical probabilityā€”based on theory
(a priori understanding of a phenomena)
e.g.: theoretical probability of rolling a 2 on a standard die is 1/6
theoretical probability of choosing an ace from a standard deck
is 4/52
theoretical probability of getting heads on a regular coin is 1/2
2. Empirical probabilityā€”based on empirical data
e.g.: you toss an irregular die (probabilities unknown) 100 times and
find that you get a 2 twenty-five times; empirical probability of
rolling a 2 is 1/4
empirical probability of an Earthquake in Bay Area by 2032 is .
62 (based on historical data)
empirical probability of a lifetime smoker developing lung cancer
is 15 percent (based on empirical data)
Recent headlines on earthquake
probabiilitesā€¦
http://www.guardian.co.uk/world/2011/may/26/italy-quake-expe
Computing theoretical
probabilities:counting methods
Great for gambling! Fun to compute!
If outcomes are equally likely to occurā€¦
outcomesof#total
occurcanAwaysof#
)( =AP
Note: these are called ā€œcounting methodsā€ because we have
to count the number of ways A can occur and the number
of total possible outcomes.
Counting methods: Example 1
0769.
52
4
deckin thecardsof#
deckin theacesof#
)aceandraw( ===P
Example 1: You draw one card from a deck of
cards. Whatā€™s the probability that you draw an ace?
Counting methods: Example 2
Example 2. Whatā€™s the probability that you draw 2 aces when you draw
two cards from the deck?
52
4
deckin thecardsof#
deckin theacesof#
)drawfirstonacedraw( ==P
51
3
deckin thecardsof#
deckin theacesof#
)toodrawsecondonaceandraw( ==P
51
3
x
52
4
ace)ANDacedraw( =āˆ“P
This is a ā€œjoint probabilityā€ā€”weā€™ll get back to this on Wednesday
Counting methods: Example 2
Numerator: Aā™£Aā™¦, Aā™£Aā™„, Aā™£Aā™ , Aā™¦Aā™„, Aā™¦Aā™ , Aā™¦Aā™£, Aā™„Aā™¦, Aā™„Aā™£, Aā™„Aā™ ,
Aā™ Aā™£, Aā™ Aā™¦, or Aā™ Aā™„ = 12
drawcouldyousequencescard-2differentof#
aceace,drawcanyouwaysof#
)aces2draw( =P
.
.
.
52 cards 51 cards
.
.
.
Two counting method ways to calculate this:
1. Consider order:
Denominator = 52x51 = 2652 -- why?
5152
12
)aces2draw(
x
P =āˆ“
drawcouldyouhandscard-twodifferentof#
acesofpairsof#
)aces2draw( =P
Numerator: Aā™£Aā™¦, Aā™£Aā™„, Aā™£Aā™ , Aā™¦Aā™„, Aā™¦Aā™ , Aā™„Aā™  = 6
Divide
out
order!
Denominator =
Counting methods: Example 2
2. Ignore order:
2
5152
6
)aces2draw(
x
P =āˆ“
1326
2
5152
=
x
Summary of Counting Methods
Counting methods for computing probabilities
With replacement
Without replacement
Permutationsā€”
order matters!
Combinationsā€”
Order doesnā€™t
matter
Without replacement
Summary of Counting Methods
Counting methods for computing probabilities
With replacement
Without replacement
Permutationsā€”
order matters!
Permutationsā€”Order matters!
A permutation is an ordered arrangement of objects.
With replacement=once an event occurs, it can occur again
(after you roll a 6, you can roll a 6 again on the same die).
Without replacement=an event cannot repeat (after you draw
an ace of spades out of a deck, there is 0 probability of
getting it again).
Summary of Counting Methods
Counting methods for computing probabilities
With replacement
Permutationsā€”
order matters!
With Replacement ā€“ Think coin tosses, dice, and DNA.
ā€œmemorylessā€ ā€“ After you get heads, you have an equally likely chance of getting a
heads on the next toss (unlike in cards example, where you canā€™t draw the same card
twice from a single deck).
Whatā€™s the probability of getting two heads in a row (ā€œHHā€) when tossing a coin?
H
H
T
T
H
T
Toss 1:
2 outcomes
Toss 2:
2 outcomes 22
total possible outcomes: {HH, HT, TH, TT}
Permutationsā€”with replacement
outcomespossible2
HHgetway to1
)( 2
=HHP
Whatā€™s the probability of 3 heads in a row?
outcomespossible82
1
)( 3
=
=HHHP
Permutationsā€”with replacement
H
H
T
T
H
T
Toss 1:
2 outcomes
Toss 2:
2 outcomes
Toss 3:
2 outcomes
H
T
H
T
H
T
H
T
HH
H
HHT
HTH
HTT
THH
THT
TTH
TTT
36
1
6
66,rollway to1
)6,6( 2
=P
When you roll a pair of dice (or 1 die twice),
whatā€™s the probability of rolling 2 sixes?
Whatā€™s the probability of rolling a 5 and a 6?
36
2
6
6,5or5,6:ways2
)6&5( 2
==P
Permutationsā€”with replacement
Summary: order matters, with
replacement
Formally, ā€œorder mattersā€ and ā€œwith
replacementā€ļƒ  use powersļƒ 
reventsof#the
nevent)peroutcomespossible(# =
Summary of Counting Methods
Counting methods for computing probabilities
Without replacement
Permutationsā€”
order matters!
Permutationsā€”without
replacement
Without replacementā€”Think cards (w/o reshuffling)
and seating arrangements.
Example: You are moderating a debate of
gubernatorial candidates. How many different ways
can you seat the panelists in a row? Call them
Arianna, Buster, Camejo, Donald, and Eve.
Permutationā€”without
replacement
ļƒ  ā€œTrial and errorā€ method:
Systematically write out all combinations:
A B C D E
A B C E D
A B D C E
A B D E C
A B E C D
A B E D C
.
.
.
Quickly becomes a pain!
Easier to figure out patterns using a the
probability tree!
Permutationā€”without
replacement
E
B
A
C
D
E
A
B
D
A
B
C
D
ā€¦ā€¦.
Seat One:
5 possible
Seat Two:
only 4 possible
Etcā€¦.
# of permutations = 5 x 4 x 3 x 2 x 1 = 5!
There are 5! ways to order 5 people in 5 chairs
(since a person cannot repeat)
Permutationā€”without
replacement
What if you had to arrange 5 people in only 3 chairs
(meaning 2 are out)?
==
!2
!5
12
12345
x
xxxx
E
B
A
C
D
E
A
B
D
A
B
C
D
Seat One:
5 possible
Seat Two:
Only 4 possible
E
B
D
Seat Three:
only 3 possible
)!35(
!5
āˆ’
=345 xx
Permutationā€”without
replacement
!5
!0
!5
)!55(
!5
==
āˆ’
Note this also works for 5 people and 5 chairs:
Permutationā€”without
replacement
5152
)!252(
!52
x=
āˆ’
How many two-card hands can I draw from a deck when order
matters (e.g., ace of spades followed by ten of clubs is
different than ten of clubs followed by ace of spades)
.
.
.
52 cards 51 cards
.
.
.
Summary: order matters,
without replacement
Formally, ā€œorder mattersā€ and ā€œwithout
replacementā€ļƒ  use factorialsļƒ 
)1)...(2)(1(or
)!(
!
draws)!orchairscardsorpeople(
cards)!orpeople(
+āˆ’āˆ’āˆ’
āˆ’
=
āˆ’
rnnnn
rn
n
rn
n
Practice problems:
1. A wine taster claims that she can distinguish
four vintages or a particular Cabernet. What
is the probability that she can do this by
merely guessing (she is confronted with 4
unlabeled glasses)? (hint: without
replacement)
2. In some states, license plates have six
characters: three letters followed by three
numbers. How many distinct such plates are
possible? (hint: with replacement)
Answer 1
1. A wine taster claims that she can distinguish four vintages or a particular
Cabernet. What is the probability that she can do this by merely
guessing (she is confronted with 4 unlabeled glasses)? (hint: without
replacement)
P(success) = 1 (thereā€™s only way to get it right!) / total # of guesses she could make
Total # of guesses one could make randomly:
glass one: glass two: glass three: glass four:
4 choices 3 vintages left 2 left no ā€œdegrees of freedomā€ left
āˆ“P(success) = 1 / 4! = 1/24 = .04167
= 4 x 3 x 2 x 1 = 4!
Answer 2
2. In some states, license plates have six characters: three letters
followed by three numbers. How many distinct such plates are
possible? (hint: with replacement)
263
different ways to choose the letters and 103
different ways to
choose the digitsĀ 
āˆ“total number = 263
x 103
= 17,576 x 1000 = 17,576,000
Summary of Counting Methods
Counting methods for computing probabilities
Combinationsā€”
Order doesnā€™t
matter
Without replacement
2. Combinationsā€”Order
doesnā€™t matter
Introduction to combination function, or
ā€œchoosingā€
ļ£·
ļ£ø
ļ£¶
ļ£¬
ļ£­
ļ£« n
r
rn C orĀ Ā Ā Ā Ā 
Spoken: ā€œn choose rā€
Written as:
Combinations
2)!252(
!52
2
5152
āˆ’
=
x
How many two-card hands can I draw from a deck when order
does not matter (e.g., ace of spades followed by ten of clubs is
the same as ten of clubs followed by ace of spades)
.
.
.
Ā 
Ā 52Ā cards 51Ā cards
.
.
.
Ā 
Combinations
?
4849505152 xxxx
How many five-card hands can I draw from a deck when order
does not matter?
.
.
.
Ā 
Ā 
52Ā cards
51Ā cards
.
.
.
Ā 
.
.
.
Ā 
.
.
.
Ā 
.
.
.
Ā 
50Ā cards
49Ā cards
48Ā cards
Combinations
Ā 
How many repeats total??
1.
2.
3.
ā€¦.
Combinations
Ā 
i.e., how many different ways can you arrange 5 cardsā€¦?
1.
2.
3.
ā€¦.
Combinations
Ā 
Thatā€™s a permutation
without replacement.
5! = 120
!5)!552(
!52
!5
4849505152
handsĀ card-5Ā ofĀ #Ā total
āˆ’
==
xxxx
Combinations
ļ® How many unique 2-card sets out of 52
cards?
ļ® 5-card sets?
ļ® r-card sets?
ļ® r-card sets out of n-cards?
!2)!252(
!52
2
5152
āˆ’
=
x
!5)!552(
!52
!5
4849505152
āˆ’
=
xxxx
!)!52(
!52
rrāˆ’
!)!(
!
rrn
nn
r āˆ’
=ļ£·
ļ£ø
ļ£¶
ļ£¬
ļ£­
ļ£«
Summary: combinations
If rĀ objectsĀ areĀ takenĀ fromĀ aĀ setĀ ofĀ n objectsĀ withoutĀ replacementĀ andĀ 
disregardingĀ order,Ā howĀ manyĀ differentĀ samplesĀ areĀ possible?Ā 
Formally, ā€œorder doesnā€™t matterā€ and ā€œwithout replacementā€ļƒ 
use choosingļƒ 
Ā 
!)!(
!
rrn
nn
r āˆ’
=ļ£·
ļ£ø
ļ£¶
ļ£¬
ļ£­
ļ£«
Examplesā€”Combinations
A lottery works by picking 6 numbers from 1 to 49. How
many combinations of 6 numbers could you choose?
816,983,13
!6!43
!4949
6
==ļ£·
ļ£ø
ļ£¶
ļ£¬
ļ£­
ļ£«
Which of course means that your probability of winning is 1/13,983,816!
Examples
Ā Ā HowĀ manyĀ waysĀ canĀ youĀ getĀ 3Ā headsĀ inĀ 5Ā coinĀ tosses?Ā Ā 
10
!2!3
!55
3
==ļ£·
ļ£ø
ļ£¶
ļ£¬
ļ£­
ļ£«
Summary of Counting
Methods
Counting methods for computing probabilities
With replacement: nr
Permutationsā€”
order matters!
Without replacement:
n(n-1)(n-2)ā€¦(n-r+1)=
Combinationsā€”
Order doesnā€™t
matter
Without
replacement:
)!(
!
rn
n
āˆ’
!)!(
!
rrn
nn
r āˆ’
=ļ£·
ļ£ø
ļ£¶
ļ£¬
ļ£­
ļ£«
Gambling, revisited
ļ® What are the probabilities of the
following hands?
ļ®
Pair of the same color
ļ®
Pair of different colors
ļ®
Any two cards of the same suit
ļ®
Any two cards of the same color
Pair of the same color?
ļ® P(pair of the same color) =
nscombinatioĀ cardĀ twoofĀ #Ā total
colorĀ sameĀ ofĀ pairsĀ #
āˆ’
Numerator = red aces, black aces; red kings, black kings;
etc.ā€¦= 2x13 = 26
1326
2
52x51
rDenominato 252 === C
chanceĀ 1.96%Ā Ā 
1326
26
Ā Ā color)Ā sameĀ Ā theofP(pairĀ Ā So, ==
Any old pair?
ļ® P(any pair) =
1326nscombinatiocardtwoof#total
pairs#
=āˆ’
chance5.9%
1326
78
pair)P(any ==āˆ“
pairspossibletotal7813x6
...
6
2
34
!2!2
4!
Ckingsofpairspossibledifferentofnumber
6
2
34
!2!2
4!
Cacesofpairspossibledifferentofnumber
24
24
=
====
====
x
x
Two cards of same suit?
3124784
11!2!
13!
suits4C:Numerator 213 === xxx
chance23.5%
1326
312
suit)sametheofcardsP(two ==āˆ“
Two cards of same color?
Numerator: 26C2 x 2 colors = 26!/(24!2!) = 325 x 2 = 650
Denominator = 1326
So, P (two cards of the same color) = 650/1326 = 49% chance
A little non-intuitive? Hereā€™s another way to look at itā€¦
.
.
.
Ā 
Ā 52Ā cards
26Ā redĀ branches
26Ā blackĀ branches
FromĀ aĀ RedĀ branch:Ā 26Ā blackĀ left,Ā 25Ā redĀ left
.
.
.
Ā 
FromĀ aĀ BlackĀ branch:Ā 26Ā redĀ left,Ā 25Ā blackĀ left
26x25 RR
26x26 RB
26x26 BR
26x25 BB
50/102
Not
quite
50/100
Rational strategy?
ļ® To bet or fold?
ļ® It would be really complicated to take into
account the dependence between hands in the
class (since we all drew from the same deck), so
weā€™re going to fudge this and pretend that
everyone had equal probabilities of each type of
hand (pretend we have ā€œindependenceā€)ā€¦Ā 
ļ® Just to get a rough idea...
Rational strategy?
**Trick! P(at least 1) = 1- P(0)
P(at least one same-color pair in the class)=
1-P(no same-color pairs in the whole class)=
paircolor-sameoneleastatofchance.4%55.446-1(.98)-1 40
==
40
)98(.)....98(.*)98(.*)98(.class)wholein thepairscolor-sameP(no
.98.0196-1pair)color-sameagettdon'P(I
==
ā‰…=
Rational strategy?
P(at least one pair)= 1-P(no pairs)=
1-(.94)40
=1-8%=92% chance
P(>=1 same suit)= 1-P(all different suits)=
1-(.765)40
=1-.00002 ~ 100%
P(>=1 same color) = 1-P(all different colors)=
1-(.51) 40
=1-.000000000002 ~ 100%
Rational strategyā€¦
ļ® Fold unless you have a same-color pair or a
numerically high pair (e.g., Queen, King,
Ace).
How does this compare to class?
-anyone with a same-color pair?
-any pair?
-same suit?
-same color?
Practice problem:
ļ® A classic problem: ā€œThe Birthday Problem.ā€ Whatā€™s
the probability that two people in a class of 25 have
the same birthday? (disregard leap years)
What would you guess is the probability?
Birthday Problem Answer
1. A classic problem: ā€œThe Birthday Problem.ā€ Whatā€™s the
probability that two people in a class of 25 have the same
birthday? (disregard leap years)
Ā **Trick! 1- P(none) = P(at least one)
Use complement to calculate answer. Itā€™s easier to calculate 1- P(no
matches) = the probability that at least one pair of people have the
same birthday.
Whatā€™s the probability of no matches?
Denominator: how many sets of 25 birthdays are there?
--with replacement (order matters)
36525
Numerator: how many different ways can you distribute 365 birthdays
to 25 people without replacement?
--order matters, without replacement:
[365!/(365-25)!]= [365 x 364 x 363 x 364 x ā€¦.. (365-24)]
Ā āˆ“ P(no matches) = [365 x 364 x 363 x 364 x ā€¦.. (365-24)] / 36525
Use SAS as a calculator
Ā Use SAS as calculatorā€¦ (my calculator wonā€™t do factorials as high as 365, so I had to
improvise by using a loopā€¦which youā€™ll learn later in HRP 223):
Ā 
%LET num = 25; *set number in the class;
data null;
top=1; *initialize numerator;
do j=0 to (&num-1) by 1;
top=(365-j)*top;
end;
BDayProb=1-(top/365**&num);
put BDayProb;
run;
Ā From SAS log:
Ā 
0.568699704, so 57% chance!
For class of 40 (our class)?
For class of 40?
10 %LET num = 40; *set number in the class;
11 data null;
12 top=1; *initialize numerator;
13 do j=0 to (&num-1) by 1;
14 top=(365-j)*top;
15 end;
16 BDayProb=1-(top/365**&num);
17 put BDayProb;
18 run;
0.891231809, i.e. 89% chance of a
match!
In this class?
ļ® --Jan?
ļ® --Feb?
ļ® --March?
ļ® --April?
ļ® --May?
ļ® --June?
ļ® --July?
ļ® --August?
ļ® --September?
ļ® ā€¦.

More Related Content

What's hot

Probability and Statistics - Week 2
Probability and Statistics - Week 2Probability and Statistics - Week 2
Probability and Statistics - Week 2
Ferdin Joe John Joseph PhD
Ā 
Week 5 lecture_math_221_nov_2012
Week 5 lecture_math_221_nov_2012Week 5 lecture_math_221_nov_2012
Week 5 lecture_math_221_nov_2012
Brent Heard
Ā 
Week 5 Lecture Math 221 Mar 2012
Week 5 Lecture Math 221 Mar 2012Week 5 Lecture Math 221 Mar 2012
Week 5 Lecture Math 221 Mar 2012
Brent Heard
Ā 
Probability - Question Bank for Class/Grade 10 maths.
Probability - Question Bank for Class/Grade 10 maths.Probability - Question Bank for Class/Grade 10 maths.
Probability - Question Bank for Class/Grade 10 maths.
Let's Tute
Ā 
03 Probability Review for Analysis of Algorithms
03 Probability Review for Analysis of Algorithms03 Probability Review for Analysis of Algorithms
03 Probability Review for Analysis of Algorithms
Andres Mendez-Vazquez
Ā 
Probability
ProbabilityProbability
Probability
PrateekGoyal67
Ā 
Gmat quant topic 8 probability solutions
Gmat quant topic 8   probability solutionsGmat quant topic 8   probability solutions
Gmat quant topic 8 probability solutions
Rushabh Vora
Ā 
Lesson 11 3 theoretical probability
Lesson 11 3 theoretical probabilityLesson 11 3 theoretical probability
Lesson 11 3 theoretical probabilitymlabuski
Ā 
Gmat quant topic 7 p and c sol
Gmat quant topic 7   p and c solGmat quant topic 7   p and c sol
Gmat quant topic 7 p and c sol
Rushabh Vora
Ā 
Probability
Probability    Probability
Probability
Parag Shah
Ā 
Math for 800 06 statistics, probability, sets, and graphs-charts
Math for 800   06 statistics, probability, sets, and graphs-chartsMath for 800   06 statistics, probability, sets, and graphs-charts
Math for 800 06 statistics, probability, sets, and graphs-charts
Edwin Lapuerta
Ā 
Basic Concepts of Probability
Basic Concepts of ProbabilityBasic Concepts of Probability
Basic Concepts of Probability
Long Beach City College
Ā 
Probability revision card
Probability revision cardProbability revision card
Probability revision card
Puna Ripiye
Ā 
Introduction of Probability
Introduction of ProbabilityIntroduction of Probability
Introduction of Probability
rey castro
Ā 
Probability Assignment Help
Probability Assignment HelpProbability Assignment Help
Probability Assignment Help
Statistics Assignment Help
Ā 
09a 5 mm1f_methods_unit_1f_-_november_2012
09a 5 mm1f_methods_unit_1f_-_november_201209a 5 mm1f_methods_unit_1f_-_november_2012
09a 5 mm1f_methods_unit_1f_-_november_2012claire meadows-smith
Ā 
Probability Theory for Data Scientists
Probability Theory for Data ScientistsProbability Theory for Data Scientists
Probability Theory for Data Scientists
Ferdin Joe John Joseph PhD
Ā 
Discrete probability distributions
Discrete probability distributionsDiscrete probability distributions
Discrete probability distributions
Cikgu Marzuqi
Ā 
Mit18 05 s14_class2slides
Mit18 05 s14_class2slidesMit18 05 s14_class2slides
Mit18 05 s14_class2slides
Animesh Kumar
Ā 
Maths prim 1
Maths  prim 1Maths  prim 1

What's hot (20)

Probability and Statistics - Week 2
Probability and Statistics - Week 2Probability and Statistics - Week 2
Probability and Statistics - Week 2
Ā 
Week 5 lecture_math_221_nov_2012
Week 5 lecture_math_221_nov_2012Week 5 lecture_math_221_nov_2012
Week 5 lecture_math_221_nov_2012
Ā 
Week 5 Lecture Math 221 Mar 2012
Week 5 Lecture Math 221 Mar 2012Week 5 Lecture Math 221 Mar 2012
Week 5 Lecture Math 221 Mar 2012
Ā 
Probability - Question Bank for Class/Grade 10 maths.
Probability - Question Bank for Class/Grade 10 maths.Probability - Question Bank for Class/Grade 10 maths.
Probability - Question Bank for Class/Grade 10 maths.
Ā 
03 Probability Review for Analysis of Algorithms
03 Probability Review for Analysis of Algorithms03 Probability Review for Analysis of Algorithms
03 Probability Review for Analysis of Algorithms
Ā 
Probability
ProbabilityProbability
Probability
Ā 
Gmat quant topic 8 probability solutions
Gmat quant topic 8   probability solutionsGmat quant topic 8   probability solutions
Gmat quant topic 8 probability solutions
Ā 
Lesson 11 3 theoretical probability
Lesson 11 3 theoretical probabilityLesson 11 3 theoretical probability
Lesson 11 3 theoretical probability
Ā 
Gmat quant topic 7 p and c sol
Gmat quant topic 7   p and c solGmat quant topic 7   p and c sol
Gmat quant topic 7 p and c sol
Ā 
Probability
Probability    Probability
Probability
Ā 
Math for 800 06 statistics, probability, sets, and graphs-charts
Math for 800   06 statistics, probability, sets, and graphs-chartsMath for 800   06 statistics, probability, sets, and graphs-charts
Math for 800 06 statistics, probability, sets, and graphs-charts
Ā 
Basic Concepts of Probability
Basic Concepts of ProbabilityBasic Concepts of Probability
Basic Concepts of Probability
Ā 
Probability revision card
Probability revision cardProbability revision card
Probability revision card
Ā 
Introduction of Probability
Introduction of ProbabilityIntroduction of Probability
Introduction of Probability
Ā 
Probability Assignment Help
Probability Assignment HelpProbability Assignment Help
Probability Assignment Help
Ā 
09a 5 mm1f_methods_unit_1f_-_november_2012
09a 5 mm1f_methods_unit_1f_-_november_201209a 5 mm1f_methods_unit_1f_-_november_2012
09a 5 mm1f_methods_unit_1f_-_november_2012
Ā 
Probability Theory for Data Scientists
Probability Theory for Data ScientistsProbability Theory for Data Scientists
Probability Theory for Data Scientists
Ā 
Discrete probability distributions
Discrete probability distributionsDiscrete probability distributions
Discrete probability distributions
Ā 
Mit18 05 s14_class2slides
Mit18 05 s14_class2slidesMit18 05 s14_class2slides
Mit18 05 s14_class2slides
Ā 
Maths prim 1
Maths  prim 1Maths  prim 1
Maths prim 1
Ā 

Viewers also liked

Probability
ProbabilityProbability
Probability
Thongminhhon Nguyen
Ā 
Topic 6 stat probability theory
Topic 6 stat probability theoryTopic 6 stat probability theory
Topic 6 stat probability theorySizwan Ahammed
Ā 
The fundamental counting principle
The fundamental counting principleThe fundamental counting principle
The fundamental counting principleEmma Balbastro
Ā 
Fundamental counting principle powerpoint
Fundamental counting principle powerpointFundamental counting principle powerpoint
Fundamental counting principle powerpoint
mesmith1
Ā 
Counting Technique, Permutation, Combination
Counting Technique, Permutation, CombinationCounting Technique, Permutation, Combination
Counting Technique, Permutation, CombinationChie Pegollo
Ā 
Basic concept of probability
Basic concept of probabilityBasic concept of probability
Basic concept of probability
Ikhlas Rahman
Ā 
Basic Probability
Basic Probability Basic Probability
Basic Probability
kaurab
Ā 
Probability powerpoint
Probability powerpointProbability powerpoint
Probability powerpointTiffany Deegan
Ā 
Basic Concept Of Probability
Basic Concept Of ProbabilityBasic Concept Of Probability
Basic Concept Of Probabilityguest45a926
Ā 
Probability Powerpoint
Probability PowerpointProbability Powerpoint
Probability Powerpointspike2904
Ā 

Viewers also liked (10)

Probability
ProbabilityProbability
Probability
Ā 
Topic 6 stat probability theory
Topic 6 stat probability theoryTopic 6 stat probability theory
Topic 6 stat probability theory
Ā 
The fundamental counting principle
The fundamental counting principleThe fundamental counting principle
The fundamental counting principle
Ā 
Fundamental counting principle powerpoint
Fundamental counting principle powerpointFundamental counting principle powerpoint
Fundamental counting principle powerpoint
Ā 
Counting Technique, Permutation, Combination
Counting Technique, Permutation, CombinationCounting Technique, Permutation, Combination
Counting Technique, Permutation, Combination
Ā 
Basic concept of probability
Basic concept of probabilityBasic concept of probability
Basic concept of probability
Ā 
Basic Probability
Basic Probability Basic Probability
Basic Probability
Ā 
Probability powerpoint
Probability powerpointProbability powerpoint
Probability powerpoint
Ā 
Basic Concept Of Probability
Basic Concept Of ProbabilityBasic Concept Of Probability
Basic Concept Of Probability
Ā 
Probability Powerpoint
Probability PowerpointProbability Powerpoint
Probability Powerpoint
Ā 

Similar to Gambling standard

probability 2.ppt
probability 2.pptprobability 2.ppt
probability 2.ppt
Izah Catli
Ā 
Probably probability
Probably probabilityProbably probability
Probably probability
Matthew DeMoss
Ā 
Your Statistics Homework Solver is Here! šŸ“ŠšŸ“š
Your Statistics Homework Solver is Here! šŸ“ŠšŸ“šYour Statistics Homework Solver is Here! šŸ“ŠšŸ“š
Your Statistics Homework Solver is Here! šŸ“ŠšŸ“š
Statistics Homework Helper
Ā 
Lecture Week 17 which hleps in study for logic and
Lecture Week 17 which hleps in study for logic andLecture Week 17 which hleps in study for logic and
Lecture Week 17 which hleps in study for logic and
manishhmishra001
Ā 
Probability.pptx
Probability.pptxProbability.pptx
Probability.pptx
EbnulHasanEfte221351
Ā 
Permutation and combination
Permutation and combinationPermutation and combination
Permutation and combination
sarath4droid
Ā 
Practice Test 2 Solutions
Practice Test 2  SolutionsPractice Test 2  Solutions
Practice Test 2 Solutions
Long Beach City College
Ā 
5. Probability.pdf
5. Probability.pdf5. Probability.pdf
5. Probability.pdf
MdAbdullah360298
Ā 
Unit 2 Probability
Unit 2 ProbabilityUnit 2 Probability
Unit 2 Probability
Rai University
Ā 
Week-7_Day-1_Complementary-Events_PPT.pptx
Week-7_Day-1_Complementary-Events_PPT.pptxWeek-7_Day-1_Complementary-Events_PPT.pptx
Week-7_Day-1_Complementary-Events_PPT.pptx
DariusRosete
Ā 
Probability maths lesson for education.ppt
Probability maths lesson for education.pptProbability maths lesson for education.ppt
Probability maths lesson for education.ppt
WaiTengChoo
Ā 
Chapter7ppt.pdf
Chapter7ppt.pdfChapter7ppt.pdf
Chapter7ppt.pdf
SohailBhatti21
Ā 
Probability Overview
Probability OverviewProbability Overview
Probability Overviewmmeddin
Ā 
Mathematics Homework Help
Mathematics Homework HelpMathematics Homework Help
Mathematics Homework Help
Edu Assignment Help
Ā 
Unit 1-probability
Unit 1-probabilityUnit 1-probability
Unit 1-probability
Rai University
Ā 
Probability
ProbabilityProbability
Probability
Carlos Rodriguez
Ā 
Principles of Counting
Principles of CountingPrinciples of Counting
Principles of Counting
Amelita Martinez
Ā 
Lesson 11 5 compound events
Lesson 11 5 compound eventsLesson 11 5 compound events
Lesson 11 5 compound eventsmlabuski
Ā 
9.1 Simple Events
9.1 Simple Events9.1 Simple Events
9.1 Simple Eventsrlowery
Ā 

Similar to Gambling standard (20)

probability 2.ppt
probability 2.pptprobability 2.ppt
probability 2.ppt
Ā 
Probably probability
Probably probabilityProbably probability
Probably probability
Ā 
Your Statistics Homework Solver is Here! šŸ“ŠšŸ“š
Your Statistics Homework Solver is Here! šŸ“ŠšŸ“šYour Statistics Homework Solver is Here! šŸ“ŠšŸ“š
Your Statistics Homework Solver is Here! šŸ“ŠšŸ“š
Ā 
Lecture Week 17 which hleps in study for logic and
Lecture Week 17 which hleps in study for logic andLecture Week 17 which hleps in study for logic and
Lecture Week 17 which hleps in study for logic and
Ā 
Probability.pptx
Probability.pptxProbability.pptx
Probability.pptx
Ā 
Permutation and combination
Permutation and combinationPermutation and combination
Permutation and combination
Ā 
Practice Test 2 Solutions
Practice Test 2  SolutionsPractice Test 2  Solutions
Practice Test 2 Solutions
Ā 
Counting
CountingCounting
Counting
Ā 
5. Probability.pdf
5. Probability.pdf5. Probability.pdf
5. Probability.pdf
Ā 
Unit 2 Probability
Unit 2 ProbabilityUnit 2 Probability
Unit 2 Probability
Ā 
Week-7_Day-1_Complementary-Events_PPT.pptx
Week-7_Day-1_Complementary-Events_PPT.pptxWeek-7_Day-1_Complementary-Events_PPT.pptx
Week-7_Day-1_Complementary-Events_PPT.pptx
Ā 
Probability maths lesson for education.ppt
Probability maths lesson for education.pptProbability maths lesson for education.ppt
Probability maths lesson for education.ppt
Ā 
Chapter7ppt.pdf
Chapter7ppt.pdfChapter7ppt.pdf
Chapter7ppt.pdf
Ā 
Probability Overview
Probability OverviewProbability Overview
Probability Overview
Ā 
Mathematics Homework Help
Mathematics Homework HelpMathematics Homework Help
Mathematics Homework Help
Ā 
Unit 1-probability
Unit 1-probabilityUnit 1-probability
Unit 1-probability
Ā 
Probability
ProbabilityProbability
Probability
Ā 
Principles of Counting
Principles of CountingPrinciples of Counting
Principles of Counting
Ā 
Lesson 11 5 compound events
Lesson 11 5 compound eventsLesson 11 5 compound events
Lesson 11 5 compound events
Ā 
9.1 Simple Events
9.1 Simple Events9.1 Simple Events
9.1 Simple Events
Ā 

More from Tarun bhatt

Shoppers stop retail visit, analysis,
Shoppers stop retail visit, analysis,Shoppers stop retail visit, analysis,
Shoppers stop retail visit, analysis,
Tarun bhatt
Ā 
Pack-its case analysis
Pack-its case  analysisPack-its case  analysis
Pack-its case analysis
Tarun bhatt
Ā 
Stake holder map
Stake holder mapStake holder map
Stake holder map
Tarun bhatt
Ā 
Dragonfly
DragonflyDragonfly
Dragonfly
Tarun bhatt
Ā 
Pgdm2 1544-tarun bhatt
Pgdm2 1544-tarun bhattPgdm2 1544-tarun bhatt
Pgdm2 1544-tarun bhatt
Tarun bhatt
Ā 
Motivational theory(vroom's)
Motivational theory(vroom's)Motivational theory(vroom's)
Motivational theory(vroom's)
Tarun bhatt
Ā 
Tarun
TarunTarun
Tarun
Tarun bhatt
Ā 

More from Tarun bhatt (7)

Shoppers stop retail visit, analysis,
Shoppers stop retail visit, analysis,Shoppers stop retail visit, analysis,
Shoppers stop retail visit, analysis,
Ā 
Pack-its case analysis
Pack-its case  analysisPack-its case  analysis
Pack-its case analysis
Ā 
Stake holder map
Stake holder mapStake holder map
Stake holder map
Ā 
Dragonfly
DragonflyDragonfly
Dragonfly
Ā 
Pgdm2 1544-tarun bhatt
Pgdm2 1544-tarun bhattPgdm2 1544-tarun bhatt
Pgdm2 1544-tarun bhatt
Ā 
Motivational theory(vroom's)
Motivational theory(vroom's)Motivational theory(vroom's)
Motivational theory(vroom's)
Ā 
Tarun
TarunTarun
Tarun
Ā 

Recently uploaded

Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
Ā 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
Ā 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
Ā 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
Ā 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
Ā 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
Ā 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
Ā 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
Ā 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
Ā 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
Ā 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
Ā 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
Ā 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
Ā 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
Ā 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
Ā 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
Ā 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
Ā 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
Ā 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
Ā 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
Ā 

Recently uploaded (20)

Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
Ā 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Ā 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
Ā 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Ā 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
Ā 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Ā 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Ā 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Ā 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Ā 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Ā 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Ā 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Ā 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Ā 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Ā 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Ā 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
Ā 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Ā 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Ā 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
Ā 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
Ā 

Gambling standard

  • 1. 1 Gambling, Probability, and Risk (Basic Probability and Counting Methods)
  • 2. A gambling experiment ļ® Everyone in the room takes 2 cards from the deck (keep face down) ļ® Rules, most to least valuable: ļ® Pair of the same color (both red or both black) ļ® Mixed-color pair (1 red, 1 black) ļ® Any two cards of the same suit ļ® Any two cards of the same color In the event of a tie, highest card wins (ace is top)
  • 3. What do you want to bet? ļ® Look at your two cards. ļ® Will you fold or bet? ļ® What is the most rational strategy given your hand?
  • 4. Rational strategy ļ® There are N people in the room ļ® What are the chances that someone in the room has a better hand than you? ļ® Need to know the probabilities of different scenarios ļ® Weā€™ll return to this later in the lectureā€¦
  • 5. Probability ļ® Probability ā€“ the chance that an uncertain event will occur (always between 0 and 1) Symbols: P(event A) = ā€œthe probability that event A will occurā€ P(red card) = ā€œthe probability of a red cardā€ P(~event A) = ā€œthe probability of NOT getting event Aā€ [complement] P(~red card) = ā€œthe probability of NOT getting a red cardā€ P(A & B) = ā€œthe probability that both A and B happenā€ [joint probability] P(red card & ace) = ā€œthe probability of getting a red aceā€
  • 6. Assessing Probability 1. Theoretical/Classical probabilityā€”based on theory (a priori understanding of a phenomena) e.g.: theoretical probability of rolling a 2 on a standard die is 1/6 theoretical probability of choosing an ace from a standard deck is 4/52 theoretical probability of getting heads on a regular coin is 1/2 2. Empirical probabilityā€”based on empirical data e.g.: you toss an irregular die (probabilities unknown) 100 times and find that you get a 2 twenty-five times; empirical probability of rolling a 2 is 1/4 empirical probability of an Earthquake in Bay Area by 2032 is . 62 (based on historical data) empirical probability of a lifetime smoker developing lung cancer is 15 percent (based on empirical data)
  • 7. Recent headlines on earthquake probabiilitesā€¦ http://www.guardian.co.uk/world/2011/may/26/italy-quake-expe
  • 8. Computing theoretical probabilities:counting methods Great for gambling! Fun to compute! If outcomes are equally likely to occurā€¦ outcomesof#total occurcanAwaysof# )( =AP Note: these are called ā€œcounting methodsā€ because we have to count the number of ways A can occur and the number of total possible outcomes.
  • 9. Counting methods: Example 1 0769. 52 4 deckin thecardsof# deckin theacesof# )aceandraw( ===P Example 1: You draw one card from a deck of cards. Whatā€™s the probability that you draw an ace?
  • 10. Counting methods: Example 2 Example 2. Whatā€™s the probability that you draw 2 aces when you draw two cards from the deck? 52 4 deckin thecardsof# deckin theacesof# )drawfirstonacedraw( ==P 51 3 deckin thecardsof# deckin theacesof# )toodrawsecondonaceandraw( ==P 51 3 x 52 4 ace)ANDacedraw( =āˆ“P This is a ā€œjoint probabilityā€ā€”weā€™ll get back to this on Wednesday
  • 11. Counting methods: Example 2 Numerator: Aā™£Aā™¦, Aā™£Aā™„, Aā™£Aā™ , Aā™¦Aā™„, Aā™¦Aā™ , Aā™¦Aā™£, Aā™„Aā™¦, Aā™„Aā™£, Aā™„Aā™ , Aā™ Aā™£, Aā™ Aā™¦, or Aā™ Aā™„ = 12 drawcouldyousequencescard-2differentof# aceace,drawcanyouwaysof# )aces2draw( =P . . . 52 cards 51 cards . . . Two counting method ways to calculate this: 1. Consider order: Denominator = 52x51 = 2652 -- why? 5152 12 )aces2draw( x P =āˆ“
  • 12. drawcouldyouhandscard-twodifferentof# acesofpairsof# )aces2draw( =P Numerator: Aā™£Aā™¦, Aā™£Aā™„, Aā™£Aā™ , Aā™¦Aā™„, Aā™¦Aā™ , Aā™„Aā™  = 6 Divide out order! Denominator = Counting methods: Example 2 2. Ignore order: 2 5152 6 )aces2draw( x P =āˆ“ 1326 2 5152 = x
  • 13. Summary of Counting Methods Counting methods for computing probabilities With replacement Without replacement Permutationsā€” order matters! Combinationsā€” Order doesnā€™t matter Without replacement
  • 14. Summary of Counting Methods Counting methods for computing probabilities With replacement Without replacement Permutationsā€” order matters!
  • 15. Permutationsā€”Order matters! A permutation is an ordered arrangement of objects. With replacement=once an event occurs, it can occur again (after you roll a 6, you can roll a 6 again on the same die). Without replacement=an event cannot repeat (after you draw an ace of spades out of a deck, there is 0 probability of getting it again).
  • 16. Summary of Counting Methods Counting methods for computing probabilities With replacement Permutationsā€” order matters!
  • 17. With Replacement ā€“ Think coin tosses, dice, and DNA. ā€œmemorylessā€ ā€“ After you get heads, you have an equally likely chance of getting a heads on the next toss (unlike in cards example, where you canā€™t draw the same card twice from a single deck). Whatā€™s the probability of getting two heads in a row (ā€œHHā€) when tossing a coin? H H T T H T Toss 1: 2 outcomes Toss 2: 2 outcomes 22 total possible outcomes: {HH, HT, TH, TT} Permutationsā€”with replacement outcomespossible2 HHgetway to1 )( 2 =HHP
  • 18. Whatā€™s the probability of 3 heads in a row? outcomespossible82 1 )( 3 = =HHHP Permutationsā€”with replacement H H T T H T Toss 1: 2 outcomes Toss 2: 2 outcomes Toss 3: 2 outcomes H T H T H T H T HH H HHT HTH HTT THH THT TTH TTT
  • 19. 36 1 6 66,rollway to1 )6,6( 2 =P When you roll a pair of dice (or 1 die twice), whatā€™s the probability of rolling 2 sixes? Whatā€™s the probability of rolling a 5 and a 6? 36 2 6 6,5or5,6:ways2 )6&5( 2 ==P Permutationsā€”with replacement
  • 20. Summary: order matters, with replacement Formally, ā€œorder mattersā€ and ā€œwith replacementā€ļƒ  use powersļƒ  reventsof#the nevent)peroutcomespossible(# =
  • 21. Summary of Counting Methods Counting methods for computing probabilities Without replacement Permutationsā€” order matters!
  • 22. Permutationsā€”without replacement Without replacementā€”Think cards (w/o reshuffling) and seating arrangements. Example: You are moderating a debate of gubernatorial candidates. How many different ways can you seat the panelists in a row? Call them Arianna, Buster, Camejo, Donald, and Eve.
  • 23. Permutationā€”without replacement ļƒ  ā€œTrial and errorā€ method: Systematically write out all combinations: A B C D E A B C E D A B D C E A B D E C A B E C D A B E D C . . . Quickly becomes a pain! Easier to figure out patterns using a the probability tree!
  • 24. Permutationā€”without replacement E B A C D E A B D A B C D ā€¦ā€¦. Seat One: 5 possible Seat Two: only 4 possible Etcā€¦. # of permutations = 5 x 4 x 3 x 2 x 1 = 5! There are 5! ways to order 5 people in 5 chairs (since a person cannot repeat)
  • 25. Permutationā€”without replacement What if you had to arrange 5 people in only 3 chairs (meaning 2 are out)? == !2 !5 12 12345 x xxxx E B A C D E A B D A B C D Seat One: 5 possible Seat Two: Only 4 possible E B D Seat Three: only 3 possible )!35( !5 āˆ’ =345 xx
  • 27. Permutationā€”without replacement 5152 )!252( !52 x= āˆ’ How many two-card hands can I draw from a deck when order matters (e.g., ace of spades followed by ten of clubs is different than ten of clubs followed by ace of spades) . . . 52 cards 51 cards . . .
  • 28. Summary: order matters, without replacement Formally, ā€œorder mattersā€ and ā€œwithout replacementā€ļƒ  use factorialsļƒ  )1)...(2)(1(or )!( ! draws)!orchairscardsorpeople( cards)!orpeople( +āˆ’āˆ’āˆ’ āˆ’ = āˆ’ rnnnn rn n rn n
  • 29. Practice problems: 1. A wine taster claims that she can distinguish four vintages or a particular Cabernet. What is the probability that she can do this by merely guessing (she is confronted with 4 unlabeled glasses)? (hint: without replacement) 2. In some states, license plates have six characters: three letters followed by three numbers. How many distinct such plates are possible? (hint: with replacement)
  • 30. Answer 1 1. A wine taster claims that she can distinguish four vintages or a particular Cabernet. What is the probability that she can do this by merely guessing (she is confronted with 4 unlabeled glasses)? (hint: without replacement) P(success) = 1 (thereā€™s only way to get it right!) / total # of guesses she could make Total # of guesses one could make randomly: glass one: glass two: glass three: glass four: 4 choices 3 vintages left 2 left no ā€œdegrees of freedomā€ left āˆ“P(success) = 1 / 4! = 1/24 = .04167 = 4 x 3 x 2 x 1 = 4!
  • 31. Answer 2 2. In some states, license plates have six characters: three letters followed by three numbers. How many distinct such plates are possible? (hint: with replacement) 263 different ways to choose the letters and 103 different ways to choose the digitsĀ  āˆ“total number = 263 x 103 = 17,576 x 1000 = 17,576,000
  • 32. Summary of Counting Methods Counting methods for computing probabilities Combinationsā€” Order doesnā€™t matter Without replacement
  • 33. 2. Combinationsā€”Order doesnā€™t matter Introduction to combination function, or ā€œchoosingā€ ļ£· ļ£ø ļ£¶ ļ£¬ ļ£­ ļ£« n r rn C orĀ Ā Ā Ā Ā  Spoken: ā€œn choose rā€ Written as:
  • 34. Combinations 2)!252( !52 2 5152 āˆ’ = x How many two-card hands can I draw from a deck when order does not matter (e.g., ace of spades followed by ten of clubs is the same as ten of clubs followed by ace of spades) . . . Ā  Ā 52Ā cards 51Ā cards . . . Ā 
  • 35. Combinations ? 4849505152 xxxx How many five-card hands can I draw from a deck when order does not matter? . . . Ā  Ā  52Ā cards 51Ā cards . . . Ā  . . . Ā  . . . Ā  . . . Ā  50Ā cards 49Ā cards 48Ā cards
  • 36. Combinations Ā  How many repeats total?? 1. 2. 3. ā€¦.
  • 37. Combinations Ā  i.e., how many different ways can you arrange 5 cardsā€¦? 1. 2. 3. ā€¦.
  • 38. Combinations Ā  Thatā€™s a permutation without replacement. 5! = 120 !5)!552( !52 !5 4849505152 handsĀ card-5Ā ofĀ #Ā total āˆ’ == xxxx
  • 39. Combinations ļ® How many unique 2-card sets out of 52 cards? ļ® 5-card sets? ļ® r-card sets? ļ® r-card sets out of n-cards? !2)!252( !52 2 5152 āˆ’ = x !5)!552( !52 !5 4849505152 āˆ’ = xxxx !)!52( !52 rrāˆ’ !)!( ! rrn nn r āˆ’ =ļ£· ļ£ø ļ£¶ ļ£¬ ļ£­ ļ£«
  • 40. Summary: combinations If rĀ objectsĀ areĀ takenĀ fromĀ aĀ setĀ ofĀ n objectsĀ withoutĀ replacementĀ andĀ  disregardingĀ order,Ā howĀ manyĀ differentĀ samplesĀ areĀ possible?Ā  Formally, ā€œorder doesnā€™t matterā€ and ā€œwithout replacementā€ļƒ  use choosingļƒ  Ā  !)!( ! rrn nn r āˆ’ =ļ£· ļ£ø ļ£¶ ļ£¬ ļ£­ ļ£«
  • 41. Examplesā€”Combinations A lottery works by picking 6 numbers from 1 to 49. How many combinations of 6 numbers could you choose? 816,983,13 !6!43 !4949 6 ==ļ£· ļ£ø ļ£¶ ļ£¬ ļ£­ ļ£« Which of course means that your probability of winning is 1/13,983,816!
  • 43. Summary of Counting Methods Counting methods for computing probabilities With replacement: nr Permutationsā€” order matters! Without replacement: n(n-1)(n-2)ā€¦(n-r+1)= Combinationsā€” Order doesnā€™t matter Without replacement: )!( ! rn n āˆ’ !)!( ! rrn nn r āˆ’ =ļ£· ļ£ø ļ£¶ ļ£¬ ļ£­ ļ£«
  • 44. Gambling, revisited ļ® What are the probabilities of the following hands? ļ® Pair of the same color ļ® Pair of different colors ļ® Any two cards of the same suit ļ® Any two cards of the same color
  • 45. Pair of the same color? ļ® P(pair of the same color) = nscombinatioĀ cardĀ twoofĀ #Ā total colorĀ sameĀ ofĀ pairsĀ # āˆ’ Numerator = red aces, black aces; red kings, black kings; etc.ā€¦= 2x13 = 26 1326 2 52x51 rDenominato 252 === C chanceĀ 1.96%Ā Ā  1326 26 Ā Ā color)Ā sameĀ Ā theofP(pairĀ Ā So, ==
  • 46. Any old pair? ļ® P(any pair) = 1326nscombinatiocardtwoof#total pairs# =āˆ’ chance5.9% 1326 78 pair)P(any ==āˆ“ pairspossibletotal7813x6 ... 6 2 34 !2!2 4! Ckingsofpairspossibledifferentofnumber 6 2 34 !2!2 4! Cacesofpairspossibledifferentofnumber 24 24 = ==== ==== x x
  • 47. Two cards of same suit? 3124784 11!2! 13! suits4C:Numerator 213 === xxx chance23.5% 1326 312 suit)sametheofcardsP(two ==āˆ“
  • 48. Two cards of same color? Numerator: 26C2 x 2 colors = 26!/(24!2!) = 325 x 2 = 650 Denominator = 1326 So, P (two cards of the same color) = 650/1326 = 49% chance A little non-intuitive? Hereā€™s another way to look at itā€¦ . . . Ā  Ā 52Ā cards 26Ā redĀ branches 26Ā blackĀ branches FromĀ aĀ RedĀ branch:Ā 26Ā blackĀ left,Ā 25Ā redĀ left . . . Ā  FromĀ aĀ BlackĀ branch:Ā 26Ā redĀ left,Ā 25Ā blackĀ left 26x25 RR 26x26 RB 26x26 BR 26x25 BB 50/102 Not quite 50/100
  • 49. Rational strategy? ļ® To bet or fold? ļ® It would be really complicated to take into account the dependence between hands in the class (since we all drew from the same deck), so weā€™re going to fudge this and pretend that everyone had equal probabilities of each type of hand (pretend we have ā€œindependenceā€)ā€¦Ā  ļ® Just to get a rough idea...
  • 50. Rational strategy? **Trick! P(at least 1) = 1- P(0) P(at least one same-color pair in the class)= 1-P(no same-color pairs in the whole class)= paircolor-sameoneleastatofchance.4%55.446-1(.98)-1 40 == 40 )98(.)....98(.*)98(.*)98(.class)wholein thepairscolor-sameP(no .98.0196-1pair)color-sameagettdon'P(I == ā‰…=
  • 51. Rational strategy? P(at least one pair)= 1-P(no pairs)= 1-(.94)40 =1-8%=92% chance P(>=1 same suit)= 1-P(all different suits)= 1-(.765)40 =1-.00002 ~ 100% P(>=1 same color) = 1-P(all different colors)= 1-(.51) 40 =1-.000000000002 ~ 100%
  • 52. Rational strategyā€¦ ļ® Fold unless you have a same-color pair or a numerically high pair (e.g., Queen, King, Ace). How does this compare to class? -anyone with a same-color pair? -any pair? -same suit? -same color?
  • 53. Practice problem: ļ® A classic problem: ā€œThe Birthday Problem.ā€ Whatā€™s the probability that two people in a class of 25 have the same birthday? (disregard leap years) What would you guess is the probability?
  • 54. Birthday Problem Answer 1. A classic problem: ā€œThe Birthday Problem.ā€ Whatā€™s the probability that two people in a class of 25 have the same birthday? (disregard leap years) Ā **Trick! 1- P(none) = P(at least one) Use complement to calculate answer. Itā€™s easier to calculate 1- P(no matches) = the probability that at least one pair of people have the same birthday. Whatā€™s the probability of no matches? Denominator: how many sets of 25 birthdays are there? --with replacement (order matters) 36525 Numerator: how many different ways can you distribute 365 birthdays to 25 people without replacement? --order matters, without replacement: [365!/(365-25)!]= [365 x 364 x 363 x 364 x ā€¦.. (365-24)] Ā āˆ“ P(no matches) = [365 x 364 x 363 x 364 x ā€¦.. (365-24)] / 36525
  • 55. Use SAS as a calculator Ā Use SAS as calculatorā€¦ (my calculator wonā€™t do factorials as high as 365, so I had to improvise by using a loopā€¦which youā€™ll learn later in HRP 223): Ā  %LET num = 25; *set number in the class; data null; top=1; *initialize numerator; do j=0 to (&num-1) by 1; top=(365-j)*top; end; BDayProb=1-(top/365**&num); put BDayProb; run; Ā From SAS log: Ā  0.568699704, so 57% chance!
  • 56. For class of 40 (our class)? For class of 40? 10 %LET num = 40; *set number in the class; 11 data null; 12 top=1; *initialize numerator; 13 do j=0 to (&num-1) by 1; 14 top=(365-j)*top; 15 end; 16 BDayProb=1-(top/365**&num); 17 put BDayProb; 18 run; 0.891231809, i.e. 89% chance of a match!
  • 57. In this class? ļ® --Jan? ļ® --Feb? ļ® --March? ļ® --April? ļ® --May? ļ® --June? ļ® --July? ļ® --August? ļ® --September? ļ® ā€¦.