Methods for cumulative-link ordinal fits

# S3 method for class 'fastglm_ordinal'
update(object, formula., ..., evaluate = TRUE)

# S3 method for class 'fastglm_ordinal'
coef(object, component = c("all", "location", "threshold"), ...)

# S3 method for class 'fastglm_ordinal'
vcov(
  object,
  component = c("all", "location", "threshold"),
  type = c("model", "HC0", "HC1"),
  cluster = NULL,
  cadjust = TRUE,
  block.size = 8192L,
  ...
)

# S3 method for class 'fastglm_ordinal'
summary(object, vcov. = NULL, ...)

# S3 method for class 'fastglm_ordinal'
confint(
  object,
  parm,
  level = 0.95,
  method = c("wald", "profile"),
  control = list(),
  ...
)

Arguments

object

a fitted fastglm_ordinal model.

formula.

optional change to the formula, as in `update()`.

...

further method arguments.

evaluate

evaluate the updated call or return it for inspection.

component

return all parameters, location slopes, or thresholds.

type

covariance convention: "model" uses expected Fisher information; "HC0" and "HC1" use the ordinary-score sandwich described in fastglm_vcov().

cluster

optional cluster identifiers for robust covariance.

cadjust

apply the cluster-count correction for robust covariance.

block.size

number of rows processed together for robust covariance.

vcov.

optional full coefficient covariance for the summary. Defaults to model-based expected Fisher information.

parm

parameters by name or position; defaults to all parameters.

level

confidence level.

method

"wald" for the default expected-information normal intervals, or "profile" for maximum-likelihood profile intervals. Profiles re-estimate all remaining coefficients at each selected value and invert an asymptotic likelihood-ratio test. They require an ML fit, retained dense data, and every declared category observed.

control

numerical controls for profile inference: maxit=300, score.tol=1e-7, step.tol=1e-7, root.tol=1e-6, max.expand=25, max.root=100, max.halves=35, max.step=4, and condition.tol=1e-14. Scores are standardized by expected information in the nuisance coordinates; step.tol controls the remaining cumulative-predictor change. Root tolerances use units of the coefficient's fitted standard error. Failed endpoints are missing with attached diagnostics; exhausting the search is not interpreted as an infinite endpoint. These are first-order model-based intervals, not exact small-sample or cluster-robust intervals.

Value

Coefficients, covariance, or model summaries, as appropriate.