how to compute the residual in statcrunch