Presentation on theme: "11/18/2013 5.1 Randomness, Probability, and Simulation."— Presentation transcript:
1 11/18/20135.1 Randomness, Probability, and Simulation
2 Section 5.1 Randomness, Probability, and Simulation Learning ObjectivesAfter this section, you should be able to…DESCRIBE the idea of probabilityDESCRIBE myths about randomnessDESIGN and PERFORM simulations
3 Soda PromotionActivityAs a special promotion, 20 oz bottles have messages written in their caps that say, “Please try again!” or “You’re a winner!” The ads say that 1 in 6 wins a prize. Seven friends buy a soda and three win! Is this group of friends lucky or is the claim of 1 in 6 inaccurate?Roll your dice 7 times to imitate the friends buying a soda. Record how many times you get a 1 as the winner.Repeat step 1 four more times.Combine the results with the class. What percent of the time did the friends come away with 3 or more prizes?Based on step 3, does it seem plausible that the company is telling the truth, but that the seven friends just got lucky?
4 Randomness, Probability, and Simulation The Idea of ProbabilityChance behavior is unpredictable in the short run, but has a regular and predictable pattern in the long run.The law of large numbers says that if we observe more and more repetitions of any chance process, the proportion of times that a specific outcome occurs approaches a single value.Randomness, Probability, and SimulationDefinition:The probability of any outcome of a chance process is a number between 0 (never occurs) and 1(always occurs) that describes the proportion of times the outcome would occur in a very long series of repetitions.
5 Randomness, Probability, and Simulation Myths about RandomnessThe idea of probability seems straightforward. However, there are several myths of chance behavior we must address.Randomness, Probability, and SimulationThe myth of short-run regularity:The idea of probability is that randomness is predictable in the long run. Our intuition tries to tell us random phenomena should also be predictable in the short run. However, probability does not allow us to make short-run predictions.The myth of the “law of averages”:Probability tells us random behavior evens out in the long run. Future outcomes are not affected by past behavior. That is, past outcomes do not influence the likelihood of individual outcomes occurring in the future.
6 Randomness, Probability, and Simulation Myths about RandomnessRandomness, Probability, and SimulationCasinos showing the score:In casinos, there is often a large display next to every roulette table showing the outcomes of the last several spins of the wheel. Since the results of previous spins reveal nothing about the results of future spins, why do the casinos pay for these displays?Let’s make some money!Because many players use the previous results to determine what bets to make, even though it won’t help them win. As long as the players keep making bets, the casino keeps making money!
7 Randomness, Probability, and Simulation The imitation of chance behavior, based on a model that accurately reflects the situation, is called a simulation.Randomness, Probability, and SimulationPerforming a SimulationState: What is the question of interest about some chance process?Plan: Describe how to use a chance device to imitate one repetition of the process. Explain clearly how to identify the outcomes of the chance process and what variable to measure.Do: Perform many repetitions of the simulation.Conclude: Use the results of your simulation to answer the question of interest.Remember: Statistic Problems Demand Consistency!We can use physical devices, random numbers (e.g. Table D), and technology to perform simulations.
8 Read the activity on page 5. Example: Hiring Discrimination-It Just Won’t Fly!Read the activity on page 5.Now read the State, Plan, Do, Conclude summary on page 290 labeled Hiring Discrimination!
9 Example: Golden Ticket Parking Lottery Read the example on page 290.What is the probability that a fair lottery would result in two winners from the AP Statistics class?Reading across row 139 in Table D, look at pairs of digits until you see two different labels from Record whether or not both winners are members of the AP Statistics Class.StudentsLabelsAP Statistics Class01-28Other29-95Skip numbers from 96-0055 | 5889 | 9404 | 7070 | 8410|98|4356 | 3569 | 3448 | 3945 | 17X | X✓ | X✓|Sk|XX | ✓No19 | 1297|51|3258 | 1304 | 8451 | 4472 | 3218 | 1940|00|3600|24|28✓ | ✓Sk|X|XX | ✓✓ | XX | XX|Sk|XSk|✓|✓YesNoBased on 18 repetitions of our simulation, both winners came from the AP Statistics class 3 times, so the probability is estimated as 16.67%.
10 Example: NASCAR Cards and Cereal Boxes Read the example on page 291.What is the probability that it will take 23 or more boxes to get a full set of 5 NASCAR collectible cards?DriverLabelJeff Gordon1Dale Earnhardt, Jr.2Tony Stewart3Danica Patrick4Jimmie Johnson5Use randInt(1,5) to simulate buying one box of cereal and looking at which card is inside. Keep pressing Enter until we get all five of the labels from 1 to 5. Record the number of boxes we had to open.boxesboxesboxesWe never had to buy more than ___ boxes to get the full set of cards in 50 repetitions of our simulation. Our estimate of the probability that it takes 23 or more boxes to get a full set is roughly ___.
11 Section 5.1 Randomness, Probability, and Simulation SummaryIn this section, we learned that…A chance process has outcomes that we cannot predict but have a regular distribution in many distributions.The law of large numbers says the proportion of times that a particular outcome occurs in many repetitions will approach a single number.The long-term relative frequency of a chance outcome is its probability between 0 (never occurs) and 1 (always occurs).Short-run regularity and the law of averages are myths of probability.A simulation is an imitation of chance behavior.