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

From: Martin Maechler <maechler_at_stat.math.ethz.ch>
Date: Tue 04 Jul 2006 - 02:13:08 EST

>>>>> "ronggui" == ronggui <ronggui.huang@gmail.com> >>>>> on Mon, 3 Jul 2006 12:29:42 +0800 writes:

>> help.search("studentized")
    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

     rstudent()
     rstandard()

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

And now, in R-devel (2.4.0-to-be),

   help.search("studentized")
will show the 'influence.measures' help page which contains rstudent().

Martin Maechler, ETH Zurich

    ronggui> 2006/7/3, zhijie zhang <epistat@gmail.com>:
>> 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
>>
>> ______________________________________________
>> R-help@stat.math.ethz.ch mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>>

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

    ronggui> ______________________________________________
    ronggui> R-help@stat.math.ethz.ch mailing list
    ronggui> https://stat.ethz.ch/mailman/listinfo/r-help     ronggui> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html 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 https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.