powered by
Stepwise selection of covariates
f1st(y,x,p0=0.01,nu=1,km=0,mx=21,kx=0,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
The maximum number covariates for an all subset search
The excluded covariates
Logical if TRUE best subset selected.to include intercept
Logical if TRUE include intercept if not present
Logical if TRUE intercept already present
pv The in order selected covariates, the regression coefficients, the P-values, the standard P-values.
res The residuals
stpv The in order stepwise P-values, sum of squared residuals and the percentage sum of squared residuals explained
# NOT RUN { data(boston) bostint<-fgeninter(boston[,1:13],2)[[1]] a<-f1st(boston[,14],bostint,km=10,sub=TRUE) # }
Run the code above in your browser using DataLab