[R] how to compute the explained variance?

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed May 3 08:42:41 CEST 2006


mingyu shi wrote:

> Hello,
> I have an ordinary linear regression model.
> for example y~x1+x2+x3;
> I need to compute "the percentage of variance explained by each covariate". can anyone tell me how I can compute it in R?

Please try to solve your homework yourself or by reading a good textbook 
- or even your teachers notes on the subject.

Uwe Ligges


> 
> thanks so much,
> ms
> 
> 		
> ---------------------------------
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list