powered by
Repeated stepwise selection of covariates
f2st(y,x,p0=0.01,nu=1,km=0,mx=21,kx=0,lm=9^9,sub=F,inr=T,xinr=F)
Dependent variable
Covariates
The P-value cut-off
The order statistic of Gaussian covariates used for comparison
The maximum number of included covariates at each stage irrespective of P-value
The maximum number of covariates for an all subset search
The excluded covariates
The maximum number of linear approximations
Logical if TRUE choose the best subset
Logical if TRUE include intercept
Logical if TRUE intercept already included
pv In order, the number of linear approximation, the included covariates, the P-values, sum of squared residuals .
# NOT RUN { data(boston) bostint<-fgeninter(boston[,1:13],2)[[1]] a<-f2st(boston[,14],bostint) # }
Run the code above in your browser using DataLab