Skip to content

Commit f4997b3

Browse files
authored
Merge pull request #279 from igerber/release/v2.9.1
Release v2.9.1
2 parents 7d25baf + 6e2de9a commit f4997b3

File tree

5 files changed

+26
-4
lines changed

5 files changed

+26
-4
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.9.1] - 2026-04-06
11+
12+
### Added
13+
- **Survey theory document** (`docs/methodology/survey-theory.md`) — formal justification for design-based variance estimation with modern DiD influence functions, citing Binder (1983), Rao & Wu (1988), Shao (1996)
14+
- **Research-grade survey DGP** — 8 new parameters on `generate_survey_did_data()`: `icc`, `weight_cv`, `informative_sampling`, `heterogeneous_te_by_strata`, `te_covariate_interaction`, `covariate_effects`, `strata_sizes`, `return_true_population_att`. All backward-compatible.
15+
- **R validation expansion** — 4 additional estimators cross-validated against R's `survey::svyglm()`: ImputationDiD, StackedDiD, SunAbraham, TripleDifference. Survey R validation coverage now 8 of 16 estimators.
16+
- **LinkedIn carousel** for Wooldridge ETWFE estimator announcement
17+
18+
### Changed
19+
- Survey tutorial rewritten: leads with "Why Survey Design Matters" section showing flat-weight vs design-based comparison with known ground truth, coverage simulation, and false pre-trend detection rates
20+
- Documentation refresh: ROADMAP.md, llms.txt, llms-full.txt, llms-practitioner.txt, choosing_estimator.rst updated for v2.9.0 — added WooldridgeDiD and StaggeredTripleDifference, DDD flowchart branch, standardized estimator counts, qualified survey claims
21+
- Survey roadmap updated: Phase 10a-10d marked shipped, conditional PT noted for 10e
22+
23+
### Fixed
24+
- Fix stale "EfficientDiD covariates + survey not supported" note in choosing_estimator.rst
25+
- Fix WooldridgeDiD described as "ASF-based" for OLS path (OLS uses direct coefficients; ASF only for logit/Poisson)
26+
- Fix dead StaggeredTripleDifference API link in llms.txt
27+
- Fix survey example attribute: `.design_effect` not `.deff` in llms-full.txt
28+
- Fix `subpopulation()` example to show tuple unpacking in llms-full.txt
29+
- Remove 8 resolved items from TODO.md
30+
1031
## [2.9.0] - 2026-04-04
1132

1233
### Added
@@ -1152,6 +1173,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11521173
- `to_dict()` and `to_dataframe()` export methods
11531174
- `is_significant` and `significance_stars` properties
11541175

1176+
[2.9.1]: https://github.com/igerber/diff-diff/compare/v2.9.0...v2.9.1
11551177
[2.9.0]: https://github.com/igerber/diff-diff/compare/v2.8.4...v2.9.0
11561178
[2.8.4]: https://github.com/igerber/diff-diff/compare/v2.8.3...v2.8.4
11571179
[2.8.3]: https://github.com/igerber/diff-diff/compare/v2.8.2...v2.8.3

diff_diff/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214
EDiD = EfficientDiD
215215
ETWFE = WooldridgeDiD
216216

217-
__version__ = "2.9.0"
217+
__version__ = "2.9.1"
218218
__all__ = [
219219
# Estimators
220220
"DifferenceInDifferences",

docs/llms-full.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> A Python library for Difference-in-Differences causal inference analysis. Provides sklearn-like estimators with statsmodels-style output for econometric analysis.
44

5-
- Version: 2.9.0
5+
- Version: 2.9.1
66
- Repository: https://github.com/igerber/diff-diff
77
- License: MIT
88
- Dependencies: numpy, pandas, scipy (no statsmodels dependency)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "diff-diff"
7-
version = "2.9.0"
7+
version = "2.9.1"
88
description = "Difference-in-Differences causal inference with sklearn-like API. Callaway-Sant'Anna, Synthetic DiD, Honest DiD, event studies, parallel trends."
99
readme = "README.md"
1010
license = "MIT"

rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "diff_diff_rust"
3-
version = "2.9.0"
3+
version = "2.9.1"
44
edition = "2021"
55
description = "Rust backend for diff-diff DiD library"
66
license = "MIT"

0 commit comments

Comments
 (0)