Student t confidence interval for a centered regression intercept (source code)

= Student t confidence interval for a centered regression intercept
{c}

In a two-parameter Gaussian simple linear regression centered at $\bar x$, the intercept estimator is $\bar Y$. With residual standard deviation $s$,
$$
\frac{\bar Y-\alpha'}{s/\sqrt n}\sim t_{n-2},
$$
which gives the usual two-sided interval from the corresponding quantiles.