0% found this document useful (0 votes)
10 views2 pages

Main 1

The document presents a mathematics test solution involving statistical analysis, including calculations for correlation coefficients and regression lines based on given data. It details the computation of means, variances, covariances, and the regression equations for two variables, x and y. The final results include estimated values and verification of regression lines, confirming the relationships between the variables.

Uploaded by

24167026
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views2 pages

Main 1

The document presents a mathematics test solution involving statistical analysis, including calculations for correlation coefficients and regression lines based on given data. It details the computation of means, variances, covariances, and the regression equations for two variables, x and y. The final results include estimated values and verification of regression lines, confirming the relationships between the variables.

Uploaded by

24167026
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Class Test II

Ritu Raj Singh, Roll no: 24167026


Sub: Mathematics
Branch: M-Tech in CS(AI and DS)

1. We have

x y x2 y2 xy
1 9 1 81 9
2 8 4 64 16
3 10 9 100 30
4 12 16 144 48
5 11 25 121 55
6 13 36 169 78
7 14 49 196 98
8 16 64 256 128
9 15 81 225 135
Total 45 108 285 1, 356 597

x2i = 285, yi2 = 1, 356,


P P P P P
∴ xi = 45, yi = 108, xi yi = 597 and the number of pairs, n = 9.

1 1 1 1
2 1 1
P 2
yi = 12, σx2 = x2i − = 6.667, σy2 = yi2 −
P P P P P
∴ x̄ = 9
xi = 5, ȳ = 9 9 9
xi 9 9
yi = 6.667.
 X  X 
1X 1 1
Cov(x, y) = xi y i − xi yi = 6.333
9 9 9

∴ the correlation coefficient between x and y,

Cov(x, y)
rxy = = 0.9499
σx σy

So the regression coefficient of y on x,



σy 6.667
byx = rxy = √ × 0.9499 = 0.9499
σx 6.667

∴ our regression line of y on x is:

y − ȳ = byx (x − x̄) =⇒ y − 12 = 0.9499(x − 5)

When x = 6.2, yestimated = 0.9499 × (6.2 − 5) + 12 = 13.13988

1
2. Let if possible,
3x + 12y = 19 be regression line “of y on x” and (1)
9x + 3y = 46 be “of x on y” (2)
1 1
Gradient of (1) is − ∴ the regression coefficient byx = −
4 4
1 1
Gradient of (2) is − ∴ the regression coefficient bxy =−
3 3

2 1 1 1
Now rxy = byx × bxy = − × − = which is less than 1. So our hypothesis is correct.
4 3 12
∴ Equation (1) is a regression line of “y on x”.
Equation (2) is a regression line of “x on y”.

We know the two regression lines intersect at the point (x̄, ȳ), where x̄ and ȳ are means of x and y respectively.

Multiply 3 to Eq(1)

9x + 36y = 57 (3)
9x + 3y = 46 (2)

1
We got y =
3

Putting value of y on Eq(2), we will get x = 5


 
1
∴ (x̄, ȳ) = 5,
3
1
We have got rxy = ± √
2 3
Since we know regression coefficient byx and ryx has same sign, so ryx is negative as byx is negative.
1
∴ ryx = − √
2 3
Now
σx
bxy = rxy ×
σy
bxy σx
=⇒ =
rxy σy

σx 1 √
=⇒ = − × −2 3 = 1.1547
σy 3

You might also like