Skip to contents

Summarize repeated-effects models with optional coefficient inference

Usage

# S3 method for class 'mars_repeated'
summary(
  object,
  inference = NULL,
  test = NULL,
  robust_type = NULL,
  cluster = NULL,
  hksj_adjust = NULL,
  level = 0.95,
  ...
)

Arguments

object

A fitted mars_repeated object.

inference

NULL preserves the usual summary; model or robust explicitly selects the coefficient inference framework for this summary only.

test

NULL uses normal model inference or the stored robust test. Options are z, t, Satterthwaite, and hksj (knha alias). Robust inference additionally accepts naive-t and naive-tp; robust t means naive-t (clusters minus one df).

robust_type

Optional robust covariance, such as CR2 or CR3. Defaults to the stored selection, or CR2 with an explicit cluster.

cluster

Optional column name in the fitted analysis data identifying independent robust clusters. Defaults to the stored robust clustering column.

hksj_adjust

standard (default) or modified, which floors the Hartung-Knapp variance multiplier at one. Only valid with test='hksj'.

level

Pointwise confidence level for location and scale coefficients, default 0.95.

...

Reserved; unused arguments are rejected.

Value

A mars_repeated copy with a coefficient table and inference metadata.

Details

Model normal, expected-information Satterthwaite and cluster-robust inference are supported. Model Satterthwaite requires positive estimated common heterogeneity. Default robust clustering is by study. HKSJ and residual-df model t inference are unsupported for dependent effects. Overrides affect only coefficient tests and confidence intervals in a copy.

See also

mars_inference_options for model-specific restrictions.