Chapter 11 Randomness. Randomness Random outcomes –Tossing coins –Rolling dice –Spinning spinners They must be fair.

Slides:



Advertisements
Similar presentations
Copyright © 2010 Pearson Education, Inc. Slide A small town employs 34 salaried, nonunion employees. Each employee receives an annual salary increase.
Advertisements

Simulations How many boxes does it take to get a complete set of pictures of Tiger Woods, Lance Armstrong, and Serena Williams if the manufacturer of the.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 11 Understanding Randomness.
AP STATISTICS Simulating Experiments. Steps for simulation Simulation: The imitation of chance behavior, based on a model that accurately reflects the.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 17 Probability Models.
Chapter 5 Understanding Randomness
Understanding Randomness
Chapter XI Rory Nimmons Venkat Reddy UnderstandingRandomnessUnderstandingRandomness.
Understanding Randomness
Chapter 11: understanding randomness (Simulations)
Chapter 5: Probability: What are the Chances?
+ AP Statistics: Chapter 11 Pages Rohan Parikh Azhar Kassam Period 2.
Copyright © 2010 Pearson Education, Inc. Unit 3: Gathering Data Chapter 11 Understanding Randomness.
Unit 5: Probability Sample Space.
Introduction to Probability
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.
11/18/ Randomness, Probability, and Simulation.
Chapter 11 Understanding Randomness At the end of this chapter, you should be able to  Identify a random event.  Describe the properties of random.
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.
Chapter 1 Extras More on Simulations and surveys.
Understanding Randomness
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.
Gathering Data (C11-13 BVD) C11: Understanding Randomness/Simulations.
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 5: Probability: What are the Chances? Section 5.1 Randomness, Probability,
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 5: Probability: What are the Chances? Section 5.1 Randomness, Probability,
4.3a Simulating Experiments Target Goal: I can use simulation to represent an experiment. In class FR.
Understanding Randomness.  Many phenomena in the world are random: ◦ Nobody can guess the outcome before it happens. ◦ When we want things to be fair,
Randomness, Probability, and Simulation
Unit 5: Probability: What are the Chances?
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: –
1 Chapter 11 Understanding Randomness. 2 Why Be Random? What is it about chance outcomes being random that makes random selection seem fair? Two things:
1 Chapter 11 Understanding Randomness. 2 Why Random? What is it about chance outcomes being random that makes random selection seem fair? Two things:
5-Minute Check on Chapter 5 Click the mouse button or press the Space Bar to display the answers. 1.What can help detect “cause-and-effect” relationships?
Introduction Imagine the process for testing a new design for a propulsion system on the International Space Station. The project engineers wouldn’t perform.
The Practice of Statistics Third Edition Chapter 6: Probability and Simulation: The Study of Randomness 6.1 Simulation Copyright © 2008 by W. H. Freeman.
Copyright © 2009 Pearson Education, Inc. Chapter 11 Understanding Randomness.
AP Statistics Understanding Randomness Chapter 11.
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 © 2014, 2012, 2009 Pearson Education, Inc. Chapter 9 Understanding Randomness.
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.
Why Be Random? What is it about chance outcomes being random that makes random selection seem fair? Two things: Nobody can guess the outcome before it.
Warmup The “experts” think the Braves are still rebuilding and will only win 46% of their games this season. Using a standard deck of cards (52 cards,
Understanding Randomness
Friday, October 7, 2016 Write a random number between 1 and 10 on a post- it note on your desk Warm-up Discuss with your group & make a list What games.
Monday, October 10, 2016 Warm-up Random Numbers Simulations
Understanding Randomness
Understanding Randomness
Understanding Randomness
Understanding Randomness
Chapter 5: Probability: What are the Chances?
WARM UP: Solve the equation for height for an age of 25.
Probability using Simulations
Understanding Randomness
Understanding Randomness
5.1: Randomness, Probability and Simulation
Chapter 11 Probability.
Presentation transcript:

Chapter 11 Randomness

Randomness Random outcomes –Tossing coins –Rolling dice –Spinning spinners They must be fair

Randomness Random outcomes –Tossing coins –Rolling dice –Spinning spinners They must be fair –Nobody can guess the outcome before it happens

Randomness Random outcomes –Tossing coins –Rolling dice –Spinning spinners They must be fair –Nobody can guess the outcome before it happens –Usually some underlying set of outcomes will be equally likely

Result NumberPercentage 1About 5% 2 or 4About 20% 3About 75%

Result NumberPercentage 1About 5% 2 or 4About 20% 3About 75% It is not easy to be random!

It’s Not Easy Being Random Computers have become a popular way to generate random numbers. –Even though they often do much better than humans, computers can’t generate truly random numbers either. –Since computers follow programs, the “random” numbers we get from computers are really pseudorandom. –Fortunately, pseudorandom values are good enough for most purposes.

Example A cereal manufacturer puts pictures of famous athletes on cards in boxes of cereal in the hope of boosting sales –20% of the boxes contain a picture of Tiger woods –30% for Lance Armstrong –50% for Serena Williams Get a lottery ticket when all three pictures are collected

How many boxes do we need to buy? If you are lucky, If you are very unlucky,

How many boxes do we need to buy? If you are lucky, three boxes If you are very unlucky, infinitely many

How many boxes do we need to buy? If you are lucky, three boxes If you are very unlucky, infinitely many But on average, how many? –Go ahead and buy, then count (too costly) –A cheaper solution Use a random model Assume that pictures are randomly placed in the boxes Assume that the boxes are randomly distributed to stores

Practical Randomness We need an imitation of a real process so we can manipulate and control it. In short, we are going to simulate reality.

Then what? Use the model to generate random values –Simulate the outcomes to see what happens We call each time we obtain a simulated answer to our question a trial How do we generate the outcomes at random?

Random numbers How to generate random numbers? –Computer software Pseudorandom numbers –Computers follow programs! –The sequence of pseudorandom numbers eventually repeat itself –But virtually indistinguishable from truly random numbers –Books of random numbers Not an interesting book, perhaps

How do we get random integers in TI-83? MATH PRB 5:randInt( randInt(left,right, #) –This allows repetition of the same integer –randInt (0,9,100) produces 100 random digits –randInt (0,57,3) produces three random integers between 0 and 57 Remark: The textbook’s comments are wrong. Using this function, you can possibly get (14, 41, 14), which is not suitable for the dorm room example.

Back to cereal boxes How to model the outcome? –20%, Woods (0,1) –30% Armstrong (2,3,4) –50% Williams (5,6,7,8,9) –0 to 9 are equally likely to occur How to simulate the trial? –Open cereal boxes till we have one of each picture –Opening one box is the basic building block, called a component of our simulation. –For example, ‘29240’ corresponds to the following outcomes:

Back to cereal boxes How to model the outcome? –20%, Woods (0,1) –30% Armstrong (2,3,4) –50% Williams (5,6,7,8,9) –0 to 9 are equally likely to occur How to simulate the trial? –Open cereal boxes till we have one of each picture –Opening one box is the basic building block, called a component of our simulation. –For example, ‘29240’ corresponds to the following outcomes: Armstrong, Williams, Armstrong, Armstrong, Woods

Cereal (continue) Response variable –What we are interested in How many boxes it takes to get all three pictures Length of the trial ‘29240’ corresponds to 5 boxes Run more trials –89064: 5 boxes –2730: 4 boxes – : 7 boxes –41219: 5 boxes – : 18 boxes How many boxes do we expect to buy? –Take an average –Based on the first 5 trials: the average is 7.8 boxes –To get an objective estimate: run infinitely many trials

Cautions Simulation is different from the reality because –Model may not be 100% precise –Only limited number of trials Run enough trials before you draw conclusions

Simulation Steps 1.Identify the component to be repeated. 2.Explain how you will model the component’s outcome. 3.State clearly what the response variable is. 4.Explain how you will combine the components into a trial to model the response variable. 5.Run many trials. 6.Collect and summarize the results of all the trials. 7.State your conclusion.

Lottery for a dorm room 57 students participated in a lottery for a particularly desirable dorm room –A triple with a fireplace and private bath in the tower –20 participants were members of the same varsity team –When all three winners were members of the team, the other students cried foul

Is it really a foul? Whether an all-team outcome could reasonably be expected to happen if every one is equally likely to be selected? Simulation –Component: selection of a student –00-56: one number for one student 00-19: 20 varsity applicants 20-56: the other 37 applicants –Trial: randomly select three numbers from Note we can’t put the same person in the room twice If selecting the second person, the first selected person should be excluded from the lottery –Response variable: ‘all varsity’ or not Draw conclusions by counting how often ‘all varsity’ occurs –The textbook gives 10% (only 10 trials) –If doing infinitely many trials, it should be %

What Can Go Wrong? Don’t overstate your case. –Beware of confusing what really happens with what a simulation suggests might happen. Model outcome chances accurately. –A common mistake in constructing a simulation is to adopt a strategy that may appear to produce the right kind of results. Run enough trials. –Simulation is cheap and fairly easy to do.