predict.midrq {Qtools} | R Documentation |
Predictions from Mid-Quantile Regression Models
Description
This function computes predictions based on fitted mid-quantile regression models.
Usage
## S3 method for class 'midrq'
predict(object, newdata, offset, na.action = na.pass,
type = "response", ...)
Arguments
object |
an object of |
newdata |
an optional data frame in which to look for variables with which to predict. If omitted, the fitted values are used. |
offset |
an optional offset to be included in the model frame (when |
na.action |
function determining what should be done with missing values in |
type |
the type of prediction required. The default |
... |
not used. |
Value
a vector or a matrix or an array of predictions.
Author(s)
Marco Geraci
See Also
residuals.midrq
, midrq
, coef.midrq