site:statology.org how to calculate residual - Search