summary.tsesimp: Summary method for tsesimp objects

View source: R/summary.tsesimp.R

summary.tsesimpR Documentation

Summary method for tsesimp objects

Description

Summarizes reporting items and treatment effect estimates from a simple two-stage estimation fit.

Usage

## S3 method for class 'tsesimp'
summary(object, ...)

Arguments

object

An object of class tsesimp.

...

Additional arguments passed to or from other methods.

Details

The model_missingness component reports distinct subjects by treatment arm and model, with columns predictor, n, total, and pct. It includes each covariate (including stratification variables), Any covariate missing, and Included in model. Percentages use subjects with eligible input records as the denominator, before covariate complete-case filtering. Missingness means that at least one eligible record has a missing value; inclusion counts distinct IDs in the retained model input data. Other model requirements may also exclude subjects. With longitudinal data, subjects with both missing and retained complete records can appear in both counts. This component is not printed as part of the summary. TSEs5 prints expanded predictor missingness and inclusion among eligible pre-filter observations. Its total is the number of such observations; the included count reflects all model requirements, not only the displayed predictors. In the corresponding aft_missing_predictors component, missing and missing_pct hold the included count and percentage on that row.

Value

An object of class summary.tsesimp containing the analysis population, reporting checklist, treatment effect estimates, AFT and outcome-model parameter estimates, and bootstrap summary.

Author(s)

Kaifeng Lu, kaifenglu@gmail.com


trtswitch documentation built on Dec. 2, 2026, 5:06 p.m.