[R] how to compute the explained variance?

From: mingyu shi <mingyu_statpaper_at_yahoo.com>
Date: Wed 03 May 2006 - 06:10:49 EST

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?

thanks so much,

        [[alternative HTML version deleted]]

R-help@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 Received on Wed May 03 06:14:34 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 03 May 2006 - 18:09:58 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.