This function computes predictions based on fitted binary quantile models.
1 2 3 |
object |
an |
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 |
type |
the type of prediction required. See details. |
grid |
either a vector of breakpoints or a logical flag. If |
... |
not used. |
If type = "latent"
(default), the predictions are for the conditional quantiles of the latent response variable; if type = "probability"
, the predictions are for the conditional probabilities of the observable response. Note that type = "probability"
is possible only when normalize = "last"
in rq.bin
call. The probabilities are predicted over a grid
of values.
a vector or a matrix of predictions.
Marco Geraci
rq.bin
, coef.rq.bin
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.