Ch. 9.1, 9.2
Ch. 9.1, 9.2
Correlation and
Regression
Correlation
–1 0 1
If r = –1 there is If r is close to 0 If r = 1 there is a
a perfect there is no linear perfect positive
negative correlation correlation
correlation
As the durations of
the eruptions increase,
the times until the
next eruption tend to
increase.
The researchers write that teens who ate breakfast regularly had a lower
percentage of total calories from saturated fat and ate more fiber and
carbohydrates than those who skipped breakfast. In addition, regular
breakfast eaters seemed more physically active than breakfast skippers.
Over time, researchers found teens who regularly ate breakfast tended to
gain less weight and had a lower body mass index than breakfast skippers.
https://www.khanacademy.org/math/probability/xa88
397b6:scatterplots/estimating-trend-lines/v/correlatio
n-and-causality
Linear Regression
x
. Copyright 2019, 2015, 2012, Pearson Education, Inc. 27
Residuals
• For each data point, di represents the difference between the
observed y-value and the predicted y-value for a given x-value.
• These differences are called residuals and can be positive,
negative, or zero.