Predicted/Fitted Values for CRCH Fits
Obtains various types of predictions for crch
models.
## S3 method for class 'crch' predict(object, newdata = NULL, type = c("location", "scale", "response", "parameter", "density", "probability", "quantile", "crps"), na.action = na.pass, at = 0.5, left = NULL, right = NULL, ...)
object |
an object of class |
newdata |
an optional data frame in which to look for variables with which to predict. |
type |
type of prediction: |
na.action |
a function which indicates what should happen when the data
contain |
at |
a vector of values to evaluate the predictive density ( |
left |
left censoring or truncation point. Only used for |
right |
right censoring or truncation point. Only used for |
... |
further arguments passed to or from other methods. |
For type "response"
, "location"
, or "scale"
a vector with
either the location or the scale of the predicted distribution.
For type "quantile"
a matrix of predicted quantiles each column
corresponding to an element of at
.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.