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

Uwe Ligges ligges at statistik.tu-dortmund.de
Mon Nov 23 18:22:54 CET 2009



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 at 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.




More information about the R-help mailing list