Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

effect.size

Effect Size Computation for lm


Description

Creates adjusted effect sizes for linear regression.

Usage

effect.size(lm.out)

Arguments

lm.out

Output from lm class object

Details

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).

Value

Returns adjusted R-squared metric.

Author(s)

J. Kyle Roberts <kyler@smu.edu>

References

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.

See Also

Examples

if (require("MBESS")){
     data(HS)
     attach(HS)
     lm.out<-lm(t20_deduction~t10_addition*t24_woody_mccall)
     effect.size(lm.out)
     detach(HS)
     }

yhat

Interpreting Regression Effects

v2.0-3
GPL (>= 2)
Authors
Kim Nimon <kim.nimon@gmail.com>, Fred Oswald, and J. Kyle Roberts.
Initial release
2020-12-31

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.