B AD 6243: Applied Univariate Statistics: Correlation
B AD 6243: Applied Univariate Statistics: Correlation
Correlation
Variable 2
Variable 1 Variable 1
Variable 2
Variable 2
Variable 1 Variable 1
BAD 6243: Applied Univariate 3
Statistics
An Example
Wage (W) W-Mean SSD of W Exp (E) E-Mean SSD of E Cross Prod
2 -3 9 8 -5 25 15
3 -2 4 10 -3 9 6
3 -2 4 8 -5 25 10
4 -1 1 12 -1 1 1
5 0 0 14 1 1 0
6 1 1 14 1 1 1
6 1 1 16 3 9 3
6 1 1 16 3 9 3
10 5 25 19 6 36 30
Mean 5.00 0.00 5.11 13.00 0.00 12.89 7.67
Sum 45.00 0.00 46.00 117.00 0.00 116.00 69.00
VAR00001 VAR00002
VAR00001 Pearson Correlation 1 .945**
Sig. (2-tailed) . .000
Sum of Squares and
46.000 69.000
Cross-products
Covariance 5.750 8.625
N 9 9
VAR00002 Pearson Correlation .945** 1
Sig. (2-tailed) .000 .
Sum of Squares and
69.000 116.000
Cross-products
Covariance 8.625 14.500
N 9 9
**. Correlation is significant at the 0.01 level (2-tailed).
10
4
VAR00001
0
6 8 10 12 14 16 18 20
VAR00002
Variance of x
300
200
100
0
VAR00001
-100
6 8 10 12 14 16 18 20
VAR00002