LEAST-SQUARES REGRESSION 3.2 Role of s and r 2 in Regression.

Slides:



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

The Role of r2 in Regression Target Goal: I can use r2 to explain the variation of y that is explained by the LSRL. D4: 3.2b Hw: pg 191 – 43, 46, 48,
 Coefficient of Determination Section 4.3 Alan Craig
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Regression, Residuals, and Coefficient of Determination Section 3.2.
C HAPTER 3: E XAMINING R ELATIONSHIPS. S ECTION 3.3: L EAST -S QUARES R EGRESSION Correlation measures the strength and direction of the linear relationship.
Describing Bivariate Relationships Chapter 3 Summary YMS3e AP Stats at LSHS Mr. Molesky Chapter 3 Summary YMS3e AP Stats at LSHS Mr. Molesky.
Ch 3 – Examining Relationships YMS – 3.1
Least-Squares Regression Section 3.3. Why Create a Model? There are two reasons to create a mathematical model for a set of bivariate data. To predict.
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
AP STATISTICS LESSON 3 – 3 LEAST – SQUARES REGRESSION.
Chapter 3 Section 3.1 Examining Relationships. Continue to ask the preliminary questions familiar from Chapter 1 and 2 What individuals do the data describe?
3.3 Least-Squares Regression.  Calculate the least squares regression line  Predict data using your LSRL  Determine and interpret the coefficient of.
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
3.2 Least Squares Regression Line. Regression Line Describes how a response variable changes as an explanatory variable changes Formula sheet: Calculator.
3.2 - Least- Squares Regression. Where else have we seen “residuals?” Sx = data point - mean (observed - predicted) z-scores = observed - expected * note.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 3 Describing Relationships 3.2 Least-Squares.
Transformations.  Although linear regression might produce a ‘good’ fit (high r value) to a set of data, the data set may still be non-linear. To remove.
Chapter 9: Correlation and Regression Analysis. Correlation Correlation is a numerical way to measure the strength and direction of a linear association.
Chapter 3-Examining Relationships Scatterplots and Correlation 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,
3.2 Least-Squares Regression Objectives SWBAT: INTERPRET the slope and y intercept of a least-squares regression line. USE the least-squares regression.
 Chapter 3! 1. UNIT 7 VOCABULARY – CHAPTERS 3 & 14 2.
Residuals Recall that the vertical distances from the points to the least-squares regression line are as small as possible.  Because those vertical distances.
LEAST-SQUARES REGRESSION 3.2 Least Squares Regression Line and Residuals.
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)
CHAPTER 3 Describing Relationships
Bellwork (Why do we want scattered residual plots?): 10/2/15 I feel like I didn’t explain this well, so this is residual plots redux! Copy down these two.
The coefficient of determination, r 2, is The fraction of the variation in the value of y that is explained by the regression line and the explanatory.
3.2 - Residuals and Least Squares Regression Line.
AP STATISTICS LESSON 3 – 3 (DAY 2) The role of r 2 in regression.
Describing Bivariate Relationships. Bivariate Relationships When exploring/describing a bivariate (x,y) relationship: Determine the Explanatory and Response.
CHAPTER 3 Describing Relationships
Unit 4 LSRL.
LSRL.
Least Squares Regression Line.
Aim – How can we analyze the results of a linear regression?
3.2 Least-Squares Regression
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Chapter 5 LSRL.
Chapter 3.2 LSRL.
Describing Bivariate Relationships
Least Squares Regression Line LSRL Chapter 7-continued
residual = observed y – predicted y residual = y - ŷ
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
Least-Squares Regression
CHAPTER 3 Describing Relationships
GET OUT p.161 HW!.
Chapter 3 Describing Relationships Section 3.2
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
Least-Squares Regression
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
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.
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;
CHAPTER 3 Describing Relationships
Presentation transcript:

LEAST-SQUARES REGRESSION 3.2 Role of s and r 2 in Regression

REVIEW FROM LAST WEEK Plot Scatterplot Find Correlation and LSRL Graph LSRL Look at Residual Plot to determine if LSRL is a good fit

Standard Deviation of the Residuals “typical” prediction error when using the least-squares regression line. If we use a least-squares regression line to predict the values of a response variable y from an explanatory variable x, the standard deviation of the residuals (s) is given by This value gives the approximate size of a “typical” prediction error (residual). If we use a least-squares regression line to predict the values of a response variable y from an explanatory variable x, the standard deviation of the residuals (s) is given by This value gives the approximate size of a “typical” prediction error (residual).

Example From the Truck example: Interpretation: When we use the LSRL to predict the price of a Ford F-150 using the number of miles it has been driven, our predictions will typically be off by about $5740.

The Coefficient of Determination tells us how well the least-squares regression line predicts values of the response y. The coefficient of determination r 2 is the fraction of the variation in the values of y that is accounted for by the least-squares regression line of y on x. We can calculate r 2 using the following formula: r 2 tells us how much better the LSRL does at predicting values of y than simply guessing the mean y for each value in the dataset.

Example (Truck example) The equation of the least-squares regression line is and the coefficient of determination is r 2 = Interpretation: About 81.5% of the variation in price is accounted for by the linear model relating price to mileage.

Example, p. 180

Example: p. 180 (a) Calculate and interpret the residual for South Carolina, which scored 30.1 points per game and had 11 wins. The predicted amount of wins for South Carolina is The residual for South Carolina is South Carolina won 1.60 more games than expected, based on the number of points they scored per game.

Example: p. 180 (b) Is a linear model appropriate for these data? Explain. (c) Interpret the value s = (d) Interpret the value r 2 = No obvious pattern in the residual plot, so the linear model is appropriate. When using the least-squares regression line with x = points per game to predict y = the number of wins, we will typically be off by about 1.24 wins. About 88% of the variation in wins is accounted for by the linear model relating wins to points per game.

HW: Due on Block Day p. 195 # 55, 75, 78