97

Patrick's Casino

  • Upload
    deidra

  • View
    39

  • Download
    2

Embed Size (px)

DESCRIPTION

Patrick's Casino. What is the probability of picking an ace?. Probability =. What is the probability of picking an ace? 4 / 52 = .077 or 7.7 chances in 100. Every card has the same probability of being picked. What is the probability of getting a 10, J, Q, or K?. - PowerPoint PPT Presentation

Citation preview

Page 1: Patrick's Casino
Page 2: Patrick's Casino
Page 3: Patrick's Casino

0

1

2

3

4

5

Ace 2 3 4 5 6 7 8 9 10 J Q K

Card

Fre

quen

cy

Page 4: Patrick's Casino

0

1

2

3

4

5

Ace 2 3 4 5 6 7 8 9 10 J Q K

Card

Fre

quen

cyWhat is the probability of picking an ace?

Page 5: Patrick's Casino

0

1

2

3

4

5

Ace 2 3 4 5 6 7 8 9 10 J Q K

Card

Fre

quen

cy

Probability =

Page 6: Patrick's Casino

0

1

2

3

4

5

Ace 2 3 4 5 6 7 8 9 10 J Q K

Card

Fre

quen

cyWhat is the probability of picking an ace?

4 / 52 = .077 or 7.7 chances in 100

Page 7: Patrick's Casino

0

1

2

3

4

5

Ace

(.0

77)

2 (.

077)

3 (.

077)

4 (.

077)

5 (.

077)

6 (.

077)

7 (.

077)

8 (.

077)

9 (.

077)

10 (

.077

)

J (.

077)

Q (

.077

)

K (

.077

)

Card

Fre

quen

cyEvery card has the same probability of being picked

Page 8: Patrick's Casino

0

1

2

3

4

5

Ace

(.0

77)

2 (.

077)

3 (.

077)

4 (.

077)

5 (.

077)

6 (.

077)

7 (.

077)

8 (.

077)

9 (.

077)

10 (

.077

)

J (.

077)

Q (

.077

)

K (

.077

)

Card

Fre

quen

cyWhat is the probability of getting a 10, J, Q, or K?

Page 9: Patrick's Casino

0

1

2

3

4

5

Ace

(.0

77)

2 (.

077)

3 (.

077)

4 (.

077)

5 (.

077)

6 (.

077)

7 (.

077)

8 (.

077)

9 (.

077)

10 (

.077

)

J (.

077)

Q (

.077

)

K (

.077

)

Card

Fre

quen

cy(.077) + (.077) + (.077) + (.077) = .308

16 / 52 = .308

Page 10: Patrick's Casino

0

1

2

3

4

5

Ace

(.0

77)

2 (.

077)

3 (.

077)

4 (.

077)

5 (.

077)

6 (.

077)

7 (.

077)

8 (.

077)

9 (.

077)

10 (

.077

)

J (.

077)

Q (

.077

)

K (

.077

)

Card

Fre

quen

cyWhat is the probability of getting a 2 and then after replacing the card getting a 3 ?

Page 11: Patrick's Casino

0

1

2

3

4

5

Ace

(.0

77)

2 (.

077)

3 (.

077)

4 (.

077)

5 (.

077)

6 (.

077)

7 (.

077)

8 (.

077)

9 (.

077)

10 (

.077

)

J (.

077)

Q (

.077

)

K (

.077

)

Card

Fre

quen

cy(.077) * (.077) = .0059

Page 12: Patrick's Casino

0

1

2

3

4

5

Ace

(.0

77)

2 (.

077)

3 (.

077)

4 (.

077)

5 (.

077)

6 (.

077)

7 (.

077)

8 (.

077)

9 (.

077)

10 (

.077

)

J (.

077)

Q (

.077

)

K (

.077

)

Card

Fre

quen

cyWhat is the probability that the two cards you draw will be a black jack?

Page 13: Patrick's Casino

0

1

2

3

4

5

Ace

(.0

77)

2 (.

077)

3 (.

077)

4 (.

077)

5 (.

077)

6 (.

077)

7 (.

077)

8 (.

077)

9 (.

077)

10 (

.077

)

J (.

077)

Q (

.077

)

K (

.077

)

Card

Fre

quen

cy10 Card = (.077) + (.077) + (.077) + (.077) = .308

Ace after one card is removed = 4/51 = .078

(.308)*(.078) = .024

Page 14: Patrick's Casino

Practice

• What is the probability of rolling a “1” using a six sided dice?

• What is the probability of rolling either a “1” or a “2” with a six sided dice?

• What is the probability of rolling two “1’s” using two six sided dice?

Page 15: Patrick's Casino

Practice

• What is the probability of rolling a “1” using a six sided dice?1 / 6 = .166

• What is the probability of rolling either a “1” or a “2” with a six sided dice?

• What is the probability of rolling two “1’s” using two six sided dice?

Page 16: Patrick's Casino

Practice

• What is the probability of rolling a “1” using a six sided dice?1 / 6 = .166

• What is the probability of rolling either a “1” or a “2” with a six sided dice?(.166) + (.166) = .332

• What is the probability of rolling two “1’s” using two six sided dice?

Page 17: Patrick's Casino

Practice

• What is the probability of rolling a “1” using a six sided dice?1 / 6 = .166

• What is the probability of rolling either a “1” or a “2” with a six sided dice?(.166) + (.166) = .332

• What is the probability of rolling two “1’s” using two six sided dice?(.166)(.166) = .028

Page 18: Patrick's Casino

Cards

• What is the probability of drawing an ace?

• What is the probability of drawing another ace?

• What is the probability the next four cards you draw will each be an ace?

• What is the probability that an ace will be in the first four cards dealt?

Page 19: Patrick's Casino

Cards

• What is the probability of drawing an ace?• 4/52 = .0769• What is the probability of drawing another ace?• 4/52 = .0769; 3/51 = .0588; .0769*.0588 = .0045 • What is the probability the next four cards you

draw will each be an ace? • .0769*.0588*.04*.02 = .000003• What is the probability that an ace will be in the

first four cards dealt?• .0769+.078+.08+.082 = .3169

Page 20: Patrick's Casino

Probability

1.00.00

Event will not occur

Event must occur

Page 21: Patrick's Casino

Probability

• In this chapter we deal with discreet variables– i.e., a variable that has a limited number of

values

• Previously we discussed the probability of continuous variables (Z –scores)– It does not make sense to seek the probability

of a single score for a continuous variable• Seek the probability of a range of scores

Page 22: Patrick's Casino

Key Terms

• Independent event– When the occurrence of one event has no

effect on the occurrence of another event• e.g., voting behavior, IQ, etc.

• Mutually exclusive– When the occurrence of one even precludes

the occurrence of another event• e.g., your year in the program, if you are in prosem

Page 23: Patrick's Casino

Key Terms

• Joint probability– The probability of the co-occurrence of two or

more events• The probability of rolling a one and a six• p (1, 6)• p (Blond, Blue)

Page 24: Patrick's Casino

Key Terms

• Conditional probabilities– The probability that one event will occur given

that some other vent has occurred• e.g., what is the probability a person will get into a

PhD program given that they attended Villanova– p(Phd l Villa)

• e.g., what is the probability that a person will be a millionaire given that they attended college

– p($$ l college)

Page 25: Patrick's Casino

Example

Owns a video game

Does not own a video game

Total

No Children 10 35 45

Children 25 30 55

Total 35 65 100

Page 26: Patrick's Casino

What is the simple probability that a person will own a video game?

Owns a video game

Does not own a video game

Total

No Children 10 35 45

Children 25 30 55

Total 35 65 100

Page 27: Patrick's Casino

What is the simple probability that a person will own a video game? 35 / 100 = .35

Owns a video game

Does not own a video game

Total

No Children 10 35 45

Children 25 30 55

Total 35 65 100

Page 28: Patrick's Casino

What is the conditional probability of a person owning a video game given that he or she has children? p (video l child)

Owns a video game

Does not own a video game

Total

No Children 10 35 45

Children 25 30 55

Total 35 65 100

Page 29: Patrick's Casino

What is the conditional probability of a person owning a video game given that he or she has children?25 / 55 = .45

Owns a video game

Does not own a video game

Total

No Children 10 35 45

Children 25 30 55

Total 35 65 100

Page 30: Patrick's Casino

What is the joint probability that a person will own a video game and have children? p(video, child)

Owns a video game

Does not own a video game

Total

No Children 10 35 45

Children 25 30 55

Total 35 65 100

Page 31: Patrick's Casino

What is the joint probability that a person will own a video game and have children? 25 / 100 = .25

Owns a video game

Does not own a video game

Total

No Children 10 35 45

Children 25 30 55

Total 35 65 100

Page 32: Patrick's Casino

25 / 100 = .25.35 * .55 = .19

Owns a video game

Does not own a video game

Total

No Children 10 35 45

Children 25 30 55

Total 35 65 100

Page 33: Patrick's Casino

The multiplication rule assumes that the two events are independent of each other – it does not work when there is a relationship!

Owns a video game

Does not own a video game

Total

No Children 10 35 45

Children 25 30 55

Total 35 65 100

Page 34: Patrick's Casino

Practice

Republican Democrat Total

Male 52 27 79

Female 18 65 83

Total 70 92 162

Page 35: Patrick's Casino

p (republican) p(female)p (republican, male) p(female, republican)p (republican l male) p(male l republican)

Republican Democrat Total

Male 52 27 79

Female 18 65 83

Total 70 92 162

Page 36: Patrick's Casino

p (republican) = 70 / 162 = .43p (republican, male) = 52 / 162 = .32p (republican l male) = 52 / 79 = .66

Republican Democrat Total

Male 52 27 79

Female 18 65 83

Total 70 92 162

Page 37: Patrick's Casino

p(female) = 83 / 162 = .51p(female, republican) = 18 / 162 = .11p(male l republican) = 52 / 70 = .74

Republican Democrat Total

Male 52 27 79

Female 18 65 83

Total 70 92 162

Page 38: Patrick's Casino

Foot Race

• Three different people enter a “foot race”

• A, B, C

• How many different combinations are there for these people to finish?

Page 39: Patrick's Casino

Foot Race

A, B, CA, C, BB, A, CB, C, AC, B, AC, A, B

6 different permutations of these three names taken three at a time

Page 40: Patrick's Casino

Foot Race

• Six different people enter a “foot race”

• A, B, C, D, E, F

• How many different permutations are there for these people to finish?

Page 41: Patrick's Casino

Permutation

Ingredients:

N = total number of events

r = number of events selected

NrPrN

N

)!(

!

Page 42: Patrick's Casino

Permutation

Ingredients:

N = total number of events

r = number of events selected

A, B, C, D, E, F Note: 0! = 1

720)!66(

!6

Page 43: Patrick's Casino

Foot Race

• Six different people enter a “foot race”

• A, B, C, D, E, F

• How many different permutations are there for these people to finish in the top three?

• A, B, C A, C, D A, D, E B, C, A

Page 44: Patrick's Casino

Permutation

Ingredients:

N = total number of events

r = number of events selected

NrPrN

N

)!(

!

Page 45: Patrick's Casino

Permutation

Ingredients:

N = total number of events

r = number of events selected

120)!36(

!6

Page 46: Patrick's Casino

Foot Race

• Six different people enter a “foot race”

• If a person only needs to finish in the top three to qualify for the next race (i.e., we don’t care about the order) how many different outcomes are there?

Page 47: Patrick's Casino

Combinations

Ingredients:

N = total number of events

r = number of events selected

NrCrNr

N

)!(!

!

Page 48: Patrick's Casino

Combinations

Ingredients:

N = total number of events

r = number of events selected

20)!36(!3

!6

Page 49: Patrick's Casino

Note:

• Use Permutation when ORDER matters

• Use Combination when ORDER does not matter

Page 50: Patrick's Casino

Practice

• There are three different prizes– 1st $1,00– 2nd $500– 3rd $100

• There are eight finalist in a drawing who are going to be awarded these prizes.

• A person can only win one prize• How many different ways are there to

award these prizes?

Page 51: Patrick's Casino

Practice

336 ways of awarding the three different prizes

336)!38(

!8

Page 52: Patrick's Casino

Practice

• There are three prizes (each is worth $200)

• There are eight finalist in a drawing who are going to be awarded these prizes.

• A person can only win one prize

• How many different ways are there to award these prizes?

Page 53: Patrick's Casino

Combinations

56 different ways to award these prizes

56)!38(!3

!8

Page 54: Patrick's Casino

Practice

• A shirt comes in four sizes and six colors. One also has the choice of a dragon, alligator, or no emblem on the pocket. How many different kinds of shirts can you order?

Page 55: Patrick's Casino

Practice

• A shirt comes in four sizes and six colors. One also has the choice of a dragon, alligator, or no emblem on the pocket. How many different kinds of shirts can you order?

• 4*6*3 = 72

• Don’t make it hard on yourself!

Page 56: Patrick's Casino

Practice

• In a California Governor race there were 135 candidates. The state created ballots that would list candidates in different orders. How many different types of ballots did the state need to create?

Page 57: Patrick's Casino

Practice

2.6904727073180495e+230

Or

)!135135(

!135

Page 58: Patrick's Casino

26,904,727,073,180,495,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000

Page 59: Patrick's Casino

Bonus Points

• Suppose you’re on a game show and you’re given the choice of three doors. Behind one door is a car; behind the others, goats. The car and the goats were placed randomly behind the doors before the show. The rules of the game show are as follows: After you have chosen a door, the door remains closed for the time being. The game show host, Monty Hall, who knows what is behind the doors, now has to open one of the two remaining doors, and the door he opens must have a goat behind it. If both remaining doors have goats behind them, he chooses one randomly. After Monty Hall opens a door with a goat, he will ask you to decide whether you want to stay with your first choice or to switch to the last remaining door. Imagine that you chose Door 1 and the host opens Door 3, which has a goat. He then asks you “Do you want to switch to Door Number 2?” Is it to your advantage to change your choice? 

Page 61: Patrick's Casino
Page 62: Patrick's Casino

You pick #1

Door 1 Door 2 Door 3 Results

GAME 1 AUTO GOAT GOATSwitch and you lose.

GAME 2 GOAT AUTO GOATSwitch and you win.

GAME 3 GOAT GOAT AUTOSwitch and you win.

GAME 4 AUTO GOAT GOATStay and you win.

GAME 5 GOAT AUTO GOATStay and you lose.

GAME 6 GOAT GOAT AUTOStay and you lose.

Page 63: Patrick's Casino
Page 64: Patrick's Casino

Practice

• The probability of winning “Blingoo” is .30

• What is the probability that you will win 20 of the next 30 games of Blingoo ?

• Note: previous probability methods do not work for this question

Page 65: Patrick's Casino

Binomial Distribution

• Used with situations in which each of a number of independent trials results in one of two mutually exclusive outcomes

Page 66: Patrick's Casino

Binomial Distribution

Ingredients:N = total number of eventsp = the probability of a success on any one trialq = (1 – p) = the probability of a failure on any one trialX = number of successful events

)(

)!(!

!)( XNXqp

XNX

NXp

Page 67: Patrick's Casino

Game of Chance

• The probability of winning “Blingoo” is .30

• What is the probability that you will win 20 of the next 30 games of Blingoo ?

• Note: previous probability methods do not work for this question

Page 68: Patrick's Casino

Binomial Distribution

Ingredients:N = total number of eventsp = the probability of a success on any one trialq = (1 – p) = the probability of a failure on any one trialX = number of successful events

)(

)!(!

!)( XNXqp

XNX

NXp

Page 69: Patrick's Casino

Binomial Distribution

Ingredients:N = total number of eventsp = the probability of a success on any one trialq = (1 – p) = the probability of a failure on any one trialX = number of successful events

)(30.)!(!

!)( XNX q

XNX

NXp

Page 70: Patrick's Casino

Binomial Distribution

Ingredients:N = total number of eventsp = the probability of a success on any one trialq = (1 – p) = the probability of a failure on any one trialX = number of successful events

)(70.30.)!(!

!)( XNX

XNX

NXp

Page 71: Patrick's Casino

Binomial Distribution

Ingredients:N = total number of eventsp = the probability of a success on any one trialq = (1 – p) = the probability of a failure on any one trialX = number of successful events

)30(70.30.)!30(!

!30)( XX

XXXp

Page 72: Patrick's Casino

Binomial Distribution

Ingredients:N = total number of eventsp = the probability of a success on any one trialq = (1 – p) = the probability of a failure on any one trialX = number of successful events

)2030(20 70.30.)!2030(!20

!30)(

Xp

Page 73: Patrick's Casino

Binomial Distribution

Ingredients:N = total number of eventsp = the probability of a success on any one trialq = (1 – p) = the probability of a failure on any one trialX = number of successful events

)2030(20 70.30.)!2030(!20

!30)(

Xp

p = .000029

Page 74: Patrick's Casino

What does this mean?

• p = .000029

• This is the probability that you would win EXACTLY 20 out of 30 games of Blingoo

Page 75: Patrick's Casino

Game of Chance

• Playing perfect black jack – the probability of winning a hand is .498

• What is the probability that you will win 8 of the next 10 games of blackjack?

Page 76: Patrick's Casino

Binomial Distribution

Ingredients:N = total number of eventsp = the probability of a success on any one trialq = (1 – p) = the probability of a failure on any one trialX = number of successful events

)(

)!(!

!)( XNXqp

XNX

NXp

Page 77: Patrick's Casino

Binomial Distribution

Ingredients:N = total number of eventsp = the probability of a success on any one trialq = (1 – p) = the probability of a failure on any one trialX = number of successful events

)810(8 502.498.)!810(!8

!10)(

Xp

Page 78: Patrick's Casino

Binomial Distribution

Ingredients:N = total number of eventsp = the probability of a success on any one trialq = (1 – p) = the probability of a failure on any one trialX = number of successful events

)810(8 502.498.)!810(!8

!10)(

Xp

p = .0429

Page 79: Patrick's Casino

Excel

Page 80: Patrick's Casino

Binomial DistributionWhat is this doing?

Its combining together what you have learned so far!

One way to fit our 8 wins would be (joint probability):W, W, W, W, W, W, W, W, L, L =

(.498)(.498)(.498)(.498)(.498)(.498)(.498)(.498)(.502)(.502)=

(.4988)(.5022)=.00095

pX q(N-X)

Page 81: Patrick's Casino

Binomial Distribution

Ingredients:N = total number of eventsp = the probability of a success on any one trialq = (1 – p) = the probability of a failure on any one trialX = number of successful events

)(

)!(!

!)( XNXqp

XNX

NXp

Page 82: Patrick's Casino

Binomial Distribution

Ingredients:N = total number of eventsp = the probability of a success on any one trialq = (1 – p) = the probability of a failure on any one trialX = number of successful events

)(

)!(!

!)( XNXqp

XNX

NXp

Page 83: Patrick's Casino

Binomial Distribution

Other ways to fit our question

W, L, L, W, W, W, W, W

L, W, W, W, W, L, W, W

W, W, W, L, W, W, W, L

L, L, W, W, W, W, W, W

W, L, W, L, W, W, W, W

W, W, L, W, W, W, L, W

Page 84: Patrick's Casino

Binomial Distribution

Other ways to fit our question

W, L, L, W, W, W, W, W = .00095

L, W, W, W, W, L, W, W = .00095

W, W, W, L, W, W, W, L = .00095

L, L, W, W, W, W, W, W = .00095

W, L, W, L, W, W, W, W = .00095

W, W, L, W, W, W, L, W = .00095

Each combination has the same probability – but how many combinations are there?

Page 85: Patrick's Casino

Combinations

Ingredients:

N = total number of events

r = number of events selected

45 different combinations

NrCrNr

N

)!(!

!

Page 86: Patrick's Casino

Binomial Distribution

Ingredients:N = total number of eventsp = the probability of a success on any one trialq = (1 – p) = the probability of a failure on any one trialX = number of successful events

)(

)!(!

!)( XNXqp

XNX

NXp

Page 87: Patrick's Casino

Binomial Distribution

• Any combination would work• . 00095+ 00095+ 00095+ 00095+ 00095+

00095+ 00095+ 00095+. . . . . . 00095• Or 45 * . 00095 = .04

Page 88: Patrick's Casino

Binomial Distribution

Ingredients:N = total number of eventsp = the probability of a success on any one trialq = (1 – p) = the probability of a failure on any one trialX = number of successful events

)(

)!(!

!)( XNXqp

XNX

NXp

Page 89: Patrick's Casino

Practice

• You bought a ticket for a fire department lottery and your brother has bought two tickets. You just read that 1000 tickets were sold.– a) What is the probability you will win the grand

prize?– b) What is the probability that your brother will

win?– c) What is the probably that you or your bother

will win?

Page 90: Patrick's Casino

5.2

• A) 1/1000 = .001

• B)2/1000 = .002

• C) .001 + .002 = .003

Page 91: Patrick's Casino

Practice• Assume the same situation at before

except only a total of 10 tickets were sold and there are two prizes.– a) Given that you didn’t win the first prize, what is the

probability you will win the second prize?

– b) What is the probability that your borther will win the first prize and you will win the second prize?

– c) What is the probability that you will win the first prize and your brother will win the second prize?

– d) What is the probability that the two of you will win the first and second prizes?

Page 92: Patrick's Casino

5.3

• A) 1/9 = .111

• B) 2/10 * 1/9 = (.20)*(.111) = .022

• C) 1/10 * 2/9 = (.10)*(.22) = .022

• D) .022 + .022 = .044

Page 93: Patrick's Casino

Practice

• In some homes a mother’s behavior seems to be independent of her baby's, and vice versa. If the mother looks at her child a total of 2 hours each day, and the baby looks at the mother a total of 3 hours each day, and if they really do behave independently, what is the probability that they will look at each other at the same time?

Page 94: Patrick's Casino

5.8

• 2/24 = .083

• 3/24 = .125

• .083*.125 = .01

Page 95: Patrick's Casino

Practice

• Abe ice-cream shot has six different flavors of ice cream, and you can order any combination of any number of them (but only one scoop of each flavor). How many different ice-cream cone combinations could they truthfully advertise (note, we don’t care about the order of the scoops and an empty cone doesn’t count).

Page 96: Patrick's Casino

5.296

)!61(!1

!6

15)!62(!2

!6

20)!63(!3

!6

15)!46(!4

!6

6)!56(!5

!6

1)!66(!6

!6

6 + 15 + 20 +15 + 6 + 1 = 63

Page 97: Patrick's Casino

Extra Brownie Points!

• Lottery

• To Win:• choose the 5 winnings numbers

– from 1 to 49

• AND• Choose the "Powerball" number

– from 1 to 42

• What is the probability you will win?– Use combinations to answer this question