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
docs: HAD ecosystem completion (RTD audit Batch A)
Closes the gaps left after PR igerber#372 added HeterogeneousAdoptionDiD to the
canonical surfaces. The narrative pages did not yet mention HAD, and the
12-symbol HAD pretest suite shipped in `had_pretests.py` was absent from
the API page. Also refreshes the inference-contract block to use the
`survey_design=` canonical kwarg consolidated in PR igerber#376.
- `docs/api/had.rst`: new HAD Pretests section covering all 12 public
symbols (4 single-period tests + 4 result classes + 3 joint tests + 1
joint result), split into `aggregate="overall"` and
`aggregate="event_study"` subsections matching the workflow's dispatch.
Refreshes the existing inference-contract block to reference
`survey_design=make_pweight_design(weights)` (pweight shortcut) and
`survey_design=SurveyDesign(...)` (full TSL); notes `survey=` /
`weights=` are deprecated aliases.
- `docs/choosing_estimator.rst`: HAD entries in all 3 tables (Quick
Reference, Standard Error Methods, Survey Design Support) plus a new
"Universal Rollout / No Untreated Control" subsection in Detailed
Guidance. SE Methods row uses `survey_design=` canonical naming.
- `docs/r_comparison.rst`: HAD row in Feature Comparison Table, new
"No-Untreated Designs (no R parallel)" subsection, Migration Tips
bullet.
- `docs/troubleshooting.rst`: new HAD Issues section with 4 subsections
(estimand resolution / mass-point fallback / classical SE under
survey_design / panel-only event-study).
- `docs/practitioner_decision_tree.rst`: Start Here option 7, At a
Glance row, new "Universal Rollout" section with `_section-no-untreated`
anchor.
- `docs/doc-deps.yaml`: extend had_pretests.py entry with llms.txt
user-guide dep; add new top-level local_linear.py entry.
Verification: all 12 HAD pretest symbols importable; `make_pweight_design`
+ `SurveyDesign` importable; sphinx build succeeds with 0 new warnings
(71 pre-existing unaffected); HTML render contains expected HAD content
(276 hits in had.html, 4-8 in narrative pages); 0 em dashes;
`_section-no-untreated` anchor resolves.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Uses influence-function-based SEs by default. Use ``n_bootstrap=199`` (or higher) for multiplier bootstrap inference with proper CIs.
665
+
* - ``HeterogeneousAdoptionDiD``
666
+
- Path-dependent (CCT-2014 / 2SLS / Binder TSL)
667
+
- Three SE regimes per :doc:`api/had`. **Unweighted**: continuous-dose paths use the CCT-2014 weighted-robust SE from the in-house ``lprobust`` port; mass-point uses a 2SLS sandwich. **``survey_design=make_pweight_design(weights)``** (pweight shortcut): continuous reuses CCT-2014; mass-point uses analytical weighted 2SLS (``classical`` / ``hc1`` only). **``survey_design=SurveyDesign(...)``** (full TSL): both paths compose Binder (1983) Taylor-series linearization. Per-horizon CIs are pointwise; sup-t bands available only on the weighted event-study path via ``cband=True``. The deprecated ``survey=`` / ``weights=`` aliases still resolve with a DeprecationWarning.
618
668
* - ``SunAbraham``
619
669
- Cluster-robust (unit level)
620
670
- Clusters at unit level by default. Specify ``cluster`` to override. Use ``n_bootstrap`` for pairs bootstrap inference.
@@ -777,6 +827,11 @@ estimation. The depth of support varies by estimator:
- **Binder, D. A. (1983).** "On the Variances of Asymptotically Normal Estimators from Complex Surveys." *International Statistical Review*, 51(3), 279-292. https://doi.org/10.2307/1402588
68
68
69
-
Foundational TSL (Taylor-Series Linearization) variance derivation used across diff-diff's survey-aware estimators (``compute_survey_if_variance`` and the per-estimator influence-function compositions, including the dCDH and HeterogeneousAdoptionDiD ``survey=`` paths).
69
+
Foundational TSL (Taylor-Series Linearization) variance derivation used across diff-diff's survey-aware estimators (``compute_survey_if_variance`` and the per-estimator influence-function compositions, including the dCDH and HeterogeneousAdoptionDiD ``survey_design=`` paths).
0 commit comments