|
| 1 | +Heterogeneous Adoption Difference-in-Differences |
| 2 | +================================================ |
| 3 | + |
| 4 | +Estimator for designs where **no unit remains untreated** at the post period |
| 5 | +- every unit `g` receives a strictly positive heterogeneous dose `D_{g,2} > 0`, |
| 6 | +and there is no genuinely untreated control group to anchor a standard DiD |
| 7 | +contrast. |
| 8 | + |
| 9 | +This module implements the methodology from de Chaisemartin, Ciccia, |
| 10 | +D'Haultfœuille & Knau (2026), "Difference-in-Differences Estimators When No |
| 11 | +Unit Remains Untreated" (arXiv:2405.04465v6), which: |
| 12 | + |
| 13 | +1. **Targets the Weighted Average Slope (WAS)** as the identified parameter |
| 14 | + when no untreated comparison group exists (paper Equation 2). |
| 15 | +2. **Uses local-linear regression at the support boundary** to estimate the |
| 16 | + slope of the dose-outcome relationship at the lowest observed dose. |
| 17 | +3. **Provides bias-corrected confidence intervals** (Calonico, Cattaneo & Titiunik |
| 18 | + 2014 / `nprobust`-style) and HC2 / Bell-McCaffrey small-sample SEs. |
| 19 | +4. **Extends to multi-period event-study settings** (paper Appendix B.2), |
| 20 | + producing per-horizon WAS effects with correlated standard errors and |
| 21 | + sup-t bands. |
| 22 | + |
| 23 | +.. note:: |
| 24 | + |
| 25 | + **When to use HAD.** Use ``HeterogeneousAdoptionDiD`` when your panel has |
| 26 | + no untreated unit at any treatment period (e.g. universal-rollout policies, |
| 27 | + industry-wide tariff changes) but treatment intensity varies across units. |
| 28 | + For panels with a never-treated control group and continuous treatment, |
| 29 | + use :class:`~diff_diff.ContinuousDiD` instead. For binary reversible |
| 30 | + treatments, use :class:`~diff_diff.ChaisemartinDHaultfoeuille`. |
| 31 | + |
| 32 | +HeterogeneousAdoptionDiD |
| 33 | +------------------------ |
| 34 | + |
| 35 | +.. autoclass:: diff_diff.HeterogeneousAdoptionDiD |
| 36 | + :members: |
| 37 | + :undoc-members: |
| 38 | + :show-inheritance: |
| 39 | + |
| 40 | +HeterogeneousAdoptionDiDResults |
| 41 | +------------------------------- |
| 42 | + |
| 43 | +Single-period results container for ``HeterogeneousAdoptionDiD`` estimation. |
| 44 | + |
| 45 | +.. autoclass:: diff_diff.HeterogeneousAdoptionDiDResults |
| 46 | + :members: |
| 47 | + :undoc-members: |
| 48 | + :show-inheritance: |
| 49 | + |
| 50 | +HeterogeneousAdoptionDiDEventStudyResults |
| 51 | +----------------------------------------- |
| 52 | + |
| 53 | +Multi-period event-study results container for the Appendix B.2 extension. |
| 54 | + |
| 55 | +.. autoclass:: diff_diff.HeterogeneousAdoptionDiDEventStudyResults |
| 56 | + :members: |
| 57 | + :undoc-members: |
| 58 | + :show-inheritance: |
0 commit comments