Least Squares Regression Remember y = mx + b? It’s time for an upgrade… A regression line is a line that describes how a response variable y changes as.

Slides:



Advertisements
Similar presentations
Least Squares Regression
Advertisements

A student wonders if tall women tend to date taller men than do short women. She measures herself, her dormitory roommate, and the women in the adjoining.
The Practice of Statistics
Least-Squares Regression: Linear Regression
AP Statistics Section 3.2 A Regression Lines. Linear relationships between two quantitative variables are quite common. Just as we drew a density curve.
Regression, Residuals, and Coefficient of Determination Section 3.2.
Section 3.2 Least-Squares Regression
Lesson Least-Squares Regression. Knowledge Objectives Explain what is meant by a regression line. Explain what is meant by extrapolation. Explain.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 3: Describing Relationships Section 3.2 Least-Squares Regression.
A student wonders if tall women tend to date taller men than do short women. She measures herself, her dormitory roommate, and the women in the adjoining.
Least-Squares Regression: Linear Regression Section 3.2 Reference Text: The Practice of Statistics, Fourth Edition. Starnes, Yates, Moore.
STA291 Statistical Methods Lecture LINEar Association o r measures “closeness” of data to the “best” line. What line is that? And best in what terms.
Chapter 3-Examining Relationships Scatterplots and Correlation Least-squares Regression.
Objective Find the line of regression. Use the Line of Regression to Make Predictions.
LEAST-SQUARES REGRESSION 3.2 Least Squares Regression Line and Residuals.
SWBAT: Calculate and interpret the equation of the least-squares regression line Do Now: If data set A of (x, y) data has correlation r = 0.65, and a second.
AP Statistics Section 3.2 A Regression Lines. Linear relationships between two quantitative variables are quite common. Correlation measures the direction.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 3: Describing Relationships Section 3.2 Least-Squares Regression.
THE SAT ESSAY: IS LONGER BETTER?  In March of 2005, Dr. Perelmen from MIT reported, “It appeared to me that regardless of what a student wrote, the longer.
Chapters 8 Linear Regression. Correlation and Regression Correlation = linear relationship between two variables. Summarize relationship with line. Called.
A student wonders if tall women tend to date taller men than do short women. She measures herself, her dormitory roommate, and the women in the adjoining.
Describing Relationships
Unit 4 LSRL.
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
Chapter 5 LSRL.
LSRL Least Squares Regression Line
Module 12 Math 075.
Ice Cream Sales vs Temperature
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
Least-Squares Regression
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
The SAT essay: Is Longer Better?
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Least-Squares Regression
Chapter 5 LSRL.
Least-Squares Regression
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
3.2 – Least Squares Regression
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
Homework: pg. 180 #6, 7 6.) A. B. The scatterplot shows a negative, linear, fairly weak relationship. C. long-lived territorial species.
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. Find the correlation coefficient & interpret.
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Least Squares Regression Chapter 3.2
Chapter 3: Describing Relationships
9/27/ A Least-Squares Regression.
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Homework: PG. 204 #30, 31 pg. 212 #35,36 30.) a. Reading scores are predicted to increase by for each one-point increase in IQ. For x=90: 45.98;
Honors Statistics Review Chapters 7 & 8
Chapter 3: Describing Relationships
3.2: Least Squares Regressions
Presentation transcript:

Least Squares Regression Remember y = mx + b? It’s time for an upgrade… A regression line is a line that describes how a response variable y changes as an explanatory variable x changes. We use a regression line to predict the value of y for a given value of x.

Does Fidgeting Keep You Slim?

Identify x intercept & slope. Interpret each value in context.

If a person’s NEA increases by 400 calories when she overeats, substitute x = 400 in the equation. The predicted fat gain is…..?

Notes: A small slope does not mean no relationship YOU WILL LOSE CREDIT ON THE AP EXAM IF YOU DO NOT NOTE THAT THE SLOPE IS A PREDICTION!!! (or estimate or expected or average) “The fat gain will go down kg for each added calorie of NEA” is NOT a correct statement!!

Why is it called “regression?” “Regression” means to go backward. Sir Francis Galton ( ) looked at data on the heights of children vs the heights of their parents. He found that taller than average parents tended to have children who were also taller than average, but not as tall as their parents. Galton called this fact “regression toward the mean,” and the name came to be applied to the statistical method.

Extrapolation The use of a regression line for prediction far outside the interval of values of the explanatory variable x used to obtain the line. Such predictions are often not accurate.

Some data were collected on the weight of a male white laboratory rat for the first 25 weeks after its birth. A scatterplot of the weight (in grams) and time since birth (in weeks) shows a fairly strong, positive linear relationship. The linear regression equation models the data fairly well. Predicted weight= (weeks) 1. What is the slope of the regression line? Explain what it means in context. 2. What’s the y intercept? Explain what it means in context. 3. Predict the rat’s weight after 16 weeks. Show your work. 4. Should you use this line to predict the rat’s weight at age 2 years? Use the equation to make the prediction and think about the reasonableness of the result. (There are 454 grams in a pound.)

Used Hondas The following data shows the number of miles driven and advertised price for 11 used Honda CR-Vs from the model years (prices found at The scatterplot shows a strong, negative linear association between number of miles and advertised cost. The correlation is The line on the plot is the regression line for predicting advertised price based on number of miles. SHOULD WE USE THE DATA TO PREDICT THE COST OF A USED HONDA WITH 250,000 MILES?

Residuals- think AP! (actual – predicted)

If a residual is…. NEGATIVE- the line overpredicts the value POSITIVE- the line underpredicts the value 0- the line and the actual point take the same values

Residuals- find the residual for the hiker who weighted 187 lbs.

LSRL- Least Squares Regression Line The line that makes the sum of the squared residuals as small as possible