Re: [R] studentized and standarized residuals

2011-08-10 Thread Dénes TÓTH
Dear Jen, Actually you can check out what R does by looking at the source. # first type the name of the function > rstandard function (model, ...) UseMethod("rstandard") # ?methods will list you the corresponding functions > methods("rstandard") [1] rstandard.glm rstandard.lm # choose rstanda

Re: [R] studentized and standarized residuals

2011-08-10 Thread Jen
Thanks Patrick - at least I know I wasn't being too silly :-) Jen -- View this message in context: http://r.789695.n4.nabble.com/studentized-and-standarized-residuals-tp3732997p3733173.html Sent from the R help mailing list archive at Nabble.com. __ R-

Re: [R] studentized and standarized residuals

2011-08-10 Thread Patrick Breheny
On 08/10/2011 10:03 AM, Jen wrote: Hi, I must be doing something silly here, because I can't get the studentised and standardised residuals from r output of a linear model to agree with what I think they should be from equation form. x = seq(1,10) y = x + rnorm(10) mod = lm(y~x) rstandard(mod) r

[R] studentized and standarized residuals

2011-08-10 Thread Jen
Hi, I must be doing something silly here, because I can't get the studentised and standardised residuals from r output of a linear model to agree with what I think they should be from equation form. Thanks in advance, Jennifer x = seq(1,10) y = x + rnorm(10) mod = lm(y~x) rstandard(mod) residuals