Soln CORRELATION (Updatedmay23)
Soln CORRELATION (Updatedmay23)
Correlation& Regression
Type I: Karl Pearson’s coefficient of correlation (r)
1. Find from the following values of the demand and the corresponding price of a
commodity, the degree of correlation between the demand and price by computing Karl
Pearson’s coefficient of correlation.
Demand in Quintals : 65 66 67 67 68 69 70 72
Price in Rs. Per kg : 67 68 65 68 72 72 69 71
[J23/CompIT/6M]
Solution:
𝑥 𝑦 (𝑥 − 𝑥) (𝑦 − 𝑦) (𝑥 − 𝑥)2 (𝑦 − 𝑦)2 (𝑥 − 𝑥)(𝑦 − 𝑦)
65 67 -3 -2 9 4 6
66 68 -2 -1 4 1 2
67 65 -1 -3 1 9 3
67 68 -1 -1 1 1 1
68 72 0 3 0 9 0
69 72 1 3 1 9 3
70 69 2 0 4 0 0
72 71 4 2 16 4 8
544 552 0 0 36 44 24
∑𝑥 544
𝑥= = = 68
𝑁 8
∑𝑦 552
𝑦= = = 69
𝑁 8
∑(𝑥−𝑥)(𝑦−𝑦) 24
𝑐𝑜𝑣(𝑥, 𝑦) = = =3
𝑁 8
∑(𝑥−𝑥)2 36
𝜎𝑥 = √ =√ = 2.1213
𝑁 8
∑(𝑦−𝑦)2 44
𝜎𝑦 = √ =√ = 2.3452
𝑁 8
𝑐𝑜𝑣(𝑥,𝑦) 3
𝑟= = = 0.6030
𝜎𝑥 ×𝜎𝑦 2.1213×2.3452
AR
AR
AR
AR
AR
AR
14. Calculate the coefficient of correlation between 𝑥 & 𝑦 from the data
𝑥 51 54 56 59 65 60 70
𝑦 38 44 33 36 33 23 13
[M22/Elect/5M]
Solution:
𝑥 𝑦 𝑑𝑥 = 𝑥 − 𝐴 𝑑𝑦 = 𝑦 − 𝐵 𝑑𝑥2 𝑑𝑦2 𝑑𝑥 𝑑𝑦
51 38 -9 7 81 49 -63
54 44 -6 13 36 169 -78
56 33 -4 2 16 4 -8
59 36 -1 5 1 25 -5
65 33 5 2 25 4 10
60 23 0 -8 0 64 0
70 13 10 -18 100 324 -180
415 220 -5 3 259 639 -324
∑𝑥 415
𝑥= = = 59.2857 (𝐴 = 60)
𝑁 7
∑𝑦 220
𝑦= = = 31.4286 (𝐵 = 31)
𝑁 7
∑ 𝑑𝑥 𝑑𝑦 ∑ 𝑑𝑥 ∑ 𝑑𝑦 −324 −5 3
𝑐𝑜𝑣(𝑥, 𝑦) = −( )( )= − ( ) ( ) = −45.9796
𝑁 𝑁 𝑁 7 7 7
∑ 𝑑𝑥2 ∑ 𝑑𝑥 2 259 −5 2
𝜎𝑥 = √ −( ) =√ − ( ) = 6.0407
𝑁 𝑁 7 7
2
∑ 𝑑𝑦 ∑ 𝑑𝑦 2 639 3 2
𝜎𝑦 = √ −( ) =√ − ( ) = 9.5447
𝑁 𝑁 7 7
𝑐𝑜𝑣(𝑥,𝑦) −45.9796
𝑟= = = −0.7975
𝜎𝑥 𝜎𝑦 6.0407×9.5447
AR
AR
AR
AR
AR
AR
21. Calculate the correlation coefficient between 𝑥 and 𝑦 from the following data:
𝑁 = 10, ∑ 𝑥 = 140, ∑ 𝑦 = 150, ∑(𝑥 − 10)2 = 180, ∑(𝑦 − 15)2 = 215,
∑(𝑥 − 10)(𝑦 − 15) = 60
[M19/Elex/5M]
Solution:
We have,
∑𝑥 140
𝑥= = = 14
𝑁 10
∑𝑦 150
𝑦= = = 15
𝑁 10
∑(𝑥 − 10) = 1802 AR
AR
2. What is rank correlation? Obtain the rank correlation coefficient for the following data:
X: 10 12 18 18 15 40
Y: 12 18 25 25 50 25
[N13/Chem/7M][M14/MechCivil/6M][N18/Extc/6M][N18/M19/MTRX/6M]
[N19/Chem/6M][N22/Elex/6M][M23/Elect/6M]
Solution:
Rank correlation is the method of finding out relation between two variables by means
of ranking.
X Y 𝑅1 𝑅2 𝑑𝑖 = 𝑅1 − 𝑅2 𝑑𝑖2
10 12 6 6 0 0
12 18 5 5 0 0
18 25 2.5 3 -0.5 0.25
18 25 2.5 3 -0.5 0.25
15 50 4 1 3 9
40 25 1 3 -2 4
Total 13.50
Here, 𝑚1 = 2, 𝑚2 = 3
(𝑚3 3
1 −𝑚1 ) (𝑚2 −𝑚2 )
6[∑ 𝑑𝑖2 + + ]
12 12
𝑅 =1−
𝑁3 −𝑁
(23 −2) (33 −3)
6[13.5+ + ]
12 12
𝑅 =1− = 0.5429
63 −6
AR
AR
AR
AR
7. What is Rank correlation? Obtain the rank correlation coefficient for the following data
(x) 68 64 75 50 64 80 75 40 55 64
(y) 62 58 68 45 81 60 68 48 50 70
[N19/Comp/6M]
Solution:
X Y 𝑅1 𝑅2 𝑑𝑖 = 𝑅1 − 𝑅2 𝑑𝑖2
68 62 7 6 1 1
64 58 5 4 1 1
75 68 8.5 7.5 1 1
50 45 2 1 1 1
64 81 5 10 -5 25
80 60 10 5 5 25
75 68 8.5 7.5 1 1
40 48 1 2 -1 1
55 50 3 3 0 0
64 70 5 9 -4 16
Total 72
Here, 𝑚1 = 3, 𝑚2 = 2, 𝑚3 = 2
AR
AR
11. Compute Spearman’s Rank correlation coefficient from the following data:
X 85 74 85 50 65 78 74 60 74 90
Y 78 91 78 58 60 72 80 55 68 70
[M18/Comp/6M][M23/CompIT/5M]
Solution:
X Y 𝑅1 𝑅2 𝑑𝑖 = 𝑅1 − 𝑅2 𝑑𝑖2
85 78 8.5 7.5 1 1
74 91 5 10 -5 25
85 78 8.5 7.5 1 1
50 58 1 2 -1 1
65 60 3 3 0 0
78 72 7 6 1 1
74 80 5 9 -4 16
60 55 2 1 1 1
74 68 5 4 1 1
90 70 10 5 5 25
Total 72
Here, 𝑚1 = 3, 𝑚2 = 2, 𝑚3 = 2
(𝑚3 3 3
1 −𝑚1 ) (𝑚2 −𝑚2 ) (𝑚3 −𝑚3 )
6[∑ 𝑑𝑖2 + + + ]
12 12 12
𝑅 =1−
𝑁 3 −𝑁
(33 −3) (23 −2) (23 −2)
6[72+ + + ]
12 12 12
𝑅 =1−
103 −10
𝑅 = 0.5455
AR
13. Calculate rank correlation coefficient between marks of Test 1 and Test 2
Test 1 52 63 45 36 72 65 45 25
Test 2 52 53 51 25 79 43 60 33
[M22/Elect/5M]
Solution:
X Y 𝑅1 𝑅2 𝑑𝑖 = 𝑅1 − 𝑅2 𝑑𝑖2
52 52 4 4 0 0
63 53 3 3 0 0
45 51 5.5 5 0.5 0.25
36 25 7 8 -1 1
72 79 1 1 0 0
65 43 2 6 -4 16
45 60 5.5 2 3.5 12.25
25 33 8 7 1 1
Total 30.50
Here, 𝑚1 = 2
(𝑚3
1 −𝑚1 )
6[∑ 𝑑𝑖2 + ]
12
𝑅 =1−
𝑁3 −𝑁
AR
15. The following results of ranks were recorded for 11 students. Find Spearman’s rank
correlation coefficient between the ranks obtained
Pre-module Post-module
18 22
21 25
16 17
22 24
19 16
24 29
17 20
21 23
23 19
18 20
14 15
[M22/MechCivil/5M]
AR
AR
2. Table shows the final grades in algebra and physics obtained by 10 students selected at
random from a large group of students. Find two regression equations. If a student
receives a grade of 75 in algebra. What is his expected grade in physics? If a student
receives a grade of 95 in physics what is his expected grade in algebra?
Algebra 75 80 93 65 87 71 98 68 84 77
Physics 82 78 86 72 91 80 95 72 89 74
Ans.𝑦 = 29.129 + 0.6613𝑥, 𝑥 = −14.394 + 1.15𝑦, 79,95
AR
AR
AR
8. Obtain the equations of lines of regression for the following data. Also obtain the
estimate of X for Y = 70
X 65 66 67 67 68 69 70 72
Y 67 68 65 66 72 72 69 71
[M18/N18/M19/Biom/8M][M18/Inst/8M][N18/Elect/8M][M19/Inst/8M]
[N19/Elect/8M]
Solution:
𝑥 𝑦 𝑑𝑥 = 𝑥 − 𝐴 𝑑𝑦 = 𝑦 − 𝐵 𝑑𝑥2 𝑑𝑦2 𝑑𝑥 𝑑𝑦
65 67 -3 -1 9 1 3
66 68 -2 0 4 0 0
67 65 -1 -3 1 9 3
67 66 -1 -2 1 4 2
68 72 0 4 0 16 0
69 72 1 4 1 16 4
70 69 2 1 4 1 2
72 71 4 3 16 9 12
544 550 0 6 36 56 26
∑𝑥 544
𝑥= = = 68 (𝐴 = 68)
𝑁 8
∑𝑦 550
𝑦= = = 68.75 (𝐵 = 68)
𝑁 8
∑ 𝑑𝑥 ∑ 𝑑𝑦 0×6
∑ 𝑑𝑥 𝑑𝑦 − 26−
𝑁 8
𝑏𝑦𝑥 = 2 (∑ 𝑑𝑥 )2
= (0)2
= 0.7222
∑ 𝑑𝑥 − 36−
𝑁 8
∑ 𝑑𝑥 ∑ 𝑑𝑦 0×6
∑ 𝑑𝑥 𝑑𝑦 − 26−
𝑁 8
𝑏𝑥𝑦 = 2 = (6)2
= 0.5049
∑ 𝑑𝑦2 −(∑ 𝑑𝑦 ) 56−
8
𝑁
Equation of y on x,
(𝑦 − 𝑦) = 𝑏𝑦𝑥 (𝑥 − 𝑥)
𝑦 − 68.75 = 0.7222(𝑥 − 68)
𝑦 = 0.7222𝑥 − 49.1096 + 68.75
𝑦 = 0.7222𝑥 + 19.6404
Equation of x on y,
(𝑥 − 𝑥) = 𝑏𝑥𝑦 (𝑦 − 𝑦)
𝑥 − 68 = 0.5049(𝑦 − 68.75)
𝑥 = 0.5049𝑦 − 34.7119 + 68
𝑥 = 0.5049𝑦 + 33.2881
Now, put 𝑦 = 70
𝑥 = 68.6311 ≈ 69 AR
AR
AR
AR
AR
AR
AR
18. Given the following results of weights (X) and heights (Y) of 1000 men.
𝑥 = 150 𝑙𝑏𝑠, 𝜎𝑥 = 20 𝑙𝑏𝑠, 𝑦 = 68 𝑖𝑛, 𝜎𝑦 = 2.5 𝑖𝑛, 𝑟 = 0.6
John weighs 200 lbs, Smith is 5 ft tall. Estimate height of John and weight of Smith.
From height of John estimate his weight. Why is it different from 200?
Ans. 71.75 in, 111.6 lbs, 168 lbs
19. Given : 6𝑦 = 5𝑥 + 90, 15𝑥 = 8𝑦 + 30, 𝜎𝑥 = 16, find 𝑥 & 𝑦, 𝑟 & 𝜎𝑦2 and angle between
2
20. State true or false with justification: if two lines of regression are 𝑥 + 3𝑦 − 5 = 0 and
4𝑥 + 3𝑦 − 8 = 0 then the correlation coefficient is +0.5.
[M14/CompIT/5M]
Solution:
Let the equation of y on x be 𝑥 + 3𝑦 − 5 = 0
i.e. 3𝑦 = −𝑥 + 5
1 5
𝑦=− 𝑥+
3 3
1
∴ 𝑏𝑦𝑥 = −
3
Let the equation of x on y be 4𝑥 + 3𝑦 − 8 = 0
i.e. 4𝑥 = −3𝑦 + 8
3 8
𝑥 =− 𝑦+
4 4
3
∴ 𝑏𝑥𝑦 = −
4
Correlation coefficient,
𝑟 = √𝑏𝑦𝑥 × 𝑏𝑥𝑦
1 3
𝑟 = √− × −
3 4
𝑟 = −0.5
Thus, the given statement is false. If the values of 𝑏𝑦𝑥 and 𝑏𝑥𝑦 are negative then 𝑟 is
also negative.
AR
22. State whether the following statement is true or false with reasoning: “The regression
coefficients between 2𝑥 and 2𝑦 are the same as those between 𝑥 and 𝑦.”
[M17/CompIT/5M]
Solution:
We know that, regression coefficient between x and y is
∑𝑥∑𝑦
∑ 𝑥𝑦−
𝑁
𝑏𝑥𝑦 = (∑ 𝑦)2
∑ 𝑦2−
𝑁
Now, let 𝑢 = 2𝑥 and 𝑣 = 2𝑦 AR
23. If the arithmetic mean of regression coefficient is 𝑝 and their difference is 2𝑞, find the
correlation coefficient Ans. 𝑝2 − 𝑞 2
24. If the tangent of the angle made by the line of regression of 𝑦 on 𝑥 is 0.6 and
𝜎𝑦 = 2𝜎𝑥 . Find the coefficient of correlation between 𝑥 & 𝑦.
[M15/MechCivil/5M]
Solution:
𝑡𝑎𝑛𝜃 of line y on x is 0.6 i.e slope of line y on x is 0.6
∴ 𝑏𝑦𝑥 = 0.6
We have,
𝜎𝑦
𝑏𝑦𝑥 = 𝑟
𝜎𝑥
(2𝜎𝑥 )
0.6 = 𝑟 since 𝜎𝑦 = 2𝜎𝑥 (given)
𝜎𝑥
0.6 = 2𝑟
∴ 𝑟 = 0.3
25. It is given that the means of 𝑥 and 𝑦 are 5 and 10. If the line of regression of 𝑦 on 𝑥 is
parallel to the line 20𝑦 = 9𝑥 + 40, estimate the value of 𝑦 for 𝑥 = 30.
[M15/CompIT/5M][N15/MechCivil/5M]
Solution:
Given that,
𝑥 = 5, 𝑦 = 10
It is also given that the line of regression of y on x is parallel to the line 20𝑦 = 9𝑥 + 40.
Thus, the slope of the two lines are same
Slope of line y on x is 𝑏𝑦𝑥
9
∴ 𝑏𝑦𝑥 =
20
AR
26. The given data indicates weights (𝑥) and heights (𝑦) of 1000 men.
𝑥 = 150 𝑙𝑏𝑠, 𝜎𝑥 = 20 𝑙𝑏𝑠, 𝑦 = 68 𝑖𝑛, 𝜎𝑦 = 2.5 𝑖𝑛, 𝑟 = 0.6
John weighs 200 lbs. Find the line of regression of 𝑦 on 𝑥 and estimate height of John
[N22/Elex/5M]
Solution:
𝑁 = 1000
𝑥 = 150
𝜎𝑥 = 20
𝑦 = 68
𝜎𝑦 = 2.5
𝑟 = 0.6
𝜎 20
𝑏𝑥𝑦 = 𝑟 𝑥 = (0.6) × = 4.8
𝜎𝑦 2.5
𝜎𝑦 2.5
𝑏𝑦𝑥 = 𝑟 = (0.6) × = 0.075
𝜎𝑥 20
Equation of Y on X,
(𝑦 − 𝑦) = 𝑏𝑦𝑥 (𝑥 − 𝑥)
(𝑦 − 68) = 0.075(𝑥 − 150)
𝑦 = 0.075𝑥 − 0.075 × 150 + 68
𝑦 = 0.075𝑥 + 56.75
John:
Weight (𝑥) = 200 𝑙𝑏𝑠
Put 𝑥 = 200 in the above equation
𝑦 = 71.75 𝑖𝑛 i.e. height is 71.75 inches
27. Given : 6𝑦 = 5𝑥 + 90, 15𝑥 = 8𝑦 + 30, 𝜎𝑥2 = 16, find 𝑥 & 𝑦, 𝑟 & 𝜎𝑦2
[N17/MTRX/6M][M19/IT/6M][N19/IT/5M][N19/Inst/6M][M22/MTRX/5M]
[M22/Elex/5M]
Solution:
We have,
−5𝑥 + 6𝑦 = 90 ………….(1)
15𝑥 − 8𝑦 = 30 …………(2)
Solving the two equations, we get AR
28. The equations of two regression lines are 3𝑥 + 2𝑦 = 26 and 6𝑥 + 𝑦 = 31. Find (i) the
means of 𝑥 and 𝑦 (ii) coefficient of correlation between 𝑥 and 𝑦
[N17/MechCivil/5M]
Solution:
We have,
3𝑥 + 2𝑦 = 26 ………….(1)
6𝑥 + 𝑦 = 31 …………(2)
Solving the two equations, we get
𝑥 = 4, 𝑦 = 7
Let the equation of y on x be 3𝑥 + 2𝑦 = 26
i.e. 2𝑦 = −3𝑥 + 26
3
𝑦 = − 𝑥 + 13
2
3
∴ 𝑏𝑦𝑥 = −
2
Let the equation of x on y be 6𝑥 + 𝑦 = 31
i.e. 6𝑥 = −𝑦 + 31
1 31
𝑥 =− 𝑦+
6 6
1
∴ 𝑏𝑥𝑦 = −
6
Correlation coefficient, AR
29. The equations of two regression lines are 3𝑥 + 2𝑦 = 26and 6𝑥 + 𝑦 = 31. Find (i) the
means of 𝑥 and 𝑦 (ii) coefficient of correlation between 𝑥 and 𝑦 (iii) 𝜎𝑦 if 𝜎𝑥 = 3
[M16/MechCivil/8M][N18/Inst/6M][M19/Elect/8M]
Solution:
We have,
3𝑥 + 2𝑦 = 26 ………….(1)
6𝑥 + 𝑦 = 31 …………(2)
Solving the two equations, we get
𝑥 = 4, 𝑦 = 7
Let the equation of y on x be 3𝑥 + 2𝑦 = 26
i.e. 2𝑦 = −3𝑥 + 26
3
𝑦 = − 𝑥 + 13
2
3
∴ 𝑏𝑦𝑥 = −
2
Let the equation of x on y be 6𝑥 + 𝑦 = 31
i.e. 6𝑥 = −𝑦 + 31
1 31
𝑥 =− 𝑦+
6 6
1
∴ 𝑏𝑥𝑦 = −
6
Correlation coefficient,
𝑟 = √𝑏𝑦𝑥 × 𝑏𝑥𝑦
3 1
𝑟 = √− × −
2 6
1
𝑟=−
2
we have,
𝜎𝑦
𝑏𝑦𝑥 = 𝑟
𝜎𝑥
3 1 𝜎𝑦
− =− .
2 2 3
∴ 𝜎𝑦 = 9
30. The regression lines of a sample are 𝑥 + 6𝑦 = 6 and 3𝑥 + 2𝑦 = 10. Find (i) sample
means (ii) coefficient of correlation between 𝑥 and 𝑦.
[N15/CompIT/4M][N18/MechCivil/5M].
Also estimate 𝑦 when 𝑥 = 12.
[N14/CompIT/5M][N16/CompIT/6M][N18/MTRX/8M] AR
31. The regression lines of a sample are given by 𝑥 + 6𝑦 = 6 and 3𝑥 + 2𝑦 = 10, find 𝑥
and 𝑦
[M22/Chem/2M][M22/MTRX/2M]
Solution:
We have,
𝑥 + 6𝑦 = 6 ………….(1)
3𝑥 + 2𝑦 = 10 …………(2)
Solving the two equations, we get
1
𝑥 = 3, 𝑦 =
2
32. The regression lines of a sample are given by 𝑥 + 6𝑦 = 6 and 3𝑥 + 2𝑦 = 10, find
coefficient of correlation between 𝑥 and 𝑦
[M22/MTRX/5M]
Solution:
We have, AR
33. If the line of regression of 𝑌 on 𝑋 is (𝑌 − 33) = 0.72(𝑋 − 33) then the approximate
value of 𝑌 for 𝑋 = 38 is
[M22/Elex/2M]
Solution:
(𝑦 − 33) = 0.72(𝑥 − 33)
Put 𝑥 = 38
𝑦 − 33 = 0.72(38 − 33)
𝑦 = 36.6
35. The equations of lines of regression are 𝑥 + 2𝑦 = 5 and 2𝑥 + 3𝑦 = −8. Find means of
𝑥 and 𝑦 and coefficient of correlation between 𝑥 and 𝑦
[M18/MechCivil/5M][N18/IT/5M]
Solution:
We have,
𝑥 + 2𝑦 = 5 ………….(1)
AR
2𝑥 + 3𝑦 = −8 …………(2)
S.E/Paper Solutions 52 By: Kashif Shaikh
Crescent Academy…….……………………….…..For Research in Education
Solving the two equations, we get
𝑥 = −31, 𝑦 = 18
Let the equation of y on x be 𝑥 + 2𝑦 = 5
i.e. 2𝑦 = −𝑥 + 5
1 5
𝑦=− 𝑥+
2 2
1
∴ 𝑏𝑦𝑥 = −
2
Let the equation of x on y be 2𝑥 + 3𝑦 = −8
i.e. 2𝑥 = −3𝑦 − 8
3 8
𝑥 =− 𝑦−
2 2
3
∴ 𝑏𝑥𝑦 = −
2
Correlation coefficient,
𝑟 = √𝑏𝑦𝑥 × 𝑏𝑥𝑦
1 3
𝑟 = √− × −
2 2
𝑟 = −0.8660
36. Given two lines of regression 6𝑦 = 5𝑥 + 90,15𝑥 = 8𝑦 + 130. Find (i) 𝑥, 𝑦 (ii)
correlation coefficient 𝑟
[M18/IT/5M]
Solution:
We have,
−5𝑥 + 6𝑦 = 90 ………….(1)
15𝑥 − 8𝑦 = 130 …………(2)
Solving the two equations, we get
𝑥 = 30, 𝑦 = 40
Let the equation of y on x be 6𝑦 = 5𝑥 + 90
5 90
i.e. 𝑦 = 𝑥 +
6 6
5
∴ 𝑏𝑦𝑥 =
6
Let the equation of x on y be 15𝑥 = 8𝑦 + 130
8 130
i.e. 𝑥 = 𝑦 +
15 15
8
∴ 𝑏𝑥𝑦 =
15
Correlation coefficient,
𝑟 = √𝑏𝑦𝑥 × 𝑏𝑥𝑦
5 8 2
𝑟=√ × = = 0.6667
6 15 3
AR
38. The two regression lines are given by: 20𝑥 − 9𝑦 − 107 = 0 and 4𝑥 − 5𝑦 + 33 = 0.
Obtain (i) coefficient of correlation between 𝑥 and 𝑦 (ii) means of 𝑥 and 𝑦.
Ans.13,17,0.6
39. The lines of regression are 20𝑥 − 9𝑦 − 107 = 0 and 15𝑥 = 8𝑦 + 130, 𝑉(𝑥) = 16.
Find means, 𝑟 and 𝑉(𝑦)
[N22/Elect/8M]
Solution:
We have,
20𝑥 − 9𝑦 = 107 ………….(1)
15𝑥 − 8𝑦 = 130 …………(2)
Solving the two equations, we get
𝑥 = −12.56, 𝑦 = −39.8 AR
40. The equations of two lines of regression for bivariate data are 9𝑥 + 10𝑦 − 67 = 0,
5𝑥 + 2𝑦 − 23 = 0. Find (i) Mean values of 𝑥 and 𝑦 (ii) Regression coefficients (iii)
Correlation coefficient
[M22/Elect/5M]
Solution:
We have,
9𝑥 + 10𝑦 − 67 = 0 ………….(1)
5𝑥 + 2𝑦 − 23 = 0 …………(2)
Solving the two equations, we get
𝑥 = 3, 𝑦 = 4
Let the equation (1) be y on x
i.e. 10𝑦 = −9𝑥 + 67
9 67
𝑦=− 𝑥+
10 10
9
∴ 𝑏𝑦𝑥 = −
10
Let the equation (2) be x on y
i.e. 5𝑥 = −2𝑦 + 23
2 23
𝑥 =− 𝑦+
5 5
2
∴ 𝑏𝑥𝑦 = −
5
Correlation coefficient,
𝑟 = √𝑏𝑦𝑥 × 𝑏𝑥𝑦 AR
41. The lines of regression of bivariate population are 8𝑥 − 10𝑦 + 66 = 0 and 40𝑥 −
18𝑦 = 214. The variance of 𝑥 is 9. Find (a) coefficient of correlation 𝑟 (b) standard
deviation of 𝑦
[N18/Elex/4M]
Solution:
We have,
8𝑥 − 10𝑦 = −66
40𝑥 − 18𝑦 = 214
Let the equation of y on x be 10𝑦 = 8𝑥 + 66
8 66
i.e. 𝑦 = 𝑥 +
10 10
4
∴ 𝑏𝑦𝑥 =
5
Let the equation of x on y be 40𝑥 = 18𝑦 + 214
18 214
i.e. 𝑥 = 𝑦 +
40 40
9
∴ 𝑏𝑥𝑦 =
20
Correlation coefficient,
𝑟 = √𝑏𝑦𝑥 × 𝑏𝑥𝑦
4 9
𝑟=√ ×
5 20
3
𝑟 = = 0.6
5
Now,
𝜎𝑦
𝑏𝑦𝑥 = 𝑟
𝜎𝑥
4 3 𝜎𝑦
= × since 𝜎𝑥 = 3 (given)
5 5 3
∴ 𝜎𝑦 = 4
43. The equations of the two lines of regression are 5𝑥 − 𝑦 = 22 and 64𝑥 − 45𝑦 = 24.
Find means of 𝑥 and 𝑦
[M22/Elect/2M]
Solution:
5𝑥 − 𝑦 = 22 ………(1)
64𝑥 − 45𝑦 = 24 ……..(2)
Solving equations (1) and (2) we get
𝑥 = 6, 𝑦 = 8
45. Find the regression coefficients and the coefficient of correlation from the following
data: 𝑁 = 12, ∑ 𝑥 = 120, ∑ 𝑦 = 432, ∑ 𝑥𝑦 = 4992, ∑ 𝑥 2 = 1392, ∑ 𝑦 2 = 18252.
Ans. 3.5, 0.25
46. Obtain both line of regressions for the data given below
Given: ∑𝑋 = 250, ∑𝑌 = 300, ∑𝑋𝑌 = 7900, ∑𝑋 2 = 6500, ∑𝑌 2 = 10000 and 𝑛 = 10
(in usual notation)
[N22/MechCivil/8M]
Solution:
∑𝑥 250
𝑥= = = 25
𝑁 10
∑𝑦 300
𝑦= = = 30
𝑁 10
∑ 𝑥.∑ 𝑦 250×300
∑ 𝑥𝑦− 7900−
𝑁 10
𝑏𝑦𝑥 = (∑ 𝑥)2
= (250)2
= 1.6
2
∑𝑥 − 6500−
𝑁 10
∑ 𝑥.∑ 𝑦 250×300
∑ 𝑥𝑦− 7900−
𝑁 10
𝑏𝑥𝑦 = (∑ 𝑦)2
= (300)2
= 0.4
2
∑𝑦 − 10000−
𝑁 10
Equation of x on y,
(𝑥 − 𝑥) = 𝑏𝑥𝑦 (𝑦 − 𝑦)
𝑥 − 25 = 0.4(𝑦 − 30)
𝑥 = 0.4𝑦 − 12 + 25
𝑥 = 0.4𝑦 + 13
Equation of y on x,
(𝑦 − 𝑦) = 𝑏𝑦𝑥 (𝑥 − 𝑥)
𝑦 − 30 = 1.6(𝑥 − 25)
𝑦 = 1.6𝑥 − 32.5 + 30
𝑦 = 1.6𝑥 − 2.5
AR