Fits all regressions involving one regressor, two regressors, three regressors, and so on. It tests all possible subsets of the set of potential independent variables.
ols_step_all_possible(model, ...) # S3 method for ols_step_all_possible plot(x, model = NA, ...)
model | An object of class |
---|---|
... | Other arguments. |
x | An object of class |
ols_step_all_possible
returns an object of class "ols_step_all_possible"
.
An object of class "ols_step_all_possible"
is a data frame containing the
following components:
model number
predictors in the model
rsquare of the model
adjusted rsquare of the model
predicted rsquare of the model
mallow's Cp
akaike information criteria
sawa bayesian information criteria
schwarz bayes information criteria
estimated MSE of prediction, assuming multivariate normality
final prediction error
amemiya prediction criteria
hocking's Sp
ols_all_subset()
has been deprecated. Instead use ols_step_all_possible()
.
Mendenhall William and Sinsich Terry, 2012, A Second Course in Statistics Regression Analysis (7th edition). Prentice Hall
Other variable selection procedures: ols_step_backward_aic
,
ols_step_backward_p
,
ols_step_best_subset
,
ols_step_both_aic
,
ols_step_forward_aic
,
ols_step_forward_p
#> Error in subtract(., b): could not find function "subtract"k#> Error in eval(expr, envir, enclos): object 'k' not found#> Error in plot(k): object 'k' not found