Commit 16ad99c
Address codex R6 P3s on HAD: trends_lin already shipped + scope wording
- P3 (Methodology): the promoted HAD materials described the Eq. 17/18
`trends_lin=True` linear-trend-detrended variant as "deferred per Phase 4".
This conflated TWO different things: (a) the FEATURE — which is shipped
via the `trends_lin: bool = False` keyword-only kwarg on HAD.fit(),
joint_pretrends_test, and joint_homogeneity_test (PR igerber#389; R-parity locked
against DIDHAD::did_had(trends_lin=TRUE) v2.0.0 in test_did_had_parity.py);
and (b) the PIERCE-SCHOTT NUMERICAL REPLICATION against the published
p=0.51 anchor on the LBD-restricted panel, which IS waived per REGISTRY
Deviations Note igerber#3. Updated 3 surfaces (paper-review L194, METHODOLOGY_REVIEW
Eq. 18 Verified-Components row, test_methodology_had.py module docstring +
TestHADJointStute class docstring) to distinguish "feature shipped + R-parity
locked elsewhere" from "Pierce-Schott numerical replication waived".
- P3 (Documentation/Tests): TestHADJointStute promotion narrative overstated
H1 coverage as "H0 fail-to-reject and H1 reject on linear vs nonlinear DGPs"
for both joint_pretrends_test and joint_homogeneity_test. Reality: H1
rejection is tested only on joint_homogeneity_test via a quadratic post-
DGP; joint_pretrends_test gets H0-only coverage in this file (H1 would
require a violating-pretrends fixture that re-verifies bootstrap calibration
covered by test_had_pretests.py). Narrowed wording in METHODOLOGY_REVIEW
Verified-Components row + TestHADJointStute class docstring; CHANGELOG entry
unchanged (the H1 reject claim in CHANGELOG explicitly cites the homogeneity
side via "H1 reject under nonlinear DGP", which is accurate).
All 35 methodology tests pass; lint clean.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 0fd4564 commit 16ad99c
3 files changed
Lines changed: 26 additions & 7 deletions
File tree
- docs/methodology/papers
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
697 | 697 | | |
698 | 698 | | |
699 | 699 | | |
700 | | - | |
| 700 | + | |
701 | 701 | | |
702 | 702 | | |
703 | 703 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| |||
701 | 706 | | |
702 | 707 | | |
703 | 708 | | |
704 | | - | |
705 | | - | |
706 | | - | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
707 | 726 | | |
708 | 727 | | |
709 | 728 | | |
| |||
0 commit comments