Re: [R] how to get the studentized residuals in lm()

From: Martin Maechler <>
Date: Tue 04 Jul 2006 - 02:13:08 EST

>>>>> "ronggui" == ronggui <> >>>>> on Mon, 3 Jul 2006 12:29:42 +0800 writes:

    ronggui> You will see:
    ronggui> studres(MASS) Extract Studentized Residuals from a Linear Model

Yes. But you don't even need another package. Thanks to John Fox, there's


etc, even in the 'stats' package, with methods for "lm" and for "glm" objects.

And now, in R-devel (2.4.0-to-be),"studentized")
will show the 'influence.measures' help page which contains rstudent().

Martin Maechler, ETH Zurich

    ronggui> 2006/7/3, zhijie zhang <>:
>> Dear friends,
>> In s-plus, lm() generates the the studentized residuals
>> automatically for us, and In R, it seems don't have the results: After
>> i fitted lm(), i use attibutes() to see the objects and didn't find
>> studentized residuals .
>> How to get the the studentized residuals in lm(),have i missed something?
>> thanks very much!
>> --
>> Kind Regards,
>> Zhi Jie,Zhang ,PHD
>> Department of Epidemiology
>> School of Public Health
>> Fudan University
>> Tel:86-21-54237149
>> ______________________________________________
>> mailing list
>> PLEASE do read the posting guide!

    ronggui> -- 
    ronggui> $A;FHY9s(B
    ronggui> Department of Sociology
    ronggui> Fudan University

    ronggui> ______________________________________________
    ronggui> mailing list
    ronggui>     ronggui> PLEASE do read the posting guide! mailing list PLEASE do read the posting guide! Received on Tue Jul 04 02:17:12 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 04 Jul 2006 - 04:14:41 EST.

Mailing list information is available at Please read the posting guide before posting to the list.