Understanding Randomness

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

Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 11 Understanding Randomness.
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
Linear Transformation and Statistical Estimation and the Law of Large Numbers Target Goal: I can describe the effects of transforming a random variable.
Understanding Randomness
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.
Copyright © 2010 Pearson Education, Inc. Unit 3: Gathering Data Chapter 11 Understanding Randomness.
Chapter 11 Randomness. Randomness Random outcomes –Tossing coins –Rolling dice –Spinning spinners They must be fair.
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.
Understanding Randomness
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 11 Understanding Randomness.
Copyright © 2010 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
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
Understanding Randomness.  Many phenomena in the world are random: ◦ Nobody can guess the outcome before it happens. ◦ When we want things to be fair,
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: –
Unit III Notes Gathering Data AP Statistics Chapter 11 Notes Understanding Random Numbers Objective: Students will learn how to simulate a real world situation.
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:
Aim: What is the importance of probability?. What is the language of Probability? “Random” is a description of a kind of order that emerges in the long.
1 Chapter 11 Understanding Randomness. 2 Why Random? What is it about chance outcomes being random that makes random selection seem fair? Two things:
Introduction Imagine the process for testing a new design for a propulsion system on the International Space Station. The project engineers wouldn’t perform.
Stats3 Day 1 Chapter 11- using random # table. Do Now Read Handout
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.
Chapter 11 Understanding Randomness. Practical Randomness Suppose a cereal company puts pictures of athletes on cards in boxes of cereal in hopes to boost.
AP Statistics From Randomness to Probability Chapter 14.
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.
Experimental Probability vs. Theoretical Probability
Part III – Gathering Data
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,
Chapter Randomness, Probability, and Simulation
Understanding Randomness
Chapter 13- Experiments and Observational Studies
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
Status for AP Congrats! We are done with Part II of the Topic Outline for AP Statistics! (10%-15%) of the AP Test can be expected to cover topics from.
From Randomness to Probability
From Randomness to Probability
Understanding Randomness
Understanding Randomness
Chapter 5: Probability: What are the Chances?
Honors Statistics From Randomness to Probability
Lesson – Teacher Notes Standard:
Understanding Randomness
Chapter 5: Probability: What are the Chances?
CHAPTER 5 Probability: What Are the Chances?
WARM UP: Solve the equation for height for an age of 25.
Probability using Simulations
From Randomness to Probability
CHAPTER 5 Probability: What Are the Chances?
Understanding Randomness
Statistics and Probability-Part 5
Understanding Randomness
Presentation transcript:

Understanding Randomness Chapter 10 Understanding Randomness

Why Be Random? The most important aspect of randomness is that it needs to be fair. Randomness is an essential tool of Statistics. But truly random values are very hard to get. To see why, try the next example…

Look at the numbers quickly and choose one at random… 1 2 3 4

Why Be Random? Did you pick 3? Almost 75% of all people pick 3. About 20% pick 2 or 4. About 5% pick 1. That was not random. Psychologists have proposed reasons for why this happens.

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 happens. Each outcome is equally likely to happen.

Why Be Random? (cont.) Example: Pick “heads” or “tails.” Flip a fair coin. Does the outcome match your choice? Did you know before flipping the coin whether or not it would match?

It’s Not Easy Being Random It’s surprisingly difficult to generate random values even when they’re equally likely. Computers, calculators, and even smartphones have become a popular way to generate random numbers. There are ways to generate random numbers so that they are both equally likely and truly random. There are published tables of carefully generated random numbers.

It’s Not Easy Being Random (cont.) www.random.org The Random Integer Generator is good. The best ways we know to generate data that give a fair and accurate picture of the world rely on randomness. The ways in which we draw conclusions from those data depend on the randomness, too.

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.

Do you think shuffling cards will produce results that are random? Why?

Do you think shuffling cards will produce results that are random? Why? If you shuffle cards from the usual method, you have to shuffle the cards at least 7 times. Fewer than that leaves order in the deck. After 7 shuffles, shuffling any more does little good. Most people don’t shuffle that many times though. This can cause problems during tournaments, in casinos, etc. There has been history of people complaining.

Suppose a cereal manufacturer puts toys in a box. 20% of the boxes contain temporary tattoos, 30% contain compasses, and the rest are filled with rings. You want all three prizes. How many boxes will you need to buy? How can we answer a question like this?

One way is to buy hundreds of boxes of cereal to see what may happen. But let’s not do that. Instead, consider using a random model. Why do you think it has to be random?

We will assume that the prizes are randomly placed in the boxes and that the boxes are randomly distributed to stores around the country. Why are we using a model? Because it is ridiculous to buy all those boxes. It is a waste of money and food. So we need to figure out a way to imitate reality so that we can manipulate and control. We are going to simulate reality.

A simulation mimics reality by using random numbers to represent the outcome of real events. We cannot answer the question by completing the prize collection just once. We want to understand the typical number of boxes to open, how that number varies, and the shape of that distribution. So we will have to do this over and over.

Each time you obtain a simulated answer to your question is called a trial. For the prizes, a trial’s outcome is the number of boxes. How many boxes do you need to get each prize. 3 boxes. But with REALLY bad luck, you could buy tons of boxes and still not get all 3 prizes. So the possible outcomes for this trial are what? {3, 4, 5, 6, 7, …}

{3, 4, 5, 6, 7, …} We cannot just pick one of these at random because they are not all equally likely. It is very hard to guess how many boxes you would need to open. We need to now do a simulation on this to give us more of an idea. How do you think we can do this?

We can generate random numbers. 20% = temporary tattoos 30% = compasses 50% = rings We can say 0 and 1 are for tattoos; 2, 3, and 4 are for compasses; 5, 6, 7, 8, 9 are for rings.

A Simulation Opening one box is the basic building block of a simulation and is called a component. We need to observe a sequence of components until our prize collection is complete. After the trial, we record what happened—our response variable. There are seven steps to a simulation…

Simulation Steps 1. Identify the component to be repeated. In this case, the component is opening our box of cereal. 2. Explain how you will model the component’s outcome. The digits 0-9 are equally likely to occur. Because 20% of the boxes contain temporary tattoos we will use 2 of the 10 digits to represent that outcome. (0 and 1) 30% compasses means we will use 3 of the 10 digits to represent this outcome. (2, 3, and 4) 50% rings means we will use 5 of the 10 digits to represent this outcome. (5, 6, 7, 8, 9)

Simulation Steps 3. Explain how you will combine the components to model a trial. We pretend to open boxes (repeat components) until our collection is complete. We do this by looking at each random digit and indicating which prize it represents. We continue until we find all 3. 4. State clearly what the response variable is. What are we interested in? We want to find out the number of boxes it might take to get all three prizes.

Simulation Steps 5. Run several trials. For example, let’s look at the 1st line of the random digits generated from random.org. We get Ring, Compass, Tattoo. This trials outcome is 3 boxes (this is rare by the way). Now keep going with more random trials using our line of random digits. Keep a chart and record what happens. Let’s do 10 trials. Label chart with the “Trial Number”, “Component Outcomes”, and “Trial Outcomes (y = number of boxes)”

Simulation Steps 6. Collect and summarize the response of all the trials. You know how to summarize and display a response variable. Report the shape, center, and spread. Depending on the question you may want to report more. Now make a boxplot of your outcomes. 7. State your conclusions. Based on this simulation, we estimate that customers hoping to complete their prize collection will need to open a median of ______________ boxes, but it could take a lot more.

Note: If you fear that you may not have accurate estimates, you can always do more trials. The more trials the better? But how many? We will answer this question in a bit.

Just Checking Box on Pg # 272 Solutions: The component is one game. I will generate random numbers and assign numbers from 0 to 54 to the home team winning and numbers 55 to 99 to the visiting team winning. I’ll generate components until one team wins 4 games. Then I will record which team wins the series. The response is who wins the series. I’ll calculate the percent of wins by team A (who starts at home)

Homework: Pg 276 – 277 Examples: 2, 4, 6, 8, 10, 12, 14, 15, 19 Read Chapter 10 Complete the Guided Reading

Activity: Simulating a Dice Game

Activity: Graphing Calculator Activity: Generating Random Numbers

Activity Using a Simulation to Pick Roommates

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.

What have we learned? How to harness the power of randomness. A simulation model can help us investigate a question when we can’t (or don’t want to) collect data, and a mathematical answer is hard to calculate. How to base our simulation on random values generated by a computer, generated by a randomizing device, or found on the Internet. Simulations can provide us with useful insights about the real world.

Homework: Pg # 278 – 279 Exercises: 21 – 25, 27, 28, 31 – 35