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
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
2 matches
Mail list logo