Correlation question

CPT 3071 views 5 replies

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.

Replies (5)

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

Thanks for the reply. The question is from the CPT QA book.  Hence wanted to know the answer.

rxu = Exu/Ex*Eu = 525/129*97=525/12513=0.0420

then y=10-3u

rxy = |-3|*rxu

      =3*0.0420

       =0.126

Please help.... ∑xy=414, ∑x=120, ∑y=90 ∑x�=600 ∑y�=300, n=30.later on it was known that two points of observations(12,11) and(6,8)were wrongly taken, the correct pairs of observations being (10,9) and (8,10). The corrected value of correlation is..?
Sorry....... ∑xy=414, ∑x=120, ∑y=90 ∑x^2 =600, ∑y^2=300, n=30.later on it was known that two points of observations(12,11) and(6,8)were wrongly taken, the correct pairs of observations being (10,9) and (8,10). The corrected value of correlation is..?


CCI Pro

Leave a Reply

Your are not logged in . Please login to post replies

Click here to Login / Register