Re: [R] standardized/studentized residuals with loess

2010-11-11 Thread Oliver Frings
st ~ speed, cars) > cars.lo <- loess(dist ~ speed, cars) > > ## these seem somewhat similar > rstandard(cars.lm) > c(scale(residuals(cars.lm))) > > ## these seem somewhat similar too > loess.stdres(cars.lo) > c(scale(cars.lo$residuals)) > > > Cheers, > > J

[R] standardized/studentized residuals with loess

2010-11-10 Thread Oliver Frings
Hi all, I'm trying to apply loess regression to my data and then use the fitted model to get the *standardized/studentized residuals. I understood that for linear regression (lm) there are functions to do that:* * * fit1 = lm(y~x) stdres.fit1 = rstandard(fit1) studres.fit1 = rstudent(fit1) I was