Skip to content
Prev 39442 / 63424 Next

Standardized Pearson residuals

On Mar 14, 2011, at 22:25 , Brett Presnell wrote:

            
Probably... I have been wondering about that too. I'm even puzzled why it isn't the default. Deviance residuals don't have quite the properties that one might expect, e.g. in this situation, the absolute residuals sum pairwise to zero, so you'd expect that the standardized residuals be identical in absolute value
1          2          3          4 
-0.2901432  0.2767287  0.2784603 -0.2839995 

in comparison,
1          2          3          4 
-0.2817181  0.2817181  0.2817181 -0.2817181 

The only thing is that I'm always wary of tampering with this stuff, for fear of finding out the hard way why thing are the way they are....
Incidentally, chisq.test will have a stdres component in 2.13.0 for much the same reason.