I got a formula: $$ s(b_1) = \sqrt{\frac{1}{n-2}·\frac{\sum{(y_i-\hat{y}_i)^2}}{\sum{(x_i-\bar{x})^2}}} $$ , is this correct? and how can I calculate the standard error of the intercept?
I am leanring R, When I execute the command "summary(lrfit)",it will give result as follow. I am interested how these values calculated...
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 2.341231 1.096730 2.135 0.044170 *
X0 1.615907 0.170735 9.464 3.25e-09 ***
X1 0.014385 0.003613 3.981 0.000631 ***