dot-n_zero_by_arm: Count units with (numerically) zero SBW weight in each arm

.n_zero_by_armR Documentation

Count units with (numerically) zero SBW weight in each arm

Description

Counted directly from the weights rather than from n_clipped, which counts QP rounding noise (not units dropped) and varies by platform.

Usage

.n_zero_by_arm(w, A)

Arguments

w

Numeric vector of SBW weights.

A

0/1 treatment vector.

Value

Named integer vector c(treated = , control = ).


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