In: Statistics and Probability
You gather the following data:
X | 1 | 3 | 5 |
Y | 1 | 1 | 4 |
Find the slope and intercept of the least squares line.
Slope=b1=
Intercept=b0=
Here in this Question it is given that the data of x Variable and y Variable. The data is provided only n= 3 based on the given data we can calculated the slope and intercept of least square line using following steps,
The independent variable is XX, and the dependent variable is YY. In order to compute the regression coefficients, the following table needs to be used:
X | Y | X*Y | X2 | Y2 | |
1 | 1 | 1 | 1 | 1 | |
3 | 1 | 3 | 9 | 1 | |
5 | 4 | 20 | 25 | 16 | |
Sum = | 9 | 6 | 24 | 35 | 18 |
Based on the above table, the following is calculated:
The slope of Regression line b1 = 0.75.
The intercept of regression line bo = -0.25.
Hope it helps.
Thank you.