After estimating (3) by 2SLS, we obtain the residuals.