powered by
Calculates all possible subsets and selects those where each included covariate is significant using a robustified version of fasb.R
frasb(y,x,cn=1,cnr=c(1,3,5),p0=0.01,q=-1,sg=0,ind=0,sel=T,inr=T,xinr=F,red=F)
nv Coded list of subsets with number of covariates and scale ordered according to scale.
The dependent variable
The covariates
The constant for Huber's psi-function
The constants for for Hampel's three part redescending psi-function
The P-value cut-off
If q>0 the number of covariates from which ind was chosen
The scale parameter
The subset for which the results are required
Logical, if TRUE removes all subsets of chosen sets
Logical if TRUE include intercept
Logical If TRUE intercept included in x
Logical If true Hampel's three part redescending psi function
data(boston) a<-frasb(boston[,14],boston[,1:8]) ind<-decode(235,8)
Run the code above in your browser using DataLab