[R] How to Find the value of r-square change in hierarchical multiple linear regression

S Ellison S.Ellison at LGCGroup.com
Mon Mar 19 14:45:53 CET 2018


> I'd like to find the value of r-square change at each step of a regression model.
> 
> I know that I can use anova () to compare to models, but, if I want to find out
> that how much exactly r-square has  change from one model to the next, how
> can I find that?

See ?summary.lm

For a linear model L
summary(L)$r.squared

gives R^2

and the adjusted R^2 is
summary(L)$adj.r.squared

S Ellison



*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}



More information about the R-help mailing list