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:---
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
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]]
__
3 matches
Mail list logo