effect.size {yhat} | R Documentation |
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)
}
[Package yhat version 2.0-4 Index]