predict.qrr: Predictions from Quantile Ratio Regression Models

View source: R/Qtools_qrr.R

predict.qrrR Documentation

Predictions from Quantile Ratio Regression Models

Description

This function computes predictions based on quantile ratio regression models.

Usage

## S3 method for class 'qrr'
predict(object, newdata, na.action = na.pass,
type = "response", ...)

Arguments

object

an object of class qrr.

newdata

an optional data frame in which to look for variables with which to predict. If omitted, the fitted values are used.

na.action

function determining what should be done with missing values in newdata. The default is to predict NA.

type

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.

Value

a vector of predictions.

Author(s)

Marco Geraci

See Also

qrr


Qtools documentation built on Nov. 2, 2023, 6:11 p.m.