This function computes predictions based on fitted quantile regression transformation models.
# S3 method for rqt
predict(object, newdata, na.action = na.pass,
type = "response", namevec = NULL, ...)
a vector or a matrix or an array of predictions.
an object of class
rqt
.
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 transformation "link"
is on the scale of the linear predictors "maref"
.
character giving the name of the covariate with respect to which the marginal effect is to be computed. If type = "maref"
, this argument is required. See maref.rqt
.
not used.
Marco Geraci
residuals.rqt
, tsrq
, coef.rqt
, maref.rqt