
Average treatment effect from potential outcomes
Source:R/causal_native.R
morie_ate_potential_outcomes.Rd\(ATE = E[Y(1) - Y(0)]\). The two arms may be the same units seen
under both conditions (paired = TRUE) or different units.
The distinction is explicit rather than inferred from matching
lengths, because the variance formulas differ sharply: pairing uses
\(Var(Y(1) - Y(0))/n\), which accounts for the covariance between
arms, while independent arms use \(s_1^2/n_1 + s_0^2/n_0\). With
strongly correlated arms the paired standard error is many times
smaller, so guessing would mis-state every interval.