[R] Pearson Residuals in lm
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sat Feb 26 11:26:56 CET 2005
On Sat, 26 Feb 2005, Oli wrote:
> i am trying to figure out the pearson residuals in a lm model:
>
>
> vl.lm <- lm(VL ~ GSS)
>
> resid (vl.lm, ¡§pearson¡¨)
>
>
> but when i tried other types of residuals such as "working", "deviance",
> etc...they give me the exact numbers...is there anything wrong with what
> i am trying to do?
Do see the help page. Differences emerge only for weighted fits.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list