Re: [R] testing of randomness of residuals in the lm function in R

2009-11-23 Thread Tal Galili
Hi Ashok, You can try : *shapiro.test(**my.lm$resid**)* But I remember reading that "good" tests for the normality assumptions (specifically that of the residuals), do not exist as we would have hoped them to. Good luck, Tal Contact Details:---

Re: [R] testing of randomness of residuals in the lm function in R

2009-11-23 Thread Uwe Ligges
ashok varma wrote: Hello, I am fitting a Linear model using R. Now, i want to know how to test whether my model is following the homoscadasticity and residuals being random assumptions or not while fitting the model. See ?lm. For accessing residuals, see ?residuals. Or use plot() on a lm o

[R] testing of randomness of residuals in the lm function in R

2009-11-23 Thread ashok varma
Hello, I am fitting a Linear model using R. Now, i want to know how to test whether my model is following the homoscadasticity and residuals being random assumptions or not while fitting the model. thanks a lot in advance, Ashok Varma [[alternative HTML version deleted]] __