Dear All,

I'm using AIC-weighted model averaging to calculate model averaged parameter estimates and partial r-squares of each variable in a 10-variable linear regression.

I've been using the MuMIn package to calculate parameter estimates, but am struggling with partial r-squares. There doesn't seem to be any function in the MuMIn package dealing with partial r-square (r.squaredLR() looks promising, but I think there is a problem updating MuMIn so I can't use this (new?) function). I know you can calculate partial r-squares using plot(anova(ols()), what = 'partial R2') but I don't know how best to do this for all 1024 models and then calculate the AIC-weighted model average.

Are there any packages out there that I'm missing? Or any ideas for combining MuMIn with anova.Design and Hmisc?

Thanks in advance, and apologies if my problem is badly worded.

Tom

______________________________________________
R-help@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.

Reply via email to