Presentation on theme: "Slide Slide 1 Section 4-6 Probabilities Through Simulations."— Presentation transcript:
Slide Slide 1 Section 4-6 Probabilities Through Simulations
Slide Slide 2 Warm Up 1)At a certain elementary school, the probability that a student who is randomly selected will come from a two-parent home is 0.75, and the probability that he or she will come from a two-parent home and me a lo achiever (D’s and F’s) is 0.18. What is the probability that such a randomly selected student will be a low achiever given that he or she comes from a two-parent home? 2)What is the probability of getting two aces in a row when two cards are drawn from an ordinary deck of 52 playing cards, if: a) The first card is replaced before the second card is drawn b) The first card is not replaced before the second card is drawn 3) If the probability is 0.70 that any person interviewed at a shopping mall will be against rezoning a certain piece of property for industrial development, what is the probability that among four persons interviewed at the mall the first three will be against the rezoning but the forth one will not be against it? 4) The typical single engine aircraft uses redundancy with two separate, independent electrical systems. Suppose the prob. Of one system failing is 0.1. If an aircraft has two electrical systems, find the probability of a safe flight. 5) A homeowner finds that there is a 0.1 probability that a flashlight does not work when turned on. If she has 3 flashlights: a) Find the prob. that none of them work when there is a power failure. b) Find the probability that at least one of them works when there is a power failure. c) Find the prob. That the second flashlight works given that the first flashlight works.
Slide Slide 3 Key Concept In this section we introduce a very different approach for finding probabilities that can overcome much of the difficulty encountered with the formal methods discussed in the preceding sections of this chapter.
Slide Slide 4 Definition A simulation of a procedure is a process that behaves the same way as the procedure, so that similar results are produced.
Slide Slide 5 Random Numbers In many experiments, random numbers are used in the simulation of naturally occurring events. Below are some ways to generate random numbers. A table of random of digits Minitab Excel TI-83 Plus calculator STATDISK
Slide Slide 6 Simulation Example Gender Selection When testing techniques of gender selection, medical researchers need to know probability values of different outcomes, such as the probability of getting at least 60 girls among 100 children. Assuming that male and female births are equally likely, describe a simulation that results in genders of 100 newborn babies.
Slide Slide 7 Simulation Examples Solution 1: Flipping a fair coin 100 times where heads= female and tails = male H H T H T T H H H H Generating 0’s and 1’s with a computer or calculator where 0 = male 1 = female 0 0 1 0 1 1 1 0 0 0 male male female male female female female male male malefemale female male female male male male female female female Solution 2:
Slide Slide 8 More simulation examples 1)If Bertha makes 70% of her free-throw basketball shots, design and run a simulation to represent the shots she misses and makes, running 100 trials; use Line 101 from your random digit table. 2)Globe Activity: We want to simulate the percentage of the earth that is covered in water vs. land. What is the actual percentage? What is the simulated percentage?
Slide Slide 9 Random Numbers - cont Minitab STATDISK
Slide Slide 10 Random Numbers - cont Excel TI-83 Plus calculator
Slide Slide 11 Recap In this section we have discussed: The definition of a simulation. Ways to generate random numbers. How to create a simulation.
Slide Slide 13 Key Concept In many probability problems, the big obstacle is finding the total number of outcomes, and this section presents several methods for finding such numbers without directly listing and counting the possibilities.
Slide Slide 14 Fundamental Counting Rule For a sequence of two events in which the first event can occur m ways and the second event can occur n ways, the events together can occur a total of m n ways.
Slide Slide 15 Examples-FCR 1)In designing a test of gender-selection method, a researcher wants to know how many different possible sequences of genders there are when 10 babies are born. What are the number of possibilities? 2)Assume that a criminal is found using your social security number and claims that all of the digits were randomly generated. What is the probability of getting your social security number when randomly generating nine digits? If the criminal claims they randomly generated your number, is this likely to be true?
Slide Slide 16 Notation The factorial symbol ! denotes the product of decreasing positive whole numbers. For example, By special definition, 0! = 1.
Slide Slide 17 A collection of n different items can be arranged in order n! different ways. (This factorial rule reflects the fact that the first item may be selected in n different ways, the second item may be selected in n – 1 ways, and so on.) Factorial Rule
Slide Slide 18 Example You are planning a trip to Disney World and you want to get through these five rides the first day: Space Mountain, Tower of Terror, Rock ‘n’ Roller Coaster, Mission Space, and Dinosaur. The rides can sometimes have long waiting lines that vary throughout the day, so planning an efficient route could help maximize the pleasure of the day. How many different routes are possible?
Slide Slide 19 Permutations Rule (when items are all different) (n - r)! n r P = n!n! If the preceding requirements are satisfied, the number of permutations (or sequences) of r items selected from n available items (without replacement) is Requirements: 1.There are n different items available. (This rule does not apply if some of the items are identical to others.) 2.We select r of the n items (without replacement). 3.We consider rearrangements of the same items to be different sequences. (The permutation of ABC is different from CBA and is counted separately.)
Slide Slide 20 Examples-Permutations 1) Singing legend Frank Sinatra recorded 381 songs. From a list of his top-10 songs, you must select 3 that will be sung in a medley as a tribute at the next MTV Music Awards ceremony. If you select 3 of Sinatra’s top-10 songs, how many different sequences are there? 2) When testing a new drug, Phase I involves only 8 volunteers, and the objective is to assess the drug’s safety. To be very cautious, you plan to treat the 8 subjects in sequence, so that any particularly adverse effect can allow for stopping the treatments before any other subjects are treated. If 10 volunteers are available and 8 of them are to be selected, how many different sequences of 8 subjects are possible?
Slide Slide 21 Permutations Rule (when some items are identical to others) n 1 !. n 2 !........ n k ! n!n! If the preceding requirements are satisfied, and if there are n 1 alike, n 2 alike,... n k alike, the number of permutations (or sequences) of all items selected without replacement is Requirements: 1.There are n items available, and some items are identical to others. 2.We select all of the n items (without replacement). 3.We consider rearrangements of distinct items to be different sequences.
Slide Slide 22 Permutations – identical to others With 10 births, how many ways can 8 girls and 2 boys be arranged in sequence? What is the probability of getting 8 girls and 2 boys among 10 births?
Slide Slide 23 (n - r )! r! n!n! n C r = Combinations Rule If the preceding requirements are satisfied, the number of combinations of r items selected from n different items is Requirements: 1.There are n different items available. 2.We select r of the n items (without replacement). 3.We consider rearrangements of the same items to be the same. (The combination of ABC is the same as CBA.)
Slide Slide 24 Examples - Combinations 1)When testing a new drug on humans, a clinical test is normally done in 3 phases. Phase I is conducted with a relatively small number of healthy volunteers. If 8 subjects are selected from the 10 that are available, and the 8 selected subjects are all treated at the same time, how many different treatment groups are possible? (Not “in sequence”). 2) In designing a test of gender-selection method with 10 couples, a researcher knows that there are 1024 different possible sequences of genders when 10 babies are born. What is the probability of getting 8 girls and 2 boys among 10 births?
Slide Slide 25 When different orderings of the same items are to be counted separately, we have a permutation problem, but when different orderings are not to be counted separately, we have a combination problem. Permutations versus Combinations
Slide Slide 26 ClothesShoesOtherTotal Male7525150250 Female350230170750 Total4252553201000 The local Chamber of Commerce conducted a survey of one thousand randomly selected shoppers at a mall. For all shoppers, “gender of shopper,” and “items shopping for” was recorded. The data collected is summarized in the following table: If the shopper is selected at random from this mall, a)What is the probability that the shopper is a female? b)What is the probability that the shopper is shopping for shoes? c)What is the probability that the shopper is a female shopping for shoes? d)What is the probability that the shopper is shopping for shoes given that the shopper is a female? e)Are the events “female” and “shopping for shoes” disjoint? f)Are the events “female” and shopping for shoes” independent?