mht(data,Y,var_nonselect,alpha,sigma,maxordre,ordre,m,show,IT,maxq)
data
. Default is 1, the selection is not performed on the intercept.dyadiqueordre
, "pval" uses the p-values obtained with a regression on the full set of variables (only when prefit
, predict
and plot
are available.
alpha
.alpha
.alpha
alpha
.maxordre
variables.alpha
.mht
is a two-step procedure that performs variable selection in high dimensional linear model. The first step orders the variables taking into account the vector of observations Y
. The second step finds a cut-off between the relevant variables (high rank) and the irrelevant ones (low rank) through multiple hypotheses testing.
The input maxordre is not to be forgotten: the more variables to order, the more difficult for the algorithm to distinguish which noisy variable is more important that another noisy variable. It is advised to limit maxordre to p/2
or n/2
if they are large. The parameter maxq can be useful for large value of n
, it is advised to limit it to 5-6 in order to minimize computational time (for the calculation of the quantile).
predict.mht
, refit.mht
, plot.mht
## Not run:
# x=matrix(rnorm(100*20),100,20)
# beta=c(rep(2,5),rep(0,15))
# y=x%*%beta+rnorm(100)
#
# mod=mht(x,y,alpha=c(0.1,0.05),maxordre=15)
# mod
# ## End(Not run)
Run the code above in your browser using DataLab