powered by
Selection of covariates with given excluded covariates
f3sti(y,x,covch,ind,m,kexmx=100,p0=0.01,nu=1,kmn=0,kmx=0, mx=21,kex=0,sub=T,inr=T,xinr=F,qq=0)
mx=21,kex=0,sub=T,inr=T,xinr=F,qq=0)
Dependent variable
Covariates
Sum of squared residuals and selected covariates
The excluded covariates
Number of iterations
The maximum number of excluded covariates
The P-value cut-off
The order statistic of Gaussian covariates used for comparison
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 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=0 the number of covariates of x is used.
ind1 The excluded covariates covch The sum of squared residuals and the selected covariates ordered in increasing size of sum of squared residuals
# NOT RUN { data(leukemia_y) data(leukemia_x) covch=c(2.023725,1182,1219,2888,0) ind<-c(1182,1219,2888,0,0,0,0,0,0) ind<-matrix(ind,ncol=3) m<-3 a<-f3sti(ly.original,lx.original,covch,ind,m) # }
Run the code above in your browser using DataLab