View source: R/mainFunctions.R
qic.select | R Documentation |
Selects tuning parameters using IC. If weights were used for the loss function then same weights will be used in calculating IC.
qic.select(obj, ...)
obj |
A rq.pen.seq or rq.pen.seq.cv object. |
... |
Additional arguments see qic.select.rq.pen.seq() or qic.select.rq.pen.seq.cv() for more information. |
Returns a qic.select object.
Ben Sherwood, ben.sherwood@ku.edu
qrbicrqPen
set.seed(1)
x <- matrix(runif(800),ncol=8)
y <- 1 + x[,1] + x[,8] + (1+.5*x[,3])*rnorm(100)
m1 <- rq.pen(x,y,penalty="ENet",a=c(0,.5,1),tau=c(.25,.75))
qic.select(m1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.