predict.qreg_gam | R Documentation |
This function predicts from multiple conditional linear quantile regression models of the residuals of
a generalised additive model fit using qreg_gam
.
## S3 method for class 'qreg_gam'
predict(
object,
newdata = NULL,
quantiles = NULL,
model_name = NULL,
sort = T,
sort_limits = NULL
)
object |
An |
newdata |
A data frame or data table containing the values of the model covariates at which predictions are required. |
quantiles |
The probability levels at which quantile predictions should be produced. |
model_name |
The name of the model in |
sort |
|
sort_limits |
|
Predict method for multiple quantile regression models of the class qreg_gam
.
A list with elements gam_pred
, deterministic predictions (conditional expectation) from
main GAM model, and mqr_pred
, multiple predictive quantiles in a MultiQR
object.
Jethro Browell, jethro.browell@glasgow.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.