powered by
Stepwise selection of covariates
f1st(y,x,p0=0.01,kmn=0,kmx=0,kex=0,mx=21,sub=T,inr=T,xinr=F,qq=-1)
pv In order the included covariates, the regression coefficient values, the Gaussian P-values, the standard P-values.
res The residuals
stpv The covariates in order of selection, Gaussian P-values and sum of squared residuals.
Dependent variable
Covariates
The P-value cut-off
The minimum number of included covariates irrespective of cut-off P-value
The maximum number of included covariates irrespective of cut-off P-value.
The excluded covariates
The maximum number covariates for an all subset search
Logical if TRUE best subset selected
Logical if TRUE include intercept if not present
Logical if TRUE intercept already present
The number of covariates to choose from. If qq=-1 the number of covariates of x is used.
data(boston) bostint<-fgeninter(boston[,1:13],2)[[1]] a<-f1st(boston[,14],bostint,kmn=10,sub=TRUE)
Run the code above in your browser using DataLab