Predict ordinal probabilities or outcome categories
a fitted fastglm_ordinal model.
prediction data frame for a formula fit, or a matrix with the location columns used during matrix fitting. Defaults to the fitted design.
"probability" (or "response") returns category
probabilities; "cumulative" returns probabilities through each
category except the last; "class" returns the most probable ordered
category; "link" returns the location predictor x beta + offset.
include model-based delta-method standard errors. They are unavailable for class predictions or unconverged fits.
optional replacement location offset.
further arguments; currently unused.
A vector or matrix, or a fastglm_prediction list with
fit, se.fit, and covariance.scope. See
fastglm-prediction-methods for printing and table extraction.
With collapsed empty interior categories, probability and cumulative uncertainty refer to the reduced category model. The removed category has fitted probability zero and unavailable probability standard error.