lqmm (version 1.5.3)

predict.lqm: Predictions from LQM Objects

Description

This function computes predictions based on fitted linear quantile model.

Usage

# S3 method for lqm
predict(object, newdata, interval = FALSE,
	level = 0.95, na.action = na.pass, ...)
# S3 method for lqm.counts
predict(object, newdata,
	na.action = na.pass, ...)

Arguments

object

an lqm or lqm.counts object.

newdata

an optional data frame in which to look for variables with which to predict. If omitted, the fitted values are used.

interval

logical flag. If TRUE, bootstrap percentile intervals for predictions are provided. This argument is for lqm objects only.

level

confidence level. This argument is for lqm objects only.

na.action

function determining what should be done with missing values in newdata. The default is to predict NA.

further arguments passed to boot.lqm.

Value

a vector or a matrix or an array of predictions.

See Also

residuals.lqm, residuals.lqm.counts, lqm, lqm.counts, coef.lqm, boot.lqm