adjust_Rsq {configural} | R Documentation |
Adjust a regression model R-squared for overfitting
Description
Estimate shrinkage for regression models
Usage
adjust_Rsq(Rsq, n, p, adjust = c("fisher", "pop", "cv"))
Arguments
Rsq |
Observed model R-squared |
n |
Sample size |
p |
Number of predictors |
adjust |
Which adjustment to apply. Options are "fisher" for the Adjusted R-squared method used in |
Value
An adjusted R-squared value.
References
Shieh, G. (2008). Improved shrinkage estimation of squared multiple correlation coefficient and squared cross-validity coefficient. Organizational Research Methods, 11(2), 387–407. doi:10.1177/1094428106292901
Examples
adjust_Rsq(.55, 100, 6, adjust = "pop")