Learn R Programming

yhat (version 2.0-2)

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

Value

Returns adjusted R-squared metric.

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

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

regr,yhat

Examples

Run this code
# 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