Function to compute Adjusted r-squared values
gx.adjr2(mr2, n, p)
mr2 |
the Multiple R-squared value. |
n |
the number of cases in the regression model. |
p |
the number of independent (explanatory or predictor) variables in the model. |
The Adjusted R-squared value is a long established criterion. It may be calculated casually by this function, or may be extracted from a lm
object, using summary(lm.object)[[9]]
. However, users are urged to investigate Akaike's Information Criterion, AIC
, as a procedure for comparing the fits of alternate models, and the use of the step
function for automated model selection.
Robert G. Garrett
gx.adjr2(0.7394, 111, 11) gx.adjr2(0.713, 111, 6)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.