dot-weighted_win_prob: Weighted Mann-Whitney / win-probability estimator

.weighted_win_probR Documentation

Weighted Mann-Whitney / win-probability estimator

Description

⁠P(Y1 > Y0) + 0.5 P(Y1 = Y0)⁠, weighted by SBW weights within each arm. Finite/uncensored outcomes only.

Usage

.weighted_win_prob(y1, w1, y0, w0)

Arguments

y1, w1

Outcome and weights for the treated arm.

y0, w0

Outcome and weights for the control arm.

Value

Scalar win-probability estimate.


sbwadjust documentation built on Oct. 10, 2026, 5:08 p.m.