How To Calculate Residuals In Statistics