You are on page 1of 4

Spring 2022

Statistics and Probability (STA301)


ASSIGNMENT # 01
Name: SAMEER AHMAD KHAN
VU id: BC210425784

Question 1:
From the given data, calculate regression equation X on Y taking deviation from mean.
X 2 5 3 7 6
Y 8 3 1 4 2

Solution:
As we know

So, calculate the data to insert

The mean of X is = 23/5= 4.6 and, the mean of Y is 18/5= 3.6


X Y xy
2 8 -2.6 4.4 -11.44 19.36
5 3 0.4 -0.6 -0.24 0.36
3 1 -1.6 -2.6 4.16 6.76
7 4 2.4 .4 0.96 0.16
6 2 1.4 -1.6 -2.24 2.56
23 18 -8.8 29.2
Put the data in equation

Question 2:
From the given data, find standard error of estimate for regression equation Y on X.
X 5 7 2 9 3 8
Y 4 6 3 1 5 2

Solution:

Calculate the data to insert in the formula


X Y XY

5 4 25 16 20

7 6 49 36 42

2 3 4 9 6

9 1 81 1 9

3 5 9 25 15

8 2 64 4 16

34 21 232 91 108
Equation No 1 Equation No 2

From Equation 1:

Put the value of equation 1 into equation no 2:

Now put the value of b:


Now put the value of a and b

You might also like