Optional methods for the broom generics, with thresholds distinguished from location slopes and the estimation method retained in model summaries.

tidy.fastglm_ordinal(
  x,
  conf.int = FALSE,
  conf.level = 0.95,
  exponentiate = FALSE,
  component = c("all", "location", "threshold"),
  vcov. = NULL,
  ...
)

glance.fastglm_ordinal(x, ...)

augment.fastglm_ordinal(x, data = NULL, newdata = NULL, se_fit = FALSE, ...)

Arguments

x

a fitted fastglm_ordinal model.

conf.int

include normal confidence limits.

conf.level

confidence level.

exponentiate

exponentiate location slopes and their confidence limits to common odds ratios. Thresholds and standard errors remain on their original scales.

component

include all parameters, location slopes, or thresholds.

vcov.

optional full covariance matrix for a converged fit.

...

further arguments; currently unused.

data

optional original data to accompany training predictions, in the same row order. With na.exclude, include the omitted rows.

newdata

optional new prediction data; cannot be combined with data. Residuals are supplied only for training predictions.

se_fit

include model-based category-probability standard errors.

Value

A data frame with one row per parameter for tidy(), one row per model for glance(), or one row per observation for augment().

Details

Thresholds have no reported zero-null statistic or p-value. Nonconverged fits retain point estimates with unavailable uncertainty. For bias-reduced fits, the likelihood, AIC, and BIC in glance() use the ordinary likelihood evaluated at those estimates; this is not a maximized likelihood or a bias-reduced information criterion.

augment() appends a matrix column .fitted of category probabilities, an ordered-factor column .class, and, for training rows, probability-scale residuals in .resid. The optional matrix column .se.fit contains model-based probability standard errors. When original data are not supplied, retained model-frame or design values are used; covariates in omitted rows are unavailable and restored as missing.