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:-------------------------------------------------------
Contact me: tal.gal...@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com/ (English)
----------------------------------------------------------------------------------------------




2009/11/23 Uwe Ligges <lig...@statistik.tu-dortmund.de>

>
>
> 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
> object to see diagnostic plots.
>
> Uwe Ligges
>
>
>
>
>  thanks a lot in advance,
>>
>> Ashok Varma
>>
>>        [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to