Residuals. Why Do You Need to Look at the Residual Plot? Because a linear regression model is not always appropriate for the data Can I just look at the.

Slides:



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

Scatterplots and Correlation
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.
Regression BPS chapter 5 © 2006 W.H. Freeman and Company.
AP Statistics Chapter 3 Practice Problems
From the Carnegie Foundation math.mtsac.edu/statway/lesson_3.3.1_version1.5A.
1. What is the probability that a randomly selected person is a woman who likes P.E.? 2. Given that you select a man, what is the probability that he likes.
Class 5: Thurs., Sep. 23 Example of using regression to make predictions and understand the likely errors in the predictions: salaries of teachers and.
Basic Statistical Concepts Part II Psych 231: Research Methods in Psychology.
Regression, Residuals, and Coefficient of Determination Section 3.2.
Relationship of two variables
Residuals and Residual Plots Most likely a linear regression will not fit the data perfectly. The residual (e) for each data point is the ________________________.
VCE Further Maths Least Square Regression using the calculator.
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
 Graph of a set of data points  Used to evaluate the correlation between two variables.
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
 The equation used to calculate Cab Fare is y = 0.75x where y is the cost and x is the number of miles traveled. 1. What is the slope in this equation?
Scatterplot and trendline. Scatterplot Scatterplot explores the relationship between two quantitative variables. Example:
Regression Regression relationship = trend + scatter
Objective: Understanding and using linear regression Answer the following questions: (c) If one house is larger in size than another, do you think it affects.
Regression BPS chapter 5 © 2010 W.H. Freeman and Company.
WARM-UP Do the work on the slip of paper (handout)
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.
Creating a Residual Plot and Investigating the Correlation Coefficient.
Warm-Up Write the equation of each line. A B (1,2) and (-3, 7)
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.
A P STATISTICS LESSON 3 – 3 (DAY 3) A P STATISTICS LESSON 3 – 3 (DAY 3) RISIDUALS.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 3 Association: Contingency, Correlation, and Regression Section 3.3 Predicting the Outcome.
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.
Residuals.
Residual Plots Unit #8 - Statistics.
Chapter 8 Linear Regression. Fat Versus Protein: An Example 30 items on the Burger King menu:
Simple Linear Regression The Coefficients of Correlation and Determination Two Quantitative Variables x variable – independent variable or explanatory.
REGRESSION MODELS OF BEST FIT Assess the fit of a function model for bivariate (2 variables) data by plotting and analyzing residuals.
GOAL: I CAN USE TECHNOLOGY TO COMPUTE AND INTERPRET THE CORRELATION COEFFICIENT OF A LINEAR FIT. (S-ID.8) Data Analysis Correlation Coefficient.
MATH 2311 Section 5.4. Residuals Examples: Interpreting the Plots of Residuals The plot of the residual values against the x values can tell us a lot.
Introduction Many problems in Engineering, Management, Health Sciences and other Sciences involve exploring the relationships between two or more variables.
Week 2 Normal Distributions, Scatter Plots, Regression and Random.
Unit 4 LSRL.
LSRL.
Least Squares Regression Line.
distance prediction observed y value predicted value zero
SCATTERPLOTS, ASSOCIATION AND RELATIONSHIPS
Residuals.
Chapter 5 LSRL.
Chapter 3.2 LSRL.
Residuals From the Carnegie Foundation math.mtsac.edu/statway/lesson_3.3.1_version1.5A.
Suppose the maximum number of hours of study among students in your sample is 6. If you used the equation to predict the test score of a student who studied.
Warm-Up . Math Social Studies P.E. Women Men 2 10
Regression and Residual Plots
1) A residual: a) is the amount of variation explained by the LSRL of y on x b) is how much an observed y-value differs from a predicted y-value c) predicts.
Residuals From the Carnegie Foundation math.mtsac.edu/statway/lesson_3.3.1_version1.5A.
Residuals Learning Target:
Describing Bivariate Relationships
Least Squares Regression Line LSRL Chapter 7-continued
GET OUT p.161 HW!.
Warm-Up 8/50 = /20 = /50 = .36 Math Social Studies P.E.
Residuals and Residual Plots
Review Homework.
Chapter 5 LSRL.
Chapter 5 LSRL.
Review Homework.
Residuals From the Carnegie Foundation math.mtsac.edu/statway/lesson_3.3.1_version1.5A.
3.2 – Least Squares Regression
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.
Chapters Important Concepts and Terms
Ch 9.
Warm-Up . Math Social Studies P.E. Women Men 2 10
Residuals From the Carnegie Foundation math.mtsac.edu/statway/lesson_3.3.1_version1.5A.
Presentation transcript:

Residuals

Why Do You Need to Look at the Residual Plot? Because a linear regression model is not always appropriate for the data Can I just look at the scatterplot? – A plot may look linear in one scale, but not in another – You may not have enough data to see the actual pattern (if any) My r value is close to -1 or 1 – The r value may indicate a strong correlation, but r values are only good if we know the data is linear enough Great, so now what? – Evaluate the appropriateness of the model by defining residuals and examining residual plots

What is a Residual? Formula: Residual = Observed value - Predicted value Tells us how far off our prediction is Tells us if our prediction was too high or too low Both the sum and the mean of the residuals are equal to zero

What Does the Residual Plot Tell Us? Random pattern of residuals supports a linear model Non-random pattern supports a non-linear model

In the context of regression analysis, which of the following statements are true?regression analysis I.When the sum of the residuals is greater than zero, the data set is nonlinear. II.A random pattern of residuals supports a linear model. III.A random pattern of residuals supports a non- linear model. Solution The correct answer is II only.

Directions for TI-83/84 Residuals If we know the data is linear enough, the r value tells us the direction and strength. The r value does not tell us the data is linear