def _compute_cross_validated_residual_here(self, xi, yi, smooth_here):
denom = (<NUM_LIT:1.0> - <NUM_LIT:1.0> / self.window_size -<EOL>(xi - self._mean_x_in_window) ** <NUM_LIT:2> /<EOL>self._variance_in_window)<EOL>if denom == <NUM_LIT:0.0>:<EOL><INDENT>return <NUM_LIT:1.0><EOL><DEDENT>return abs((yi - smooth_here) / denom)<EOL>
Compute cross validated residual.

This is the absolute residual from Eq. 9. in [1]