mht.order(data,Y,ordre,var_nonselect,alpha,IT,sigma,showresult)
data
. Default is 1, the selection is not performed on the intercept.alpha
=(0.1,0.05)predict
, refit
and plot
are available.
alpha
.alpha
.alpha
alpha
.alpha
.showresult
=TRUE, the statistics and quantile are printed through the algorithm. If the statistic is greater than the quantile, the test is rejected (takes the value 1). The procedure stops when the null huypothesis is accepted (all alternative hypotheses are 0).
The statistics to test the null hypotheses are different whether the variance sigma
is known.predict.mht.order
, refit.mht.order
, plot.mht.order
## Not run:
# x=matrix(rnorm(100*20),100,20)
# beta=c(rep(2,5),rep(0,15))
# y=x%*%beta+rnorm(100)
#
# mod.order=mht.order(x,y,ordre=5:1,alpha=c(0.1,0.05))
# mod.order
# ## End(Not run)
Run the code above in your browser using DataLab