Last chance! 50% off unlimited learning
Sale ends in
Creates adjusted effect sizes for linear regression.
effect.size(lm.out)
Output from lm class object
Returns adjusted R-squared metric.
The function effect.size
produces a family of effect
size corrections for the R-squared metric produced from an
lm
class object. Suggestions for recommended correction
are supplied, based on Yin and Fan (2001).
Yin, P., & Fan. X. (2001) Estimated R^2 shrinkage in multiple regression: A comparison of different analytical methods. The Journal of Experimental Education, 69, 203-224.
# NOT RUN {
require ("MBESS")
data(HS)
attach(HS)
lm.out<-lm(t20_deduction~t10_addition*t24_woody_mccall)
effect.size(lm.out)
detach(HS)
# }
Run the code above in your browser using DataLab