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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Faiz Rasool
Dear list members,

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?

Regards, and thanks for any help.

Faiz

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
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 | Threaded
Open this post in threaded view
|

Re: How to Find the value of r-square change in hierarchical multiple linear regression

S Ellison-2
> 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}}

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
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.