Calculates all possible subsets and selects those where each included covariate is significant using a robustified version of flmmdch.R
frmch(y,x,cn=1,p0=0.01,sg=0,ind=0,sl=T,of=T,xof=F)
Dependent variable
Covariates
Constant for Huber's psi-function
The P-value cut-off
The scale parameter
The subset for which the results are required
Logical, if TRUE remove all subsets of chosen sets
Logical if TRUE include intercept
Logical If TRUE intercept already included
nv List of subsets with number of covariates and scale.
# NOT RUN { data(boston) a<-frmch(boston[,14],boston[,1:10]) ind<-decode(235,10) # }
Run the code above in your browser using DataLab