Lecture 5 - regression line to make predictions for values...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
Least-Squares Regression The goal of least squares regression is to find an equation that best describes the relation between 2 variables that have a linear relationship as indicated by a scatterplot or linear correlation coefficient. The difference between the observed value of y and the predicted value of y (denoted ˆ y ) from the regression equation is the error or residual . residual = observed – predicted residual = y - ˆ y The line that “best” describes the relation between 2 variables is the one
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
that makes the residuals as small as possible. Has the least error.
Background image of page 2
Equation of the Least-Squares Regression Line The equation is given by ˆ y = bx+a Where b is the called the slope and a is called the intercept b = SSxy SSxx a = y - b x
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Note: Never use the least-squares
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 8
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: regression line to make predictions for values of the predictor variable that are much larger or much smaller than those observed. If you do so, you are making predictions outside the scope of the model. Dont use values extremely different than those used to find the line. Example: We type of linear relationship do you think this data has? Negative correlation X 2 3 5 6 6 y 6 5 5 3 2 2 x y 6 5 4 3 2 1 6 5 4 3 2 Scatterplot of y vs x Find the least-squares regression line. X Y X 2 Y 2 XY 6 36 2 5 4 25 10 3 5 9 25 15 5 3 25 9 15 6 2 36 4 12 6 2 36 4 12 x y x 2 y 2 xy Scatterplot w/ regression line. x y 6 5 4 3 2 1 7 6 5 4 3 2 Scatterplot of y vs x...
View Full Document

This note was uploaded on 02/15/2009 for the course STAT 2004 taught by Professor Melutz during the Fall '07 term at Virginia Tech.

Page1 / 8

Lecture 5 - regression line to make predictions for values...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online