You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(continuous-did): paper-faithful backward-to-zero discrete ACRT (fixes CI P1)
CI review flagged that a single positive dose (J=1) returned ACRT=0, which
contradicts the documented binary identity ACRT=ATT and the paper's Eq. 4.1
d_0=0 discrete setup. The prior forward-difference at the lowest dose was a
deviation; switch to the paper's backward difference on the grid {0, d_1, ...,
d_J} (d_0=0, ATT(0)=0), so ACRT(d_1) = ATT(d_1)/d_1 and a binary D in {0,1}
gives ACRT=ATT. Only the lowest dose's row changes; the j>=2 adjacent backward
differences are unchanged.
Consequence (correct): reg/dr share ACRT(d_j) for j>=2 (the constant DR
augmentation cancels in adjacent differences) but differ at ACRT(d_1) by
eta_cont/d_1 -- d_1 references the fixed baseline ATT(0)=0, which the
augmentation does not shift. The dr influence function now carries the
augmentation variance at d_1 (analytical ACRT(d_1) SE matches the multiplier
bootstrap); applied only on the discrete path, so the validated B-spline
covariate IF is byte-identical. The all-same-dose "ACRT will be 0" warning is
suppressed on the discrete path (single-dose ACRT = ATT(d_1)/d_1 != 0).
Updates REGISTRY Note #5/#6 + Key Equations, continuous-did.md 5.1, CHANGELOG,
llms-full.txt, docstring; adds binary-single-dose and dr-ACRT-analytical-vs-
bootstrap tests; updates the ACRT-boundary / reg-dr / DGP-recovery tests.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LHDijzf8zHXk5T8ahS2mKi
0 commit comments