3.2 - Least- Squares Regression. Where else have we seen “residuals?” Sx = data point - mean (observed - predicted) z-scores = observed - expected * note.

Slides:



Advertisements
Similar presentations
Chapter 3 Examining Relationships Lindsey Van Cleave AP Statistics September 24, 2006.
Advertisements

Scatter Diagrams and Linear Correlation
CHAPTER 3 Describing Relationships
Regression, Residuals, and Coefficient of Determination Section 3.2.
Describing Bivariate Relationships Chapter 3 Summary YMS3e AP Stats at LSHS Mr. Molesky Chapter 3 Summary YMS3e AP Stats at LSHS Mr. Molesky.
Relationship of two variables
2.4: Cautions about Regression and Correlation. Cautions: Regression & Correlation Correlation measures only linear association. Extrapolation often produces.
AP STATISTICS LESSON 3 – 3 LEAST – SQUARES REGRESSION.
3.2 Least Squares Regression Line. Regression Line Describes how a response variable changes as an explanatory variable changes Formula sheet: Calculator.
Chapter 14 Inference for Regression AP Statistics 14.1 – Inference about the Model 14.2 – Predictions and Conditions.
Regression Regression relationship = trend + scatter
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. DosageHeart rate
Examining Bivariate Data Unit 3 – Statistics. Some Vocabulary Response aka Dependent Variable –Measures an outcome of a study Explanatory aka Independent.
AP STATISTICS Section 3.2 Least Squares Regression.
SWBAT: Calculate and interpret the residual plot for a line of regression Do Now: Do heavier cars really use more gasoline? In the following data set,
 Chapter 3! 1. UNIT 7 VOCABULARY – CHAPTERS 3 & 14 2.
Warm-up O Turn in HW – Ch 8 Worksheet O Complete the warm-up that you picked up by the door. (you have 10 minutes)
LEAST-SQUARES REGRESSION 3.2 Role of s and r 2 in Regression.
3.2 - Residuals and Least Squares Regression Line.
Week 2 Normal Distributions, Scatter Plots, Regression and Random.
Describing Bivariate Relationships. Bivariate Relationships When exploring/describing a bivariate (x,y) relationship: Determine the Explanatory and Response.
Chapter 3 LSRL. Bivariate data x – variable: is the independent or explanatory variable y- variable: is the dependent or response variable Use x to predict.
Chapter 5 LSRL. Bivariate data x – variable: is the independent or explanatory variable y- variable: is the dependent or response variable Use x to predict.
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Unit 4 LSRL.
LSRL.
Least Squares Regression Line.
LEAST – SQUARES REGRESSION
Statistics 101 Chapter 3 Section 3.
Linear Regression Special Topics.
CHAPTER 3 Describing Relationships
Section 3.2: Least Squares Regression
Chapter 5 LSRL.
LSRL Least Squares Regression Line
Chapter 3.2 LSRL.
Day 13 Agenda: DG minutes.
Describing Bivariate Relationships
Least-Squares Regression
No notecard for this quiz!!
Least Squares Regression Line LSRL Chapter 7-continued
residual = observed y – predicted y residual = y - ŷ
CHAPTER 3 Describing Relationships
Least-Squares Regression
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
GET OUT p.161 HW!.
Unit 4 Vocabulary.
Warm-up: This table shows a person’s reported income and years of education for 10 participants. The correlation is .79. State the meaning of this correlation.
Chapter 5 LSRL.
Chapter 5 LSRL.
Chapter 5 LSRL.
Least-Squares Regression
CHAPTER 12 More About Regression
Scatter Plots and Least-Squares Lines
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
Chapter 14 Inference for Regression
CHAPTER 3 Describing Relationships
Ch 4.1 & 4.2 Two dimensions concept
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Section 3.2: Least Squares Regressions
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 Vocabulary Linear Regression.
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;
Review of Chapter 3 Examining Relationships
MATH 2311 Section 5.3.
CHAPTER 3 Describing Relationships
Presentation transcript:

3.2 - Least- Squares Regression

Where else have we seen “residuals?” Sx = data point - mean (observed - predicted) z-scores = observed - expected * note : this is just the numerator of these calculations Remember:AP

Below is the LSRL for sprint time (seconds) and the long jump distance (inches) Find and interpret the residual for John who had a time of 8.09 seconds and a jump of 151 inches. predicted long jump distance = (sprint time) residual = observed - predicted 151 residual = inches John jumped much farther than what was predicted by our least squares regression line. He jumped almost 70 inches farther, based on his sprint time

So why least squared regression line? bcs.whfreeman.com/tps4e /#628644__666392__

Residual Plots a scatterplot of the residuals against the explanatory variable. Use to help assess the strength of your regression line

Residual Plots with Normal Probability Plots we want the graphs to be linear to support the Normality of our data. with Residual Plots we want the residuals to be very scattered so our data is can be model with a linear regression. Remember: Correlation does NOT assess linearity, just strength and direction!

What’s a Good Residual Plot? No obvious pattern - the LSRL would be in the middle of the data, some data above and some below Relatively small residuals - the data points are close to the LSRL

Do the following residual plots support or refute a linear model?

ssk2xqLJNuePfgeyx44Hy

How to Graph? Take each data point and determine the residual Plot the residuals versus the explanatory variable i.e. (explanatory data, residual) explanatory variable residual use the same numbers as your scatterplot

Calculator Construction If you have a lot of data, follow the instructions on page 178 to construct your residual plot (you will also have to have done the technology corner on p. 170)

What is Standard Deviation? the average squared distance a data point is from the mean Is there a s x ? Is there a s y ? So why not s? (standard deviation of residuals)

Standard Deviation of Residuals gives the approximate size of an “average” or “typical” prediction error from our LSRL formula on page 177 Why divide by n-2?