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,cnr=c(1,2,4),p0=0.01,q=-1,sg=0,ind=0,sel=T,inr=T,xinr=F,red=F)
Dependent variable
Covariates
Constant for Huber's psi-function
Constants for for Hampel's three part redescending psi-function
The P-value cut-off
The numer of covariates available
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
Logical If true Hampel's three part redescending psi function
nv List of subsets with number of covariates and scale.
# NOT RUN { data(boston) a<-frmch(boston[,14],boston[,1:6]) ind<-decode(57,6) # }
Run the code above in your browser using DataLab