Following are the two normal equations obtained for deriving the regre...
Regression Line of y on x
The regression line of y on x is determined by the following steps:
Step 1: Calculate the slope of the regression line
The slope of the regression line is given by:
b = (nΣxy - ΣxΣy) / (nΣx^2 - (Σx)^2)
where n is the number of observations, Σxy is the sum of the product of x and y, Σx is the sum of x, Σy is the sum of y, and Σx^2 is the sum of the square of x.
Using the values from the given normal equations:
n = 2, Σxy = 40, Σx = 15, Σy = 45, and Σx^2 = 35
Substituting the values in the formula:
b = (2 * 40 - 15 * 45) / (2 * 35 - 15^2) = -5 / 5 = -1
Step 2: Calculate the y-intercept of the regression line
The y-intercept of the regression line is given by:
a = (Σy - bΣx) / n
Substituting the values:
a = (45 - (-1) * 15) / 2 = 30
Step 3: Write the equation of the regression line
The equation of the regression line is given by:
y = a + bx
Substituting the values:
y = 30 - x
Therefore, the regression line of y on x is y = 30 - x.