Residuals and Residual Plots Section 3.3.3. Starter 3.3.3 A study showed that the correlation between GPA and hours of study per week was r =.6 –Which.

Slides:



Advertisements
Similar presentations
1.5 Scatter Plots and Least Squares Lines
Advertisements

Warm Up… Solve each equation for y.
AP Statistics Section 3.2 B Residuals
Residuals.
Scatterplots and Correlation
Least Squares 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.
Lesson Diagnostics on the Least- Squares Regression Line.
Chapter 3 Bivariate Data
2nd Day: Bear Example Length (in) Weight (lb)
The Coefficient of Determination: r 2 Section
Scatter Diagrams and Linear Correlation
AP Statistics Mrs Johnson
Least-Squares Regression: Linear Regression
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.
Residuals and Residual Plots Most likely a linear regression will not fit the data perfectly. The residual (e) for each data point is the ________________________.
Warm-up with 3.3 Notes on Correlation
Bivariate Data Pick up a formula sheet, Notes for Bivariate Data – Day 1, and a calculator.
Correlation Correlation measures the strength of the LINEAR relationship between 2 quantitative variables. Labeled as r Takes on the values -1 < r < 1.
Lesson Least-Squares Regression. Knowledge Objectives Explain what is meant by a regression line. Explain what is meant by extrapolation. Explain.
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
AP STATISTICS LESSON 3 – 3 LEAST – SQUARES REGRESSION.
GENERATING Scatterplots and Correlations USING Ti84.
Correlation & Regression – Non Linear Emphasis Section 3.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.
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.
Inference for Regression Section Starter The Goodwill second-hand stores did a survey of their customers in Walnut Creek and Oakland. Among.
Exponential Regression Section Starter The city of Concord was a small town of 10,000 people in Returning war veterans and the G.I.
Verbal SAT vs Math SAT V: mean=596.3 st.dev=99.5 M: mean=612.2 st.dev=96.1 r = Write the equation of the LSRL Interpret the slope of this line Interpret.
Describing Bivariate Relationships Chapter 3 Summary YMS AP Stats Chapter 3 Summary YMS AP Stats.
Examining Bivariate Data Unit 3 – Statistics. Some Vocabulary Response aka Dependent Variable –Measures an outcome of a study Explanatory aka Independent.
Correlation The apparent relation between two variables.
Chapter 3-Examining Relationships Scatterplots and Correlation Least-squares Regression.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 3: Describing Relationships Section 3.2 Least-Squares Regression.
 Chapter 3! 1. UNIT 7 VOCABULARY – CHAPTERS 3 & 14 2.
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 )
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.
^ 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)
LEAST-SQUARES REGRESSION 3.2 Role of s and r 2 in Regression.
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.
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?
Chapters 8 Linear Regression. Correlation and Regression Correlation = linear relationship between two variables. Summarize relationship with line. Called.
Chapter 3: Describing Relationships
Unit 3 – Association: Contingency, Correlation, and Regression Lesson 3-3 Linear Regression, Residuals, and Variation.
Describing Relationships. Least-Squares Regression  A method for finding a line that summarizes the relationship between two variables Only in a specific.
1. Analyzing patterns in scatterplots 2. Correlation and linearity 3. Least-squares regression line 4. Residual plots, outliers, and influential points.
Warm-up Get a sheet of computer paper/construction paper from the front of the room, and create your very own paper airplane. Try to create planes with.
CHAPTER 3 Describing Relationships
Bring project data to enter into Fathom
Chapter 4.2 Notes LSRL.
Sections Review.
distance prediction observed y value predicted value zero
Regression and Residual Plots
Day 13 Agenda: DG minutes.
Residuals, Residual Plots, and Influential points
AP Stats: 3.3 Least-Squares Regression Line
^ y = a + bx Stats Chapter 5 - Least Squares Regression
Do Now Create a scatterplot following these directions
Least Squares Regression
How good of guesser ARE YOU?????
Least-Squares Regression
Section 3.2: Least Squares Regressions
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.
Draw Scatter Plots and Best-Fitting Lines
Presentation transcript:

Residuals and Residual Plots Section 3.3.3

Starter A study showed that the correlation between GPA and hours of study per week was r =.6 –Which variable would be explanatory? Why? Based on this correlation constant, would you be confident in predicting GPA if you knew how many hours per week a certain student studied? Some of the variability in GPA can be explained by the linear association, and some comes from random effects. How much is due to the association?

Objectives Calculate the value of a residual at a point on a LSRL Create a residual plot on the calculator and draw a conclusion about the goodness of fit of the LSRL

Archaeopteryx Again Look once again at the FEMUR vs HUMER lists –We already found the equation of the LSRL and graphed it HUMER = FEMUR – –Draw the graph with scatterplot on your calculator again Based on the LSRL, predict the humerus length for a femur 50 cm long –50 x – = 56.2 cm –You could also enter Y 1 (50) to get 56.2 Now predict humerus for femur = 59 –Y 1 (59) = 67.0 –But there is an actual data point where femur=59: (59, 70) The difference between the actual value minus the predicted value is called the residual –The formula is:residual = actual – predicted –Symbolically we write:

Creating a Residual Plot Paste FEMUR and HUMER into L 1 & L 2 Define L 3 with the formula L 2 – Y 1 (L 1 ) –Notice that this is just y – y-hat, so L 3 now contains all the residuals of these data –This assumes Y 1 is the LSRL equation Set up Stat Plot 3 as a scatterplot of L 1 and L 3 Turn off Plot 1 (the data) and Y 1 (the LSRL), turn on Plot 3 and tap Zoom-9 to see Plot 3 –You are seeing a scatterplot of the residuals vs the explanatory variable –This is called a residual plot

What Does it Mean? If the data were perfectly linear, the residuals would all be zero. –Then the residual plot would be points exactly on the x axis If the data miss the LSRL due to random variation, we expect the residuals to be randomly distributed. –Some will be positive, some negative –There should be no apparent pattern If the data miss the LSRL due to some curve in the data, the residuals will show a pattern. –Where the LSRL goes through the data, residuals will be small –Elsewhere the residuals will be large –The result is a residual plot that shows a curved pattern Conclusion: If the residual plot looks like a patternless “cloud of points” then the LSRL is a good model of the data

A Calculator Trick In your STAT : EDIT screen, scroll right so you can see L 3 and L 4 Paste a list called RESID into L 4 –It’s in your calculator already! Note that RESID is identical to L 3 Every time you run LinReg, the calculator computes all the residuals and places them in RESID Edit Stat Plot 3 so that the Ylist is based on RESID instead of L 3 –Now leave it that way! –After every LinReg, Plot 3 will always show you the residual plot.

The Sanchez Residual Plot Paste the Sanchez gas data GASDA & GASFT into L 1 & L 2 Run LinReg L 1, L 2, Y 1 Turn off Plot 3 and turn on Plot 1 –Tap Zoom-9 to see the graph Turn off Plot 1 and Y 1 and turn on Plot 3 –Tap Zoom-9 to see the residual plot Sketch the residual plot in your notes Write a sentence that describes what the residual plot tells you about how well the LSRL fits the data.

Fathom Demo Look at Sanchez data in Fathom Add moveable line, show squares, show residuals Adjust slope and intercept of moveable line and observe effect on residual plot

Objectives Calculate the value of a residual at a point on a LSRL Create a residual plot on the calculator and draw a conclusion about the goodness of fit of the LSRL

Homework Read pages 151 – 159 Do problems 39, 40, 41