Calculation of Confidence Intervals for Least Squares
Formulae for Confidence Intervals
The formulae for regression confidence intervals are:
at the 95% confidence level, where:
Evaluating the plus sign in the above expressions gives the upper bound of the interval, and the minus sign gives the lower bound of the interval.