Please help me with this question..Thanks in advance.
Given that for 20 pairs of observations ∑xu = 525, ∑x = 129, ∑ u = 97, ∑x^2 = 687, ∑u^2= 427 and y=10-3u. find the coefficient of correlation between x and y.
priya (Student) (64 Points)
25 May 2012Please help me with this question..Thanks in advance.
Given that for 20 pairs of observations ∑xu = 525, ∑x = 129, ∑ u = 97, ∑x^2 = 687, ∑u^2= 427 and y=10-3u. find the coefficient of correlation between x and y.
Tejaswi Kasturi
(student-cpt)
(427 Points)
Replied 25 May 2012
The figures you gave are mathematically impossible. If we try to compute variance for x or u we get negative numbers in the numerator. ∑x = 129 the minimum of ∑x2 is when all 20 x are equal i.e x = 129/20 = 6.45 x2 = 41.6025 ∑x2 = 20*41.6025 = 832.05 check your figures once again. Now I will give the solution for general case
Let ∑x = a , ∑x2 = b, ∑u = a1 , ∑u2 = b1, ∑xu =c
Now y = 10 – 3u ∑y = ∑10 – 3*∑u = 20*10 – 3*a = 200 – 3a1;
∑y2 = ∑(10 – 3u)2 = ∑(100 +9u2-60u) = 20*100 +9*b1-60*a1 = 2000+9b1-60a1
∑xy = ∑x(10 – 3u) = 10∑x – 3∑xu = 10a – 3c
Now correlation between x and y is (N*∑xy – ((∑x)*( ∑y)))/(√(N ∑x2 – (∑x)2) * √(N ∑y2 – (∑y)2))
= (20*(10a – 3c) - a*(200 – 3a1))/ (√(20b – (a)2) * √(20(2000+9b1-60a1) – (200-3a1)2))
Substituting the values of a,b,c,a1,b1 we get the correlation
priya
(Student)
(64 Points)
Replied 25 May 2012
Thanks for the reply. The question is from the CPT QA book. Hence wanted to know the answer.
intermediate(ipc)course
(no)
(1460 Points)
Replied 25 May 2012
rxu = Exu/Ex*Eu = 525/129*97=525/12513=0.0420
then y=10-3u
rxy = |-3|*rxu
=3*0.0420
=0.126
Krushna Malu
(student)
(22 Points)
Replied 17 May 2015
Krushna Malu
(student)
(22 Points)
Replied 17 May 2015