predict.qic.select {rqPen}R Documentation

Predictions from a qic.select object

Description

Predictions from a qic.select object

Usage

## S3 method for class 'qic.select'
predict(object, newx, ...)

Arguments

object

qic.select object

newx

Data matrix to make predictions from.

...

optional arguments

Value

A matrix of predicted values.

Author(s)

Ben Sherwood, ben.sherwood@ku.edu

Examples

x <- matrix(runif(800),ncol=8)
y <- 1 + x[,1] + x[,8] + (1+.5*x[,3])*rnorm(100)
m1 <- rq.pen(x,y,tau=c(.25,.75))
q1 <- qic.select(m1)
newx <- matrix(runif(80),ncol=8)
preds <- predict(q1,newx)

[Package rqPen version 4.1.1 Index]