predict.lqm: Predictions from LQM Objects

Description Usage Arguments Value Author(s) See Also

View source: R/lqm.R

Description

This function computes predictions based on fitted linear quantile model.

Usage

1
2
3
4
5
6
## S3 method for class 'lqm'
predict(object, newdata, interval = FALSE,
	level = 0.95, na.action = na.pass, ...)
## S3 method for class '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.

Author(s)

Marco Geraci

See Also

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


lqmm documentation built on May 2, 2019, 4:46 p.m.