Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Chapter 8
Linear Regression
Slide 8 - 3
Slide 8 - 4
Slide 8 - 5
Residuals
Slide 8 - 6
Residuals (cont.)
Slide 8 - 7
Residuals (cont.)
Slide 8 - 8
Slide 8 - 9
protein.
If a burger has average
protein content, it should
have about average fat
content too.
Moving one standard
deviation away from the
mean in x moves us r
standard deviations away
from the mean in y.
Copyright 2010 Pearson Education, Inc.
Slide 8 - 10
Slide 8 - 11
Slide 8 - 12
y b0 b1 x
Slide 8 - 13
Slide 8 - 14
b1 r
sy
sx
Slide 8 - 15
b0 y b1 x
Slide 8 - 16
Slide 8 - 17
Slide 8 - 18
Residuals Revisited
The linear model assumes that the relationship
between the two variables is a perfect straight
line. The residuals are the part of the data that
hasnt been modeled.
Data = Model + Residual
or (equivalently)
Residual = Data Model
Or, in symbols,
e y y
Copyright 2010 Pearson Education, Inc.
Slide 8 - 19
Slide 8 - 20
Slide 8 - 21
se
Copyright 2010 Pearson Education, Inc.
n2
Slide 8 - 22
Slide 8 - 23
Slide 8 - 24
Slide 8 - 25
Slide 8 - 26
Slide 8 - 27
Slide 8 - 28
Slide 8 - 29
Slide 8 - 30
Slide 8 - 31
Slide 8 - 32
Slide 8 - 33
Slide 8 - 34
Reporting R2
Slide 8 - 35
Slide 8 - 36
Slide 8 - 37
Slide 8 - 38
Outlier Condition:
Watch out for outliers.
Outlying points can dramatically change a
regression model.
Outliers can even change the sign of the slope,
misleading us about the underlying relationship
between the variables.
If the data seem to clump or cluster in the
scatterplot, that could be a sign of trouble worth
looking into further.
Copyright 2010 Pearson Education, Inc.
Slide 8 - 39
Reality Check:
Is the Regression Reasonable?
Slide 8 - 40
Slide 8 - 41
Slide 8 - 42
Slide 8 - 43
Slide 8 - 44
Slide 8 - 45