The following is a set of data of sample size n11 X 7 5 4 16

The following is a set of data of sample size n=11

X: 7, 5, 4, 16, 6. 2, 15, 20, 10, 9, 1

Y: 21, 15, 12, 48, 18, 6, 45, 60, 30, 27, 3

Find the sample covariance and the coefficient of correlation.

Solution

There are two variables x and y

X: 7, 5, 4, 16, 6. 2, 15, 20, 10, 9, 1

Y: 21, 15, 12, 48, 18, 6, 45, 60, 30, 27, 3

Formula covariance of xy = E(xy) -E(x)E(y)

Variance of x = E(x^2)- xbar^2

r = Cov/sx sy

where sx and sy are std deviations of x and y.

X Y XY XX YY
2 -1 -2 4 1
4 0 0 16 0
6 3 18 36 9
10 7 70 100 49
11 9 99 121 81
14 14 196 196 196
17 18 306 289 324
18 23 414 324 529
Total 82 73 1101 1086 1189
Mean 10.25 9.125 137.625 135.75 148.625
x bar 10.25
y bar 9.125
Var x 30.6875
Var y 65.35938
Cov 44.09375
r 0.98456
The following is a set of data of sample size n=11 X: 7, 5, 4, 16, 6. 2, 15, 20, 10, 9, 1 Y: 21, 15, 12, 48, 18, 6, 45, 60, 30, 27, 3 Find the sample covariance

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site