Man pages for sbwadjust
Stable Balancing Weights for Covariate Adjustment in Trials

boot_km_ratioBootstrap CI for an SBW-weighted KM survival ratio
dot-build_designBuild the balance design matrix from a one-sided formula
dot-clip_weightsClip small/negative numerical noise out of a QP weight...
dot-extract_surv_at_t0Extract survival + SE at a fixed time from a 'survfit'...
dot-n_zero_by_armCount units with (numerically) zero SBW weight in each arm
dot-recode_treatmentRecode a raw treatment vector to 0/1, recording the level map...
dot-resolve_outcomeResolve the outcome formula against the analysis-stage data
dot-resolve_treatmentResolve the 'treatment' argument (column name or vector)...
dot-weighted_meanWeighted mean
dot-weighted_quantileWeighted generalized-inverse (step-function) quantile
dot-weighted_win_probWeighted Mann-Whitney / win-probability estimator
dot-zero_weight_phrasePhrase zero-weight counts, e.g. "6 of 8 treated and 2 of 40...
get_sbws_for_studyStudy-level SBW weights: closed-form first, QP fallback if...
get_weights_for_group_negClosed-form SBW group weights (negative weights allowed)
get_weights_for_group_nonnegNonnegative-QP SBW group weights, with clipping diagnostics
km_ratio_greenwoodWeighted KM survival ratio S1(t0)/S0(t0) with a...
plot.sbw_fitPlot covariate balance before and after SBW weighting
sbwadjust-packagesbwadjust: Stable Balancing Weights for Covariate Adjustment...
sbw_estimateEstimate a treatment effect from a fitted 'sbw_fit' object
sbw_weightsFit stable balancing weights for a two-arm study (design...
summary.sbw_fitSummarize an 'sbw_fit': balance table and weight diagnostics
sbwadjust documentation built on Oct. 10, 2026, 5:08 p.m.