1 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Chapter 9 Understanding Randomness.

Slides:



Advertisements
Similar presentations
Introduction to Probability
Advertisements

Copyright © 2010 Pearson Education, Inc. Slide A small town employs 34 salaried, nonunion employees. Each employee receives an annual salary increase.
Lesson Objective Be able to calculate probabilities for Binomial situations Begin to recognise the conditions necessary for a Random variable to have a.
Overview Fundamentals
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
AP STATISTICS Simulation “Statistics means never having to say you're certain.”
Chapter 5 Understanding Randomness
PROBABILITY. Probability Concepts - Probability is used to represent the chance of an event occurring - Probabilities can be represented by fractions,
Copyright © 2009 Pearson Education, Inc. Chapter 12 Section 1 - Slide 1 P-1 Probability The Nature of Probability.
Understanding Randomness
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Created by Tom Wegleitner, Centreville, Virginia Section 4-2.
Chapter XI Rory Nimmons Venkat Reddy UnderstandingRandomnessUnderstandingRandomness.
Understanding Randomness
Chapter 11: understanding randomness (Simulations)
+ AP Statistics: Chapter 11 Pages Rohan Parikh Azhar Kassam Period 2.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 5.2.
Copyright © 2015, 2011, 2008 Pearson Education, Inc. Chapter 7, Unit A, Slide 1 Probability: Living With The Odds 7.
Copyright © 2010 Pearson Education, Inc. Unit 3: Gathering Data Chapter 11 Understanding Randomness.
Chapter 1 Basics of Probability.
Sections 4-1 and 4-2 Review and Preview and Fundamentals.
Chapter 11 Randomness. Randomness Random outcomes –Tossing coins –Rolling dice –Spinning spinners They must be fair.
Chapter 4 Probability 4-1 Overview 4-2 Fundamentals 4-3 Addition Rule
In this chapter we introduce the idea of what it means for something to be truly random. We also investigate techniques for simulating randomness.
Probabilistic & Statistical Techniques Eng. Tamer Eshtawi First Semester Eng. Tamer Eshtawi First Semester
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 5 Section 1 – Slide 1 of 33 Chapter 5 Section 1 Probability Rules.
Chapter 11 – Understanding Randomness 1. What is a random event? Nobody can guess the outcome before it happens. Let’s try an experiment. On the next page.
Slide 11-1 Copyright © 2004 Pearson Education, Inc.
Randomness Has structure in the long run Randomness seems “Fair” 1) Nobody can predict the outcome ahead of time. 2) Some underlying set of outcomes are.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 10, Slide 1 Chapter 10 Understanding Randomness.
Understanding Randomness Chapter 11. Why Be Random? What is it about chance outcomes being random that makes random selection seem fair? Two things: –
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 11 Understanding Randomness.
AP STATISTICS LESSON SIMULATING EXPERIMENTS.
1.3 Simulations and Experimental Probability (Textbook Section 4.1)
Section 5.1 in your book….  Simulation: ◦ A simulation is an imitation of chance behavior, most often carried out with random numbers.  Random: ◦ When.
Understanding Randomness
16.1: Basic Probability. Definitions Probability experiment: An action through which specific results (counts, measurements, or responses) are obtained.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 11 Understanding Randomness.
AP STATISTICS Objective: Understanding Randomness Do Now: Take out any completed contracts, personal profiles, as well as your written design study. HW:
Chapter 11 Understanding Randomness. What is Randomness? Some things that are random: Rolling dice Shuffling cards Lotteries Bingo Flipping a coin.
Slide Understanding Randomness.  What is it about chance outcomes being random that makes random selection seem fair? Two things:  Nobody can.
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
MM207 Statistics Welcome to the Unit 7 Seminar With Ms. Hannahs.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 5: Probability: What are the Chances? Section 5.1 Randomness, Probability,
Slide Slide 1 Fundamentals of Probability. Slide Slide 2 A chance experiment is any activity or situation in which there is uncertainty about which of.
4.3a Simulating Experiments Target Goal: I can use simulation to represent an experiment. In class FR.
Simulating Experiments Introduction to Random Variable.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Chapter 12 Section 1 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Chapter 10 Understanding Randomness. Why Be Random? What is it about chance outcomes being random that makes random selection seem fair? Two things: –
Copyright © 2010 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Introduction Imagine the process for testing a new design for a propulsion system on the International Space Station. The project engineers wouldn’t perform.
Unit 5 Lesson 6 Probability 6.7 Estimating Probabilities using Simulations.
Copyright © 2009 Pearson Education, Inc. Chapter 11 Understanding Randomness.
Probability What are your Chances? Warm Up Write each fraction in simplest form
Statistics 11 Understanding Randomness. Example If you had a coin from someone, that they said ended up heads more often than tails, how would you test.
1 Copyright © 1998, Triola, Elementary Statistics Addison Wesley Longman Probability Chapter 3 M A R I O F. T R I O L A Copyright © 1998, Triola, Elementary.
Stats 8/26/13 1. Check homework C11 #2-9 Ch 11 Practice
Chapter 11 Understanding Randomness. Practical Randomness Suppose a cereal company puts pictures of athletes on cards in boxes of cereal in hopes to boost.
Chapter 11 Understanding Randomness. What is the most important aspect of randomness? It must be fair. How is this possible? 1) Nobody can guess the outcome.
Slope (b) = Correlation (r) = Slope (b) = Correlation (r) = WARM UP 1.Perform a Linear Regression on the following points and.
Determining the theoretical probability of an event
Section 5.1 Basic Ideas.
Understanding Randomness
Understanding Randomness
WARM UP: Solve the equation for height for an age of 25.
Understanding Randomness
Presentation transcript:

1 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Chapter 9 Understanding Randomness

2 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Slide 1- 2 Objectives: 32. Explain what it means to be random. 33. Accurately model a situation through simulation. 34. Discuss the results of a simulation study and draw conclusions about the questions being investigated.

3 Copyright © 2014, 2012, 2009 Pearson Education, Inc. 9.1 What is Randomness?

4 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Random Procedures A random procedure is a procedure whose outcome cannot be known in advance How can we determine the probability a random procedure will have a certain outcome?

5 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Approach #1: Relative Frequency Approximation of Probability Conduct/observe a procedure n times, and count the # of times that an outcome of interest occurs. Based on these results, the probability of the outcome is estimated as follows: This approach obtains an approximation (estimate) instead of an exact value Law of Large #’s: As the # of trials increases, the relative frequency probability approaches the actual probability

6 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Approach #2: Classical Approach to Probability Assume that a given procedure has n different outcomes and that each of these outcomes has an equal chance of occurring. If an outcome of interest can occur in s of these n ways, then This approach requires equally likely outcomes

7 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Approach #3: Subjective Probabilities P(outcome) is estimated by using personal judgment about the likelihood of an event This approach is needed when there is no repeatable random experiment available Examples: What is the probability it will rain tomorrow? What is the probability the stock market will rise tomorrow? What is the probability more than 5 students in this class will get an “A” on the next exam?

8 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Simulation There are many situations when we want to estimate the probability of an outcome of a random procedure, but: The classical approach to probability is not possible, and/or The relative frequency approach is unwieldy/expensive/infeasible/etc. In these situations we can simulate the random procedure in order to estimate the probability of our outcome of interest We need random numbers to simulate the randomness in real life

9 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Where do we get random numbers? Random number tables from random sources in nature Your textbook has a random number table in Appendix D Computers and your calculator can generate pseudorandom numbers. StatCrunch: Data → Simulate Data Use MATH -> PRB -> randInt(low, high, numtrials) to generate a set of random integers E.g. randInt(0,1,5) will generate a set of 5 random digits of 0 or 1. Slide 1- 9

10 Copyright © 2014, 2012, 2009 Pearson Education, Inc. How to use random numbers It depends on the context… if your outcome occurs with probability 1/5 then you could generate a set of random numbers on your calculator from 1 to 5 and let 1 represent your outcome occurring. RandInt(1,5,100) will generate 100 such digits Or you could use a random number table (digits 0-9) and let 0 and 1 be your outcome occurring Or use RandInt(0,9,100) to generate 100 such digits Or you could use a random number table and look at 2-digit numbers and let 0-19 be your event occurring. Or use RandInt(0,99,100) to generate 100 such numbers There are many ways to do this. Slide 1- 10

11 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Choosing 10 Random Numbers from 1 to 4 with StatCrunch

12 Copyright © 2014, 2012, 2009 Pearson Education, Inc. 9.2 Simulating by Hand

13 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Picking Sports Cards Cereal boxes contain one of three athlete cards: 20% chance of Hope Solo 30% chance of Danica Patrick 50% chance of Blake Griffin How many boxes would you expect to buy to get one of each? It is too expensive to buy hundreds of boxes and open them. Instead, use simulation.

14 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Steps for Simulation Specify how to model a component outcome using equally likely random digits: 1. Identify the component to be repeated. Opening a cereal box 2. Explain how you will model the experiment’s outcome. Assign outcomes to the equally likely random digits 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 0 or 1 → Hope Solo 2, 3, or 4 → Danica Patrick 5, 6, 7, 8, or 9 → Blake Griffin

15 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Steps for Simulation Specify how to simulate trials: 3. Explain how you will combine the components to model the trial. Look at each digit until all three types are found. 4. State clearly what the response variable is. We want to find the number of boxes it takes to get all three pictures. Put it all together to run the simulation: 5. Run several trials

16 Copyright © 2014, 2012, 2009 Pearson Education, Inc. 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Using TI-83/84 RandInt(0,9,10) … we may only need 3 picks, but 10 Will give us more than enough. With StatCrunch: The first column rounded is 6, 5, 7, 3, 2, 1, 3, 8, 5, 0, 0, 2, … It took 6 picks to have at least one of each type of card. The second column rounded is 5, 1, 0, 4, 4, 7, 5, 8, 8, 4, 4, 3, 6, …. It took 4 picks to have at least one of each. Continue this process until you have a large sample.

17 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Steps for Simulation Analyze the response variable: 6. Collect and summarize the results of the trials. As you have learned, look for shape, center, spread, outliers, etc. 7. State your conclusion We estimate it takes a median of 5 boxes to complete the collection, but it could take a lot more. Trial Number Number of Boxes The first four trials organized in a table.

18 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Simulating a Dice Game Rules Roll a total higher than your opponent without going over 21. If your opponent rolled an 18, how many rolls do you expect to make and what is your chance of winning? How will you simulate the components? A component is one roll of the die. Generate numbers from 1 to 6. (RandInt(1,6,10))

19 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Dice Game of 21 How will you combine the components? What is the response variable? I will add up the numbers until I get a total greater than 18 and count the number of rolls. If the total ≤ 21, it is a win. If the total > 21, it is a loss. Use StatCrunch and display a few outcomes: 1, 3, 5, 1, 2, 3, 6, 5, 6, 3, …: 7 tosses. Total: 21 win 2, 2, 4, 1, 5, 6, 1, 1, 4, 5, …: 6 tosses. Total: 20 win 2, 3, 1, 2, 5, 2, 1, 6, 3, 1, …: 8 tosses. Total: 22 loss

20 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Conclusions Suppose you ran 30 trials and tallied the results as shown. What are your conclusions? I typically roll about five or six times for each game. I expect to win about 70% of the time.

21 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Lottery for the Dorms 57 students are in a lottery for the spacious triple dorm room. 20 were from the varsity team and all three winners were from this team. How likely is this? Was it rigged? Plan → Simulation Components: Selection of the students. Outcomes: Generate numbers from 1 to will represent the team members. Trial: Pick the first three distinct numbers. Response Variable: Yes if all three are 1-20

22 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Show Mechanics Use StatCrunch or RandInt to generate 100 sets of three distinct random numbers between 1 and 57. Some are: 5,24,45; 26,56,27; 47,11,51; 35,16,9; 33,15,13; 47,37,32; 21,43,6; 15,22,28; 24,13,42; 38,33,17; 26,36,52; 28,3,55; 25,51,38; 36,18,34; 9,40,52; 5,17,2; 24,49,20; 22,38,45; 38,54,56; Analyze Only 3 out of the 100 trials resulted in “All Varsity.”

23 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Conclusions In the simulation, only 3 out of 100 were “All Varsity.” While 3% is only a small chance, it is not impossible. It looks pretty suspicious. Is 3% a small enough chance to make a formal accusation?

24 Copyright © 2014, 2012, 2009 Pearson Education, Inc. What Can Go Wrong? Don’t Overstate Your Case Simulation is not reality, it only indicates probability. Model Outcome Chances Accurately What would be wrong with generating random numbers 0, 1, 2, 3 to indicate the number of team members? There is not a 25% chance of each. They are not equally likely. Run Enough Trials Don’t just do a few trials. Err on the side of a large number of trials.

25 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Slide Example – Actually conduct this simulation using all 7 steps Many couples want to have both a boy and girl. If they decide to continue to have children until they have one child of each sex, what would the average family size be? Assume that boys are girls are equally likely.

26 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Slide Example – Actually conduct this simulation using all 7 steps You are playing a children’s game in which the number of spaces you will get to move is determined by the rolling of a die. You must land exactly on the final space in order to win. If you are 10 spaces away, how many turns might it take you to win?