| predict.crch {crch} | R Documentation | 
Predicted/Fitted Values for CRCH Fits
Description
Obtains various types of predictions for crch models.
Usage
## 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, ...)
## S3 method for class 'crch'
prodist(object, newdata = NULL, na.action = na.pass,
  left = NULL, right = NULL, ...)
Arguments
| 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. | 
Value
The predict method, for type "response", "location", or "scale",
returns 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.
The prodist method returns the fitted/predict probability distribution object.