Lesson 4 - 3 Diagnostics on the Least- Squares Regression Line.

Slides:



Advertisements
Similar presentations
Chapter 12 Inference for Linear Regression
Advertisements

Residuals.
Section 10-3 Regression.
Linear Regression (C7-9 BVD). * Explanatory variable goes on x-axis * Response variable goes on y-axis * Don’t forget labels and scale * Statplot 1 st.
Chapter 8 Linear regression
Chapter 8 Linear regression
LSRLs: Interpreting r vs. r2
Chapter 4 Describing the Relation Between Two Variables 4.3 Diagnostics on the Least-squares Regression Line.
Chapter 4 The Relation between Two Variables
Chapter 3 Bivariate Data
Scatter Diagrams and Linear Correlation
AP Statistics Mrs Johnson
CHAPTER 3 Describing Relationships
Haroon Alam, Mitchell Sanders, Chuck McAllister- Ashley, and Arjun Patel.
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.
Lesson Nonlinear Regression: Transformations.
5-7 Scatter Plots. _______________ plots are graphs that relate two different sets of data by displaying them as ordered pairs. Usually scatter plots.
Warm-up with 3.3 Notes on Correlation
1 Chapter 3: Examining Relationships 3.1Scatterplots 3.2Correlation 3.3Least-Squares Regression.
1.Max is a computer salesman. For each day that he works, he receives $50 plus a fixed commission amount per computer. Max is currently earning $122 for.
Lesson Least-Squares Regression. Knowledge Objectives Explain what is meant by a regression line. Explain what is meant by extrapolation. Explain.
Section 4.2 Least Squares Regression. Finding Linear Equation that Relates x and y values together Based on Two Points (Algebra) 1.Pick two data points.
AP Statistics Chapter 8 & 9 Day 3
Warm-up with 3.3 Notes on Correlation Universities use SAT scores in the admissions process because they believe these scores provide some insight into.
Section 2.2 Correlation A numerical measure to supplement the graph. Will give us an indication of “how closely” the data points fit a particular line.
Lesson Scatterplots and Correlation. Knowledge Objectives Explain the difference between an explanatory variable and a response variable Explain.
Section 4.1 Scatter Diagrams and Correlation. Definitions The Response Variable is the variable whose value can be explained by the value of the explanatory.
Variation and Prediction Intervals
Lesson Inference for Regression. Knowledge Objectives Identify the conditions necessary to do inference for regression. Explain what is meant by.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 3 Describing Relationships 3.2 Least-Squares.
WARM-UP Do the work on the slip of paper (handout)
CHAPTER 5 Regression BPS - 5TH ED.CHAPTER 5 1. PREDICTION VIA REGRESSION LINE NUMBER OF NEW BIRDS AND PERCENT RETURNING BPS - 5TH ED.CHAPTER 5 2.
S CATTERPLOTS Correlation, Least-Squares Regression, Residuals Get That Program ANSCOMBE CRICKETS GESSEL.
Lesson Scatter Diagrams and Correlation. Objectives Draw and interpret scatter diagrams Understand the properties of the linear correlation coefficient.
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.
AP Statistics HW: p. 165 #42, 44, 45 Obj: to understand the meaning of r 2 and to use residual plots Do Now: On your calculator select: 2 ND ; 0; DIAGNOSTIC.
Linear Regression Day 1 – (pg )
^ y = a + bx Stats Chapter 5 - Least Squares Regression
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)
E XAMINING R ELATIONSHIPS Residuals and Residual Plots.
Is their a correlation between GPA and number of hours worked? By: Excellent Student #1 Excellent Student #2 Excellent Student #3.
Lesson 14 - R Chapter 14 Review. Objectives Summarize the chapter Define the vocabulary used Complete all objectives Successfully answer any of the review.
LSRLs: Interpreting r vs. r 2 r – “the correlation coefficient” tells you the strength and direction between two variables (x and y, for example, height.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Describing the Relation between Two Variables 4.
Chapter 8 Linear Regression. Fat Versus Protein: An Example 30 items on the Burger King menu:
1.5 Linear Models Warm-up Page 41 #53 How are linear models created to represent real-world situations?
Section 1.3 Scatter Plots and Correlation.  Graph a scatter plot and identify the data correlation.  Use a graphing calculator to find the correlation.
Lesson Testing the Significance of the Least Squares Regression Model.
Over Lesson 4–5 5-Minute Check 1 A.positive B.negative C.no correlation The table shows the average weight for given heights. Does the data have a positive.
Describing Relationships. Least-Squares Regression  A method for finding a line that summarizes the relationship between two variables Only in a specific.
Page 1 Introduction to Correlation and Regression ECONOMICS OF ICMAP, ICAP, MA-ECONOMICS, B.COM. FINANCIAL ACCOUNTING OF ICMAP STAGE 1,3,4 ICAP MODULE.
Two-Variable Data Analysis
1. Analyzing patterns in scatterplots 2. Correlation and linearity 3. Least-squares regression line 4. Residual plots, outliers, and influential points.
Inference for Least Squares Lines
CHAPTER 3 Describing Relationships
Statistics 101 Chapter 3 Section 3.
CHAPTER 3 Describing Relationships
Residuals, Residual Plots, and Influential points
AP Stats: 3.3 Least-Squares Regression Line
Scatterplots and Correlation
Least-Squares Regression
^ y = a + bx Stats Chapter 5 - Least Squares Regression
3 4 Chapter Describing the Relation between Two Variables
Least Squares Regression
Review of Chapter 3 Examining Relationships
Warm-up: Pg 197 #79-80 Get ready for homework questions
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.
Section 11.1 Correlation.
Review of Chapter 3 Examining Relationships
Presentation transcript:

Lesson Diagnostics on the Least- Squares Regression Line

Objectives Compute and interpret the coefficient of determination Perform residual analysis on a regression model Identify influential observations

Vocabulary Coefficient of determination, R 2 – measures the percentage of total variation in the response variable explained by the least-squares regression line. Deviations – differences between predicted value and actual value Total Deviation – deviation between observed value, y, and mean of y, y-bar Explained Deviation – deviation between predicted value, y-hat, and mean of y, y-bar Unexplained Deviation – deviation between observed value, y, and predicted value, y-hat Influential Observation – observation that significantly affects the value of the slope

Is the Linear Model Appropriate? Patterned Residuals –If a plot of the residuals against the explanatory variable shows a discernible pattern, such as a curve, then the response and explanatory variable may not be linearly related Variance of the Residuals Constant –If a plot of the residuals against the explanatory variable shows the spread of the residuals increasing or decreasing as the explanatory variable increases, then a strict requirement of the linear model is violated. This requirement is called constant error variance. Influential Observations –Influential observations typically exist when the point is an outlier relative to its X-value Outliers and Influential Observations –Remove only if there is justification to do so

Deviations and Predictions ●The relationship is Total Deviation = Explained + Unexplained ●The larger the explained deviation, the better the model is at prediction / explanation ●The larger the unexplained deviation, the worse the model is at prediction / explanation

Identifying Outliers  From a scatter diagram  From a residual plot  From a boxplot

TI-83 Instructions for Residuals Plot With diagnostics turned on and explanatory variable in L1 and response variable in L2 Press STAT, highlight CALC and select 4: LinReg (ax + b) and hit enter twice 2 nd Y= (STAT PLOT) –Select Plot 1 –Choose scatter diagram icon XList is L1 Ylist is RESID by putting cursor on List 2, pressing 2 nd Stat and choosing the list (scroll down) entitled RESID –Press Zoom and select 9: ZoomStat

TI-83 Instructions for Boxplots With explanatory variable in L1 Press 2 nd Y= (STAT PLOT) –Select Plot 1 –Choose modified boxplot icon XList is L1 –Press Zoom and select 9: ZoomStat

Summary and Homework Summary: –Diagnostics are very important in assessing the quality of a least-squares regression model The coefficient of determination measures the percent of total variation explained by the model The plot of residuals can detect nonlinear patterns, error variances that are not constant, and outliers We must be careful when there are influential observations because they have an unusually large effect on the computation of our model parameters Homework: pg 235 – 239; 2, 5, 9, 11-15, 29

Homework Answers no pattern patterned residuals (parabolic)