Correlation Lecture
Correlation Lecture
Y
[n
X
2
(
X )
2
][n
Y
2
(
Y )
2
]
Y (Grade)
100 95 90 80 70 65 60 40 30 20
X (Height)
73 79 62 69 74 77 81 63 68 74
Correlation 12
X
i
= 720
Y
i
= 650
X
i
Y
i
= 46,990
X
i
2
= 52,210
Y
i
2
= 49,150
r =
r = = = .1189
R
2
= 1.4%
The correlation coefficient is not significant (for now, you have to trust me on
this; there is a t-test we can learn later to test for significance). The
correlation coefficient, r, of .1189 is not significantly different from 0. Thus,
there is no relationship between height and grades. Correlation coefficients
of less than .30 are generally considered very weak and of little practical
importance even if they turn out to be significant. If you go back to the
scatter plot, you will note that the X and Y do not seem to be related.
Keep in mind that r is based on a sample of 10 students. The population consists of
millions of students. There is sampling error in measuring r. Therefore, we need a
statistical test to determine whether the sample correlation coefficient is significantly
different from 0.
Correlation 13
2
2
2
2
Y Y n X X n
Y X XY n
2 2
) 650 ( ) 150 , 49 ( 10 ) 720 ( ) 210 , 52 ( 10
) 650 ( 720 ) 990 , 46 ( 10
000 , 69 700 , 3
1900
Y (Grade)
100 95 90 80 70 65 60 40 30 20
X (Hours Studied)
10 8 9 8 7 6 7 4 2 1
Correlation 14
X
i
= 62
Y
i
= 650
X
i
Y
i
= 4,750
X
i
2
= 464
Y
i
2
= 49,150
The scatter plot indicated a very strong positive linear
relationship.
r = = = .97
R
2
= 94.09%
The correlation coefficient is significant. (Again, you have
to trust me on this. To test the significance of the
correlation coefficient, a t-test can be done.) A correlation
coefficient of.97 is almost perfect. Thus, there is a
significant relationship between hours studied and grades.
Correlation coefficients of more than .80 are generally
considered very strong and of great practical importance.
Correlation 15
2 2
) 650 ( ) 150 , 49 ( 10 ) 62 ( ) 464 ( 10
) 62 ( 650 ) 750 , 4 ( 10
000 , 69 ] 796 [
7200
Correlation 16
X (price) Quantity Demanded
$2 95
3 90
4 84
5 80
6 74
7 69
8 62
9 60
10 63
11 50
12 44
X
i
=77
Y
i
=771
X
i
Y
i
=4,864
X
i
2
=649
Yi
2
=56,667
r = =
r = -.99; R
2
= 98.01%
To test the significance of the correlation
coefficient, a t-test can be done. The correlation
coefficient is significant (again, you have to trust
me on this). A correlation coefficient of -.99 is
almost perfect. Thus, there is a significant and
strong inverse relationship between price and
quantity demanded.
Correlation 17
2 2
) 771 ( ) 667 , 56 ( 11 ) 77 ( ) 649 ( 11
) 771 ( 77 ) 4864 ( 11
896 , 28 ] 1210 [
863 , 5
The higher the score, the more attractive the employee.
X
i
= 45
Y
i
= 289
X
i
Y
i
= 1,472
X
i
2
= 285
Y
i
2
= 8,801
Correlation 18
Attractiveness Starting Salary
Score (in thousands)
0 20
1 24
2 25
3 26
4 20
5 30
6 32
7 38
8 34
9 40
Correlation 19
r = = = .891
R
2
= 79.39%
To test the significance of the correlation
coefficient, a t-test can be done. We will learn how
to use Excel to test for significance. The
correlation coefficient is significant (again, you
have to trust me on this). A correlation coefficient
of .891 is strong. Thus, there is a significant and
strong relationship between attractiveness and
starting salary.
2 2
) 289 ( ) 8801 ( 10 ) 45 ( ) 285 ( 10
) 289 ( 45 ) 1472 ( 10
4489 ] 825 [
1715
As always practice, practice, practice!
Correlation 20