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
P1 - docs/references.rst incomplete (5 missing citations)
- Add Baker, Larcker, Wang & Wang (2025) - "Difference-in-Differences Designs:
A Practitioner's Guide" arXiv:2503.13323; backs the 8-step Practitioner
Workflow now surfaced in README and llms-practitioner.txt.
- Add Callaway, Goodman-Bacon & Sant'Anna (2024) - "Difference-in-Differences
with a Continuous Treatment" NBER WP 32117; backs ContinuousDiD (under new
"Continuous Treatment DiD" section).
- Add Chen, Sant'Anna & Xie (2025) - "Efficient Difference-in-Differences and
Event Study Estimators"; backs EfficientDiD.
- Add de Chaisemartin & D'Haultfoeuille (2022, revised 2024) NBER WP 29873;
dynamic companion to dCDH 2020, backs the cohort-recentered plug-in
variance formula.
- Add Wooldridge (2025) Empirical Economics + Wooldridge (2023) Econometrics
Journal under new "Wooldridge ETWFE" sub-section; backs WooldridgeDiD's
saturated OLS and logit/Poisson QMLE paths.
P1 - .claude/commands/docs-check.md
- Replace broken `awk '/^## Estimators/,/^## /'` (self-terminates on opening
H2) with a flag-based extractor that skips the heading and stops at the
next H2.
- Special-case diagnostic-class items (HonestDiD): the workflow text now
routes them to `## Diagnostics & Sensitivity` in both llms.txt and README,
matching the existing table.
P2 - docs/doc-deps.yaml
- Retarget HonestDiD's README entry from "Estimators (one-line catalog
entry)" to "Diagnostics & Sensitivity (one-line entry)" so /docs-impact
flags the correct README section.
- Add `- path: docs/references.rst` (type: user_guide) to all 18 method-
backed source modules so /docs-impact and /pre-merge-check warnings
surface bibliography updates when source code changes.
P2 - README.md absolute links
- L83 docs/methodology/REPORTING.md, L182 CITATION.cff, L184 CONTRIBUTORS.md
switched to absolute https://github.com/igerber/diff-diff/blob/main/...
URLs so they resolve on PyPI (which does not auto-resolve relative paths).
P3 - README.md tutorial count
- Drop the "18" hard-coded count in the Tutorials bullet to prevent future
drift; repo currently has 19 notebooks.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Do NOT search for per-estimator README sections - they were intentionally removed in the 2026-04 docs refresh. The README's `## Estimators`heading is the only valid catalog surface.
149
+
Do NOT search for per-estimator README sections - they were intentionally removed in the 2026-04 docs refresh. The README's `## Estimators`and `## Diagnostics & Sensitivity` headings are the only valid catalog surfaces.
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ results.print_summary() # full statsmodels-style table
51
51
52
52
-[Quickstart](https://diff-diff.readthedocs.io/en/stable/quickstart.html) - basic 2x2 DiD with column-name and formula interfaces, covariates, fixed effects, cluster-robust SEs
53
53
-[Choosing an Estimator](https://diff-diff.readthedocs.io/en/stable/choosing_estimator.html) - decision flowchart for picking the right estimator
54
-
-[Tutorials](https://diff-diff.readthedocs.io/en/stable/tutorials/01_basic_did.html) - 18 hands-on Jupyter notebooks covering every estimator and design pattern
54
+
-[Tutorials](https://diff-diff.readthedocs.io/en/stable/tutorials/01_basic_did.html) - hands-on Jupyter notebooks covering every estimator and design pattern
55
55
-[Troubleshooting](https://diff-diff.readthedocs.io/en/stable/troubleshooting.html) - common issues and solutions
-[API Reference](https://diff-diff.readthedocs.io/en/stable/api/index.html) - full API for all estimators, results classes, diagnostics, utilities
@@ -80,7 +80,7 @@ Measuring campaign lift? Evaluating a product launch? Rolling out a policy in wa
80
80
-[Brand awareness survey tutorial](https://diff-diff.readthedocs.io/en/stable/tutorials/17_brand_awareness_survey.html) - full example with complex survey design, brand funnel analysis, and staggered rollouts
81
81
- Have BRFSS/ACS/CPS individual records? Use [`aggregate_survey()`](https://diff-diff.readthedocs.io/en/stable/api/prep.html) to roll respondent-level microdata into a geographic-period panel with inverse-variance precision weights for second-stage DiD
82
82
83
-
`BusinessReport` and `DiagnosticReport` are experimental preview classes that produce plain-English output and a structured `to_dict()` schema from any fitted result - wording and schema will evolve. See [docs/methodology/REPORTING.md](docs/methodology/REPORTING.md) for usage and stability notes.
83
+
`BusinessReport` and `DiagnosticReport` are experimental preview classes that produce plain-English output and a structured `to_dict()` schema from any fitted result - wording and schema will evolve. See [docs/methodology/REPORTING.md](https://github.com/igerber/diff-diff/blob/main/docs/methodology/REPORTING.md) for usage and stability notes.
84
84
85
85
## Practitioner Workflow (Baker et al. 2025)
86
86
@@ -179,9 +179,9 @@ If you use diff-diff in your research, please cite it:
179
179
180
180
The DOI above is the Zenodo concept DOI - it always resolves to the latest release. To cite a specific version, look up its versioned DOI on [the Zenodo project page](https://doi.org/10.5281/zenodo.19646175).
181
181
182
-
See [`CITATION.cff`](CITATION.cff) for the full citation metadata.
182
+
See [`CITATION.cff`](https://github.com/igerber/diff-diff/blob/main/CITATION.cff) for the full citation metadata.
183
183
184
-
**Note on authorship**: academic citation (`CITATION.cff`, the BibTeX above) lists individual authors with ORCIDs per scholarly convention. Package metadata surfaces (`pyproject.toml`, Sphinx docs) list "diff-diff contributors" to acknowledge the collective - see [`CONTRIBUTORS.md`](CONTRIBUTORS.md) for the full list.
184
+
**Note on authorship**: academic citation (`CITATION.cff`, the BibTeX above) lists individual authors with ORCIDs per scholarly convention. Package metadata surfaces (`pyproject.toml`, Sphinx docs) list "diff-diff contributors" to acknowledge the collective - see [`CONTRIBUTORS.md`](https://github.com/igerber/diff-diff/blob/main/CONTRIBUTORS.md) for the full list.
Copy file name to clipboardExpand all lines: docs/references.rst
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,17 @@ Two-Way Fixed Effects
19
19
20
20
- **Imai, K., & Kim, I. S. (2021).** "On the Use of Two-Way Fixed Effects Regression Models for Causal Inference with Panel Data." *Political Analysis*, 29(3), 405-415. https://doi.org/10.1017/pan.2020.33
21
21
22
+
Wooldridge ETWFE
23
+
----------------
24
+
25
+
- **Wooldridge, J. M. (2025).** "Two-Way Fixed Effects, the Two-Way Mundlak Regression, and Difference-in-Differences Estimators." *Empirical Economics*, 69(5), 2545-2587. (Published version of NBER Working Paper 29154.)
26
+
27
+
Primary source for the saturated OLS ETWFE design implemented in our ``WooldridgeDiD`` class.
28
+
29
+
- **Wooldridge, J. M. (2023).** "Simple Approaches to Nonlinear Difference-in-Differences with Panel Data." *The Econometrics Journal*, 26(3), C31-C66. https://doi.org/10.1093/ectj/utad016
30
+
31
+
Secondary source for the logit/Poisson QMLE (ASF-based ATT) extensions in ``WooldridgeDiD``.
32
+
22
33
Robust Standard Errors
23
34
----------------------
24
35
@@ -131,10 +142,29 @@ Multi-Period and Staggered Adoption
Dynamic companion to the 2020 paper. Web Appendix Section 3.7.3 contains the cohort-recentered plug-in variance formula implemented in our ``ChaisemartinDHaultfoeuille`` class.
148
+
134
149
- **Goodman-Bacon, A. (2021).** "Difference-in-Differences with Variation in Treatment Timing." *Journal of Econometrics*, 225(2), 254-277. https://doi.org/10.1016/j.jeconom.2021.03.014
135
150
136
151
- **Wing, C., Freedman, S. M., & Hollingsworth, A. (2024).** "Stacked Difference-in-Differences." *NBER Working Paper* 32054. https://www.nber.org/papers/w32054
137
152
153
+
- **Chen, X., Sant'Anna, P. H. C., & Xie, H. (2025).** "Efficient Difference-in-Differences and Event Study Estimators." *Working Paper*.
154
+
155
+
Primary source for the optimal-weighting / PT-All / PT-Post efficient DiD implemented in our ``EfficientDiD`` class.
156
+
157
+
- **Baker, A. C., Larcker, D. F., Wang, C. C. Y., & Wang, X. (2025).** "Difference-in-Differences Designs: A Practitioner's Guide." *arXiv preprint* arXiv:2503.13323. https://arxiv.org/abs/2503.13323
158
+
159
+
Source for the 8-step practitioner workflow surfaced via ``diff_diff.get_llm_guide("practitioner")`` and the README ``## Practitioner Workflow`` section. See ``docs/methodology/REGISTRY.md`` for the diff-diff renumbering and per-step deviations.
160
+
161
+
Continuous Treatment DiD
162
+
------------------------
163
+
164
+
- **Callaway, B., Goodman-Bacon, A., & Sant'Anna, P. H. C. (2024).** "Difference-in-Differences with a Continuous Treatment." *NBER Working Paper* 32117. https://www.nber.org/papers/w32117
165
+
166
+
Primary source for ATT(d), ACRT, dose-response curves, and B-spline flexibility implemented in our ``ContinuousDiD`` class.
0 commit comments