[R] rstandard does not produce standardized residuals

Ulrich Halekoh Ulrich.Halekoh at agrsci.dk
Tue Feb 24 12:37:04 CET 2004


Dear all,


the application of the function rstandard() in the base package
 to a glm object does not produce  residuals standardized to 
have variance one:

the reason is that the deviance residuals are  divided
by the dispersion estimate and not by the
square root of the estimate for the dispersion.

Should the function not be changed to produce residuals
with a variance about 1?


R 1.8.1 on windows 2000

ulrich


==============================================================
Ulrich Halekoh,  PhD                         Phone: +45 8999 1825
Biometry Research Unit                       Fax:   +45 8999 1300
Danish Institute of Agricultural Sciences    E-mail: ulrich.halekoh at agrsci.dk
Research Centre Foulum, DK-8830 Tjele, Denmark




More information about the R-help mailing list