Use predicted rsquared to determine how well the model predicts responses for new observations. Larger values of predicted R2 indicate models of greater predictive ability.
Details
Both the PRESS statistic and the total sum of squares use the model's prior weights, so predicted R-squared is invariant to a constant rescaling of the weights even though PRESS itself is not: PRESS is a weighted sum of squared deleted residuals and scales with the weights.
See also
Other influence measures:
ols_hadi(),
ols_leverage(),
ols_press()
Examples
model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars)
ols_pred_rsq(model)
#> [1] 0.7710297