This function computes predictions based on fitted linear quantile model.
# 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, ...)
an lqm
or lqm.counts
object.
an optional data frame in which to look for variables with which to predict. If omitted, the fitted values are used.
logical flag. If TRUE
, bootstrap percentile intervals for predictions are provided. This argument is for lqm
objects only.
confidence level. This argument is for lqm
objects only.
function determining what should be done with missing values in newdata
. The default is to predict NA
.
further arguments passed to boot.lqm
.
a vector or a matrix or an array of predictions.
residuals.lqm
, residuals.lqm.counts
, lqm
, lqm.counts
, coef.lqm
, boot.lqm