
Last chance! 50% off unlimited learning
Sale ends in
mht
or mht.order
objectmht
or mht.order
object. Four plots (selectable by which.plot) are currently available: a plot of the fitted values against the true values, a plot of the residuals against the fitted values, a Normal Q-Q plot, and a barplot showing the coefficients.
"plot"(x,which.plot=1:4,...)
"plot"(x,which.plot=1:4,...)
alpha
of the mht
or mht.order
object.For the Normal Q-Q plot, the standardized residuals are used. They are calculated as R[i]/sqrt(var(R)).
mht
, mht.order
## Not run:
# x=matrix(rnorm(100*20),100,20)
# beta=c(rep(2,5),rep(0,15))
# y=x%*%beta+rnorm(100)
#
# # mht
# mod=mht(x,y,alpha=c(0.1,0.05),maxordre=15)
# plot(mod)
#
# # mht.order
# mod.order=mht.order(x,y,ordre=5:1,alpha=c(0.1,0.05))
# plot(mod.order)
# ## End(Not run)
Run the code above in your browser using DataLab