residual deviation