AGAINST ALL ODDS EPISODE 11 FITTING LINES TO DATA TRANSCRIPT



Similar documents
Chapter 10. Key Ideas Correlation, Correlation Coefficient (r),

Using Excel (Microsoft Office 2007 Version) for Graphical Analysis of Data

Linear Regression. Chapter 5. Prediction via Regression Line Number of new birds and Percent returning. Least Squares

Lesson Using Lines to Make Predictions

Straightening Data in a Scatterplot Selecting a Good Re-Expression Model

Chapter 7: Simple linear regression Learning Objectives

Exercise 1.12 (Pg )

Homework 8 Solutions

Math 1526 Consumer and Producer Surplus

Session 7 Bivariate Data and Analysis

Graphing Linear Equations in Two Variables

HSPA 10 CSI Investigation Height and Foot Length: An Exercise in Graphing

Lecture 11: Chapter 5, Section 3 Relationships between Two Quantitative Variables; Correlation

The importance of graphing the data: Anscombe s regression examples

Foundations for Functions

Plot the following two points on a graph and draw the line that passes through those two points. Find the rise, run and slope of that line.

Scatter Plot, Correlation, and Regression on the TI-83/84

Part 1: Background - Graphing

Father s height (inches)

Univariate Regression

Linear Equations. Find the domain and the range of the following set. {(4,5), (7,8), (-1,3), (3,3), (2,-3)}

Dealing with Data in Excel 2010

table to see that the probability is (b) What is the probability that x is between 16 and 60? The z-scores for 16 and 60 are: = 1.

Correlation key concepts:

Lecture 8 : Coordinate Geometry. The coordinate plane The points on a line can be referenced if we choose an origin and a unit of 20

Unit 7 Quadratic Relations of the Form y = ax 2 + bx + c

Using Excel for Handling, Graphing, and Analyzing Scientific Data:

Worksheet A5: Slope Intercept Form

1.3 LINEAR EQUATIONS IN TWO VARIABLES. Copyright Cengage Learning. All rights reserved.

17. SIMPLE LINEAR REGRESSION II

Making It Fit: Using Excel to Analyze Biological Systems

1.2 GRAPHS OF EQUATIONS. Copyright Cengage Learning. All rights reserved.

" Y. Notation and Equations for Regression Lecture 11/4. Notation:

Chapter 11: r.m.s. error for regression

Correlation and Regression

Elements of a graph. Click on the links below to jump directly to the relevant section

AP Physics 1 and 2 Lab Investigations

Simple Linear Regression

MSLC Workshop Series Math Workshop: Polynomial & Rational Functions

Answer: C. The strength of a correlation does not change if units change by a linear transformation such as: Fahrenheit = 32 + (5/9) * Centigrade

2.3 Maximum and Minimum Applications

Curve Fitting in Microsoft Excel By William Lee

Example: Boats and Manatees

A synonym is a word that has the same or almost the same definition of

Relationships Between Two Variables: Scatterplots and Correlation

Name: Date: Use the following to answer questions 2-3:

Section 1.5 Linear Models

What is the wealth of the United States? Who s got it? And how

Formula for linear models. Prediction, extrapolation, significance test against zero slope.

Graphing Linear Equations

Chapter 23. Inferences for Regression

2013 MBA Jump Start Program. Statistics Module Part 3

Homework #1 Solutions

Slope-Intercept Equation. Example

Linear Approximations ACADEMIC RESOURCE CENTER

Linear Regression. use waist

Graphical Integration Exercises Part Four: Reverse Graphical Integration

2.5 Transformations of Functions

A Picture Really Is Worth a Thousand Words

Fry Phrases Set 1. TeacherHelpForParents.com help for all areas of your child s education

Writing the Equation of a Line in Slope-Intercept Form

You buy a TV for $1000 and pay it off with $100 every week. The table below shows the amount of money you sll owe every week. Week

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

What are the place values to the left of the decimal point and their associated powers of ten?

EARS 5 Problem Set #3 Should I invest in flood insurance? Handed out Friday 1 August Due Friday 8 August

Experiment 2: Conservation of Momentum

Transforming Bivariate Data

Graphing Quadratic Functions

2. Simple Linear Regression

0 Introduction to Data Analysis Using an Excel Spreadsheet

ch12 practice test SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

Getting Correct Results from PROC REG

Probit Analysis By: Kim Vincent

The North Carolina Health Data Explorer

X X X a) perfect linear correlation b) no correlation c) positive correlation (r = 1) (r = 0) (0 < r < 1)

Diagrams and Graphs of Statistical Data

Numbers 101: Growth Rates and Interest Rates

Simple linear regression

Demand Forecasting When a product is produced for a market, the demand occurs in the future. The production planning cannot be accomplished unless

Because the slope is, a slope of 5 would mean that for every 1cm increase in diameter, the circumference would increase by 5cm.

Funding for this project provided by Washington Department of Ecology Grants G & G

If A is divided by B the result is 2/3. If B is divided by C the result is 4/7. What is the result if A is divided by C?

Title ID Number Sequence and Duration Age Level Essential Question Learning Objectives. Lead In

Section 14 Simple Linear Regression: Introduction to Least Squares Regression

Lecture 4: Streamflow and Stream Gauging

Math 132. Population Growth: the World

CHAPTER 13 SIMPLE LINEAR REGRESSION. Opening Example. Simple Regression. Linear Regression

Review of Fundamental Mathematics

Lecture 13/Chapter 10 Relationships between Measurement (Quantitative) Variables

Descriptive Statistics

Tutorial 3: Graphics and Exploratory Data Analysis in R Jason Pienaar and Tom Miller

Coordinate Plane, Slope, and Lines Long-Term Memory Review Review 1

Random Fibonacci-type Sequences in Online Gambling

Math 113 Review for Exam I

CHAPTER 2 HYDRAULICS OF SEWERS

CHAPTER 1 Linear Equations

Chapter 6: Constructing and Interpreting Graphic Displays of Behavioral Data

the Median-Medi Graphing bivariate data in a scatter plot

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

AP Statistics. Chapter 4 Review

Transcription:

AGAINST ALL ODDS EPISODE 11 FITTING LINES TO DATA TRANSCRIPT 1

FUNDER CREDITS Funding for this program is provided by Annenberg Learner. 2

INTRO Hi, I m and this is Against All Odds, where we make statistics count. Scatterplots are a great way to visualize the relationship between two variables such as ocean temperatures and coral reef growth. As temps go up, new growth goes down. Or between femur bone length and overall height as seen in this clip from Bones, Fox s show about a forensics team. Temperance Brennan A lot of jewelry. Male. Thighbone suggests he was tall. I.D. bracelet. Forensic anthropologists know from years of collecting data that there s a relationship between the length of your thighbone and your total height. Temperance Brennan that makes a difference? Seeley Booth Facts of life, Bones In this case the femur length is what influences the total height. Remember that the explanatory variable femur bone length goes on the x-axis and the response variable total height goes on the y-axis. The data points appear to fall pretty much along a straight line longer thigh bones and taller heights look like they go together in a linear relationship. Statisticians call the line that describes how the response variable changes with the explanatory variable a regression line. Any straight line can be described by the equation y = a + bx. a is the y-intercept the spot where the line hits the y-axis, where x equals 0. b is the slope of the line how much y changes when x goes up by one. x and y are the data points you re plotting in this case, the bone and height measurements. Sizing up the data points, we can just eyeball where the line should fall but there s a statistical technique to figure out how best to fit a line to the data. Once we have that line, we can use it to make predictions. That s how Brennan on Bones can estimate an unidentified crime victim s height even when she has an incomplete or damaged skeleton just using the thighbone measurement. Zack Addy 3

Approximately 6 foot 7. Right-handed. Seeley Booth Six foot 7? Temperance Brennan This man was dead for several hours before the train hit him. The Colorado Climate Center uses regression lines in a less sinister scenario to forecast the state s seasonal water supply. Farmers, city planners, businesses; it s important to all of them to know how much water is going to be available each year so they can plan accordingly. Nolan Doesken The sooner you know that, the better you can strategize for planting crops, for managing landscapes, golf courses, for knowing what water can be stored in reservoirs, for understanding what water will be available to meet the interstate compacts on the various rivers. The big question is how can we predict the water supply we re going to have as far ahead of time as possible? Most of Colorado s water comes from melting mountain snows in the spring. So climatologists have developed a model based on two types of data: the amount of winter snowpack in the high elevations and the resulting volume of water that flows out of the mountains throughout the summer. Nolan Doesken What you really like is to have many years of that in the past so that you can see how the snow water content in the mountains over time has related to the amount of water flowing down the river during the late spring and summer. So Colorado s Natural Resources Conservation Service heads into the Rockies to collect that data. Greg O Neill They ve got hundreds of sites in the Colorado mountains and they monitor those on a monthly basis. They do that by identifying sites that they return to, year after year after year. And they collect a minimum of ten depth and quantity subsections on the snowpack and then they average those to come up with the total for that particular area. 4

So that s one part of the model: the water that s stored as snow all winter long. The second set of data the climatologists need is how much water actually ends up running downstream. Greg O Neill The U.S. Geological Survey operates a network of about 300 gauging stations in Colorado. At each one of those locations we have a recording device that continuously logs the height of the river and then we come up with a continuous record of discharge at each one of these 300 sites. Let s graph these data points on a scatterplot. You can see that in the years when our explanatory variable the snowpack was high, the spring runoff our response variable was too. It looks like a pretty strong positive linear relationship. Of course in the real world, all data points don t fall on an exact, precise line. So we need a technique to figure out the regression line that minimizes the vertical distances of our data points from the line. Let s zoom in on just these three points from our Colorado water data. We want to find the best-fitting line, with the most points as close as possible to it. This vertical distance of a point from a line is called a residual. As we shift the line, some residuals get smaller while others get larger. They can t all be small at the same time, so we need to find that sweet spot where we ve gotten them as a group as small as we can. Statisticians use a method called least-squares to do that. Since some of the residuals are positive above the line and some are negative below the line we square them, which makes them all positive. If you add up the squared residuals, the bigger the sum, the more the line misses the points. So we want to make that sum as small as possible. Software can do the math for you and come up with the equation y-hat = a + bx to describe our line. We say y-hat to emphasize that we re talking about the predicted value of y, not a measured value from our data set. Now we have our regression line and can use it to make predictions! Remember, the plotted points are our actual data, and the regression line predicts the y-value for any x. Back to the Colorado water data. Statistical software gives us the equation for the regression line. The slope of 1,941 predicts that for every one inch increase in snowpack, the runoff increases 5

by 1,941 acre feet. The y-intercept is negative 7,920 which would seem to say that if the snowpack was zero, the runoff would be around negative 8 thousand acre feet. Obviously that doesn t make sense, and it s a good reminder that you can t extrapolate from the regression line too far outside the range of the observed data. Keeping that limitation in mind, though, the regression line can be very useful for Colorado water users. Nolan Doesken We have found that it really does predict the amount of stream flow that we re going to have months in advance. If you know that this winter, the Rockies saw 30 inches of snowpack, you can look at the line to predict how much water is going to flow into the system in the spring. Here s the spot on the line; and plugging in the numbers to the line s equation gives us a forecast of 50,310 acre feet of melt water. That s a number that can help water resource managers plan for the year ahead. The regression line works well to predict the Colorado water supply because the relationship between snowpack and river flow is linear. If the relationship you re trying to describe actually has a curved pattern, a straight regression line won t be a good fit to the data. For instance, check out this scatterplot showing the curved relationship between an alligator s length and weight. Trying to use a regression line in a case like this won t make the most accurate predictions. One way to assess how well a regression line fits the data is to make a residual plot. That s a scatterplot of all the residuals against the explanatory variable. It s as if you turned the regression line horizontal. If the dots in the residual plot appear randomly scattered with no strong pattern like they do in the Colorado water case both above and below the line, then the regression line has nicely captured the pattern in the data and a linear model is a good choice to describe it. But if the residual plot looks at all curved like in the case of our alligators then the data pattern is curved and the linear model is the wrong one to use. Probably best to steer clear of those alligators especially if they re hungry. You wouldn t want to become a meal that would add to their weight, no matter what the relationship to their length! For Against All Odds, I m. See you next time! 6

PRODUCTION CREDITS Host Dr. Writer/Producer/Director Maggie Villiger Associate Producer Katharine Duffy Editors Brian Truglio -- Jared Morris -- Seth Bender Director of Photography Dan Lyons Sound Mix Richard Bock Animation Jason Tierney Title Animation Jeremy Angier Web + Interactive Developer Matt Denault / Azility, Inc. Website Designer Dana Busch Production Assistant Kristopher Cain Teleprompter Sue Willard-Kiess Hair/Makeup Emily Damron Additional Footage: FOX Broadcasting Company National Parks Service Pond5/yofitofu Pond5/Abaget City & County of Denver Media Services istock/alptraum Coast Learning Systems Music DeWolfe Music Library Based on the original Annenberg/CPB series Against All Odds, Executive Producer Joe Blatt Annenberg Learner Program Officer Michele McLeod 7

Project Manager Dr. Sol Garfunkel Chief Content Advisor Dr. Marsha Davis Executive Producer Graham Chedd Copyright 2014 Annenberg Learner 8

FUNDER CREDITS Funding for this program is provided by Annenberg Learner. For information about this, and other Annenberg Learner programs, call 1-800- LEARNER, and visit us at www.learner.org. 9