Learn R Programming

Qtools (version 1.0)

predict.rq.bin: Predictions from rq.bin Objects

Description

This function computes predictions based on fitted binary quantile models.

Usage

## S3 method for class 'rq.bin':
predict(object, newdata, na.action = na.pass,
	type = "latent", grid = TRUE, ...)

Arguments

Value

a vector or a matrix of predictions.

Details

If type = "latent" (default), the predictions are for the conditional quantiles of the latent response variable; if type = "probability", the predictions are for the conditional probabilities of the observable response. Note that type = "probability" is possible only when normalize = "last" in rq.bin call. The probabilities are predicted over a grid of values.

See Also

rq.bin, coef.rq.bin