Estimation of the term structure by linear regression