Professional Documents
Culture Documents
Slides+on+Section+3.2+ (Least Squares+Regression)
Slides+on+Section+3.2+ (Least Squares+Regression)
Slides+on+Section+3.2+ (Least Squares+Regression)
3
Describing Relationships
Section 3.2
Least-Squares Regression
Least-Squares Regression
LEARNING TARGETS
By the end of this section, you should be able to:
ü MAKE predictions using regression lines, keeping in mind the dangers
of extrapolation.
ü CALCULATE and interpret a residual.
ü INTERPRET the slope and y intercept of a regression line.
ü DETERMINE the equation of a least-squares regression line using
technology or computer output.
ü CONSTRUCT and INTERPRET residual plots to assess whether a
regression model is appropriate.
LEARNING TARGETS
By the end of this section, you should be able to:
ü INTERPRET the standard deviation of the residuals and r2 and use these
values to assess how well a least-squares regression line models the
relationship between two variables.
ü DESCRIBE how the least-squares regression line, standard deviation of
the residuals, and r2 are influenced by outliers.
ü FIND the slope and y intercept of the least-squares regression line from
the means and standard deviations of x and y and their correlation.
CAUTION:
Don’t make predictions using values of x that are much
larger or much smaller than those that actually appear in
your data.
A residual is the
difference between the
actual value of y and the
value of y predicted by
the regression line.
A residual is the
difference between the
actual value of y and the
value of y predicted by
the regression line.
Pattern in residuals
Linear model not
appropriate
s=
∑ residuals 2
=
∑ i
(y − ˆ
y ) 2
n −2 n −2
r2 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.
Interpret s.
Interpret s.
The actual price of a Ford F-150 is typically about $5740 away from the
price predicted by the least-squares regression line with x = miles driven.
Interpret s.
The actual price of a Ford F-150 is typically about $5740 away from the
price predicted by the least-squares regression line with x = miles driven.
Interpret r2.
Interpret s.
The actual price of a Ford F-150 is typically about $5740 away from the
price predicted by the least-squares regression line with x = miles driven.
Interpret r2.
About 66% of the variability in the price of a Ford F-150 is accounted for
by the least-squares regression line with x = miles driven.
r = 0.816 r = 0.816
r = 0.816 r = 0.816
CAUTION:
A strong association between two variables is
not enough to draw conclusions about cause
and effect.
LEARNING TARGETS
After this section, you should be able to:
ü MAKE predictions using regression lines, keeping in mind the dangers
of extrapolation.
ü CALCULATE and interpret a residual.
ü INTERPRET the slope and y intercept of a regression line.
ü DETERMINE the equation of a least-squares regression line using
technology or computer output.
ü CONSTRUCT and INTERPRET residual plots to assess whether a
regression model is appropriate.
LEARNING TARGETS
After this section, you should be able to:
ü INTERPRET the standard deviation of the residuals and r2 and use these
values to assess how well a least-squares regression line models the
relationship between two variables.
ü DESCRIBE how the least-squares regression line, standard deviation of
the residuals, and r2 are influenced by outliers.
ü FIND the slope and y intercept of the least-squares regression line from
the means and standard deviations of x and y and their correlation.