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.

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.”
AP STATISTICS Simulating Experiments. Steps for simulation Simulation: The imitation of chance behavior, based on a model that accurately reflects the.
Mathematics in Today's World
Chapter 5 Understanding Randomness
3.6: Probabilities Through Simulations Objective: To simulate probabilities using random number tables and random number generators CHS Statistics.
Understanding Randomness
Randomness, Probability, and Simulation
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.
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.
1.3 Simulations and Experimental Probability (Textbook Section 4.1)
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
Simulating Experiments on the TI Section Starter Use the random integer generator in your calculator to choose an SRS of 5 students from.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 5: Probability: What are the Chances? Section 5.1 Randomness, Probability,
Understanding Randomness.  Many phenomena in the world are random: ◦ Nobody can guess the outcome before it happens. ◦ When we want things to be fair,
Simulating Experiments Introduction to Random Variable.
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:
Warm Up Complete the Margins of Error Worksheet #1 – 3 on the back!
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.
1 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Chapter 9 Understanding Randomness.
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.
Unit 1 Day 6: Simulations.
Day 6: Simulations Unit 1: Statistics.
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.
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
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
Understanding Randomness
Understanding Randomness
CHAPTER 5 Probability: What Are the Chances?
WARM UP: Solve the equation for height for an age of 25.
Day 6: Simulations Unit 1: Statistics.
Section Simulation AP Statistics.
Probability using Simulations
Understanding Randomness
Statistics and Probability-Part 5
Understanding Randomness
Presentation transcript:

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 it? How many times would you test it?

Example If you had a coin from someone, that they said ended up heads more often than tails, how would you test it? How many times would you test it? If you flipped it 100 times, and counted 54 heads, does that make the coin biased? How many out of 100 would be convincing?

Example Let’s simulate flipping a fair coin with our calculators Math, prb, randInt randInt(0,1) simulates one coin toss

Example Let’s simulate flipping a fair coin with our calculators Math, prb, randInt randInt(0,1) simulates one coin toss randInt(0,1,5) simulates five coin tosses randInt(0,1,100) simulates 100 coin tosses

Example randInt(0,1,100) simulates 100 coin tosses Sum(randInt(0,1,100) adds up the results of ones for 100 tosses. Try it. Sum is on the list, math, menu

Example Sum(randInt(0,1,100) adds up the results of ones for 100 tosses. Try it. Try this five or more times, what are the highest and lowest numbers you get?

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. –When we want things to be fair, usually some underlying set of outcomes will be equally likely (although in many games some combinations of outcomes are more likely than others).

Why Be Random? 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?

Why Be Random? Statisticians don’t think of randomness as the annoying tendency of things to be unpredictable or haphazard. Statisticians use randomness as a tool. But, truly random values are surprisingly hard to get…

It’s Not Easy Being Random It’s surprisingly difficult to generate random values even when they’re equally likely. 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.

It’s Not Easy Being Random There are ways to generate random numbers so that they are both equally likely and truly random. The best ways we know to generate data that give a fair and accurate picture of the world rely on randomness, and the ways in which we draw conclusions from those data depend on the randomness, too.

Calculator Everyone Clear all memory on your calculator –2 nd, +, 7, 1, 2 Now generate three random numbers between zero and 100 Math, PRB, randInt randInt(0, 100, 3)

Calculator What did everyone get? Surprised? Your TI calculator seeds the random numbers the same with each reset, so, we all got 95, 91, 14

Calculator To seed your calculator differently, pick four numbers unique to you (random?) and store them in the variable rand Example 3235 sto rand (get rand from the math prb menu) Try again to get new numbers

Calculator So… Is it a good thing or a bad thing to have to seed a calculator to get truly random numbers? Without seeding, we could not reproduce the same results.

Random Tables On the AP Test you will pick random numbers from a provided random number table. Your book has a random number table on page A-117 in the back.

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.

A Simulation The sequence of events we want to investigate is called a trial. The basic building block of a simulation is called a component. –Trials usually involve several components. 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. 2.Explain how you will model the component’s outcome. 3.Explain how you will combine the components to model a trial. 4.State clearly what the response variable is. 5.Run several trials. 6.Collect and summarize the results of all the trials. 7.State your conclusion.

Example Suppose a basketball player has an 80% free throw success rate. How can we use random numbers to simulate whether or not she makes a foul shot? How many shots might she be able to make in a row without missing?

Example Component: A component is the most basic event we’re simulating – here that’s taking one shot. Get a random digit 0–9; let 0–7 = a good shot and 8 or 9 = a miss. Trial: A trial is the sequence of events we want to investigate – here that’s shooting shot after shot until she misses. Look at a series of random digits until we find an 8 or a 9. Response variable: Count the number of shots made before the miss. Statistic: Find the mean number of shots made.

Example How would our simulation procedure change if her success rate were only 72%?

Example Component: Get a random pair of digits Let = a good shot and let 73-99, 00 = a missed shot. Trial: Look at a series of pairs until we find a pair greater than 72 or 00. Response variable: Count the number of shots made before the miss. Statistic: Find the mean number of shots made after many trials.

Example How would a trial and our response variable change if we wanted to know how many shots she might make out of 5 chances she gets at a crucial point in the game?

Example Trial: Look at a 5 pairs of digits. Response variable: Count the number of shots made in 5 trials. Statistic: Find the mean number of shots made after many trials.

Example How would a trial and our response variable change if we want to know her chances of hitting both shots when she goes to the line to shoot two?

Example Trial: Look at a 2 pairs of digits. Response variable: Record whether or not both shots were made. Statistic: After many trials, find the percentage of trials in which both shots were made.

Example How would the simulation change if we want to know her score in a 1-and-1 situation. (Here she gets to try the second shot only if the first shot is successful.)

Example Trial: Look at a pair of two digits. If this pair represents a made shot look at another pair of digits. If the first pair represents a miss, record 0. If the first pair represents a made shot, and the second pair represents a miss, record 1. If both shots represent made shots, record 2. Response variable: Count the number of shots made in each trial. Statistic: Find the mean number of shots made after many trials.

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 Pages 266 – 269 5, 6, 9, 10, 15, 19, 20, 25, 26, 30