Skip to content

Commit 1bb37b1

Browse files
igerberclaude
andcommitted
Address P2/P3: fix REGISTRY replicate list, update stale error message
- Replace LinearRegression (internal helper) with StaggeredTripleDifference (public estimator) in REGISTRY.md replicate-weight support matrix - Update wild bootstrap + survey error message to remove stale "planned Phase 5 support" reference Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7180d94 commit 1bb37b1

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

diff_diff/survey.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,8 +1087,8 @@ def _resolve_survey_for_fit(survey_design, data, inference_mode="analytical"):
10871087
if inference_mode == "wild_bootstrap":
10881088
raise NotImplementedError(
10891089
"Wild bootstrap with survey weights is not yet supported. "
1090-
"Use inference='analytical' with survey_design, or see "
1091-
"docs/survey-roadmap.md for planned Phase 5 support."
1090+
"Use inference='analytical' with survey_design, or use "
1091+
"survey-aware multiplier bootstrap (n_bootstrap > 0)."
10921092
)
10931093

10941094
resolved = survey_design.resolve(data)

docs/methodology/REGISTRY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2307,11 +2307,11 @@ variance from the distribution of replicate estimates.
23072307
design structure is fixed and dropped replicates contribute zero to the
23082308
sum without changing the scale. Survey df uses `n_valid - 1` for
23092309
t-based inference.
2310-
- **Note:** Replicate-weight support matrix (12 of 15 estimators):
2310+
- **Note:** Replicate-weight support matrix (12 of 15 public estimators):
23112311
- **Supported**: CallawaySantAnna (reg/ipw/dr with or without covariates,
23122312
no bootstrap; IF-based replicate variance is covariate-agnostic),
23132313
ContinuousDiD (no bootstrap), EfficientDiD (no bootstrap),
2314-
TripleDifference (all methods), LinearRegression (OLS path),
2314+
TripleDifference (all methods), StaggeredTripleDifference (IF-based),
23152315
DifferenceInDifferences (no-absorb via LinearRegression dispatch,
23162316
absorb via estimator-level refit), MultiPeriodDiD (no-absorb via
23172317
`compute_replicate_vcov`, absorb via estimator-level refit),

0 commit comments

Comments
 (0)