powered by
The subset are ordered according to the sum of squared residuals. Subsets can be decoded with decode.R.
fasb(y,x,p0=0.01,ind=0,inr=T,xinr=F,qq=-1)
nv Coded List of subsets with number of covariates and sum of squared residuals
The dependent variable
The covariates
Cut-off p-value for significance
The indices of a subset of covariates for which all subsets are to be considered
If TRUE to include intercept
If TRUE intercept already included
The number of covariates from which to choose. Equals number of covariates minus length of ind if qq=-1.
data(redwine) nvv<-fasb(redwine[,12],redwine[,1:11])
Run the code above in your browser using DataLab