This function computes predictions based on quantile ratio regression models.
# S3 method for qrr
predict(object, newdata, na.action = na.pass,
type = "response", ...)
a vector of predictions.
an object of class
qrr
.
an optional data frame in which to look for variables with which to predict. If omitted, the fitted values are used.
function determining what should be done with missing values in newdata
. The default is to predict NA
.
the type of prediction required. The default "response"
is on the scale of the response variable, i.e. the values are back-transformed using the inverse of the link function \(g^{-1}(Xb) = 1 + exp(Xb)\); the alternative "link"
is on the scale of the linear predictor.
not used.
Marco Geraci
qrr