Correlation
Correlation
Correlation
Lesson
. . 1
Correlation
Lesson 1: Correlation
Bivariate Data
30 2520 28
3065 20
25 3600 18
3300 19
20
3625 19
3590 19
15
2000 2500 3000 3500 4000 2605 23
Weight (lbs) 2370 28
Linear
(Increasing) Nonlinear
Linear
Nonlinear Negative
3. 4.
Linear
Positive Nonlinear
r ≈ .9 r ≈ .4
r ≈ –.9 r ≈ –.4
(a) r = –0.969
(b) r = –0.049
(c) r = –1
(d) r = –0.992
S xy
r=
S xx S yy
( x)
2
where S xx = �( xi - x ) = �x
2 2
-
� i
i
n
( y)
2
S yy = �( yi - y ) = �y
2 2
-
� i
i
n
S xy = �( xi - x )( yi - y ) = �xi yi -
( �x ) ( �y )
i i
2520 28
30
negative linear 3065 20
25 relationship 3600 18
20
between 3300 19
3625 19
weight and 3590 19
15
2000 2500 3000 3500 400 mileage. 2605 23
0
Weight (lbs) 2370 28
30 2520 28
3065 20
25 3600 18
3300 19
20
3625 19
15
3590 19
2000 2500 3000 3500 400 2605 23
0
Weight (lbs) 2370 28