Usage
forward.sel.par(Y, X, alpha = 0.05, K = nrow(X) - 1, R2thresh = 0.99, R2more = 0.001, adjR2thresh = 0.99, Yscale = FALSE, verbose = TRUE)
Arguments
Y
Response data matrix with n rows and m columns containing
quantitative variables
X
Explanatory data matrix with n rows and p columns containing
quantitative variables
alpha
Significance level. Stop the forward selection procedure if the
p-value of a variable is higher than alpha. The default is 0.05
K
Maximum number of variables to be selected. The default is one minus
the number of rows
R2thresh
Stop the forward selection procedure if the R-square of the
model exceeds the stated value. This parameter can vary from 0.001 to 1
R2more
Stop the forward selection procedure if the difference in model
R-square with the previous step is lower than R2more. The default setting
is 0.001
adjR2thresh
Stop the forward selection procedure if the adjusted
R-square of the model exceeds the stated value. This parameter can take any
value (positive or negative) smaller than 1
Yscale
Standardize the variables in table Y to variance 1. The default
setting is FALSE. The setting is automatically changed to TRUE if Y
contains more than one variable. This is a validity condition for the
parametric test of significance (Miller and Farr 1971)
verbose
If 'TRUE' more diagnostics are printed. The default setting is
TRUE