residstd function

Classification of cases as typical and deviant using the standard deviation of the residuals.