Cookbooks - PowerPoint PPT Presentation

1 / 74
About This Presentation
Title:

Cookbooks

Description:

What is the probability of picking an ace? 4 / 52 = .077 or 7.7 ... Choose the 'Powerball' number. from 1 to 42. What is the probability ... Powerball ... – PowerPoint PPT presentation

Number of Views:344
Avg rating:3.0/5.0
Slides: 75
Provided by: vu
Category:

less

Transcript and Presenter's Notes

Title: Cookbooks


1
(No Transcript)
2
Cookbooks!
3
Patrick's Casino
4
http//www.mendelsohn1.com81/java_example_1.html
5
(No Transcript)
6
What is the probability of picking an ace?
7
Probability
8
What is the probability of picking an ace? 4 / 52
.077 or 7.7 chances in 100
9
Every card has the same probability of being
picked
10
What is the probability of getting a 10, J, Q, or
K?
11
(.077) (.077) (.077) (.077) .308 16 / 52
.308
12
What is the probability of getting a 2 and then
after replacing the card getting a 3 ?
13
(.077) (.077) .0059
14
What is the probability that the two cards you
draw will be a black jack?
15
10 Card (.077) (.077) (.077) (.077)
.308 Ace after one card is removed 4/51
.078 (.308)(.078) .024
16
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 1s
    using two six sided dice?

17
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 1s
    using two six sided dice?

18
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 1s
    using two six sided dice?

19
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 1s
    using two six sided dice?
  • (.166)(.166) .028

20
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?

21
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

22
Probability
1.00
.00
Event must occur
Event will not occur
23
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

24
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

25
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)

26
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)

27
Example
28
What is the simple probability that a person will
own a video game?
29
What is the simple probability that a person will
own a video game? 35 / 100 .35
30
What is the conditional probability of a person
owning a video game given that he or she has
children? p (video l child)
31
What is the conditional probability of a person
owning a video game given that he or she has
children?25 / 55 .45
32
What is the joint probability that a person will
own a video game and have children? p(video,
child)
33
What is the joint probability that a person will
own a video game and have children? 25 / 100 .25
34
25 / 100 .25.35 .55 .19
35
The multiplication rule assumes that the two
events are independent of each other it does
not work when there is a relationship!
36
Practice
37
p (republican) p(female)p (republican,
male) p(female, republican)p (republican l
male) p(male l republican)
38
p (republican) 70 / 162 .43p (republican,
male) 52 / 162 .32p (republican l male) 52
/ 79 .66
39
p(female) 83 / 162 .51p(female, republican)
18 / 162 .11p(male l republican) 52 / 70
.74
40
Foot Race
  • Three different people enter a foot race
  • A, B, C
  • How many different combinations are there for
    these people to finish?

41
Foot Race
  • A, B, C
  • A, C, B
  • B, A, C
  • B, C, A
  • C, B, A
  • C, A, B
  • 6 different permutations of these three names
    taken three at a time

42
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?

43
Permutation
  • Ingredients
  • N total number of events
  • r number of events selected

44
Permutation
  • Ingredients
  • N total number of events
  • r number of events selected
  • A, B, C, D, E, F Note 0! 1

45
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

46
Permutation
  • Ingredients
  • N total number of events
  • r number of events selected

47
Permutation
  • Ingredients
  • N total number of events
  • r number of events selected

48
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 dont care
    about the order) how many different outcomes are
    there?

49
Combinations
  • Ingredients
  • N total number of events
  • r number of events selected

50
Combinations
  • Ingredients
  • N total number of events
  • r number of events selected

51
Note
  • Use Permutation when ORDER matters
  • Use Combination when ORDER does not matter

52
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?

53
Practice
  • 336 ways of awarding the three different prizes

54
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?

55
Combinations
  • 56 different ways to award these prizes

56
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?

57
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?
  • 463 72
  • Dont make it hard on yourself!

58
Practice
  • In the recent 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?

59
Practice
  • 2.6904727073180495e230
  • Or

60
  • 26,904,727,073,180,495,000,000,000,000,000,000,00
    0,000,000,000,000,000,000,000,000,000,000,000,000,
    000,000,000,000,000,000,000,000,000,000,000,000,00
    0,000,000,000,000,000,000,000,000,000,000,000,000,
    000,000,000,000,000,000,000,000,000,000,000,000,00
    0,000,000,000,000,000,000,000,000,000,000,000,000,
    000,000,000

61
Practice
  • Page 137
  • Exercise 5.2
  • Exercise 5.3
  • Exercise 5.4 and 5.5

62
5.2
  • p 1 / 1000 .001
  • p 2 / 1000 .002
  • p .001 .002 .003

63
5.3
  • p 1 / 9 .111
  • p (2 / 10)(1/9) (.20)(.111) .022
  • p (1/10)(2/9) (.10)(.22) .022
  • p (.022)(.022) .044

64
5.4
  • p 1 / 9 .111
  • p (2 / 10)(1/9) (.20)(.111) .022
  • p (b win 1, y win 2)
  • p (1/10)(2/9) (.10)(.22) .022
  • p (y win 1, b win 1)
  • p (.022)(.022) .044
  • p(b win 1, y win 2) p (y win 1, b win 2)

65
5.5
  • p 1 / 9 .111
  • p(win 2nd l lost1st)
  • p (2 / 10)(1/9) (.20)(.111) .022
  • p (1/10)(2/9) (.10)(.22) .022
  • p (.022)(.022) .044

66
Practice
  • Page 139 --
  • Exercise 5.26
  • Exercise 5.27
  • Exercise 5.28

67
5.26
68
5.27
69
5.28
There are 60 possible orders to push 3 out of 5
buttons. The probability that the subject will
choose the correct order on the first trial is p
(1/60) .017
70
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

71
  • p of winning jackpot
  • Total number of ways to win / total number of
    possible outcomes

72
Total Number of Outcomes

Different 5 number combinations
Different Powerball outcomes
Thus, there are 1,906,884 42 80,089,128 ways
the drawing can occur
73
Total Number of Ways to Win

Only one way to win
74
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com