summary.mcee_fit: Summarize an mcee fit

View source: R/summary.mcee.R

summary.mcee_fitR Documentation

Summarize an mcee fit

Description

Prints coefficient tables for the Natural Direct Excursion Effect (alpha) and Natural Indirect Excursion Effect (beta), with small-sample t inference. Optionally reports linear combinations and Stage-1 nuisance summaries.

Usage

## S3 method for class 'mcee_fit'
summary(
  object,
  lincomb_alpha = NULL,
  lincomb_beta = NULL,
  lincomb_joint = NULL,
  conf_level = 0.95,
  show_nuisance = FALSE,
  ...
)

Arguments

object

An object of class "mcee_fit".

lincomb_alpha, lincomb_beta

Optional numeric vector or matrix specifying linear combinations of alpha or beta coefficients.

lincomb_joint

Optional numeric vector or matrix specifying linear combinations of the stacked parameter c(alpha, beta).

conf_level

Confidence level for Wald intervals (default 0.95).

show_nuisance

Logical; if TRUE, prints a compact summary of Stage-1 nuisance fits.

...

Unused.

Value

A list of class "summary.mcee_fit" with printed side effects.

Examples

# s <- summary(fit, lincomb_alpha = c(1, 9), lincomb_beta = c(1, 9))

MRTAnalysis documentation built on Sept. 9, 2025, 5:41 p.m.