Skip to content

Commit 19bad25

Browse files
authored
Merge pull request #254 from igerber/release/v2.8.1
Bump version to 2.8.1
2 parents 0c903e1 + f483a17 commit 19bad25

5 files changed

Lines changed: 26 additions & 4 deletions

File tree

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.8.1] - 2026-04-01
11+
12+
### Added
13+
- **Survey-aware DiD tutorial** (`docs/tutorials/16_survey_did.ipynb`) — Phase 7c complete. Full workflow with strata, PSU, FPC, replicate weights, subpopulation analysis, and DEFF diagnostics. Includes `generate_survey_did_data()` DGP function.
14+
- **Survey R cross-validation** — benchmark scripts and tests comparing TSL variance against R's `survey::svyglm()` for basic DiD and TWFE with full survey designs (strata, PSU, FPC). Committed JSON fixtures for CI without R.
15+
- **HonestDiD methodology review and validation** — 478 lines of methodology tests, paper review document, rewritten optimal FLCI with first-difference reparameterization.
16+
- **StaggeredTripleDifference survey support** — full `SurveyDesign` integration with strata/PSU/FPC, replicate weights, and survey-aware bootstrap.
17+
18+
### Changed
19+
- HonestDiD: rewrite optimal FLCI with proper first-difference reparameterization and centrosymmetric LP optimization
20+
- HonestDiD: use `conf_int` from results instead of hardcoded `1.96*se` in event study plots
21+
- Survey tutorial cross-referenced from choosing_estimator.rst and quickstart.rst
22+
23+
### Fixed
24+
- Fix HonestDiD identified set computation and inference (F1-F6 from Rambachan & Roth 2023)
25+
- Fix FLCI slope count (T not T-1) and constraint formula
26+
- Fix NaN CI misclassification as significant (P0 finding)
27+
- Fix M=0 linear extrapolation and survey df folded nct in REGISTRY.md
28+
- Fix replicate-weight scale invariance and BRR test fixtures
29+
- Fix JK1 populated-PSU guard and narrow warning filter
30+
1031
## [2.8.0] - 2026-03-31
1132

1233
### Added
@@ -1044,6 +1065,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10441065
- `to_dict()` and `to_dataframe()` export methods
10451066
- `is_significant` and `significance_stars` properties
10461067

1068+
[2.8.1]: https://github.com/igerber/diff-diff/compare/v2.8.0...v2.8.1
10471069
[2.8.0]: https://github.com/igerber/diff-diff/compare/v2.7.6...v2.8.0
10481070
[2.7.6]: https://github.com/igerber/diff-diff/compare/v2.7.5...v2.7.6
10491071
[2.7.5]: https://github.com/igerber/diff-diff/compare/v2.7.4...v2.7.5

diff_diff/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@
210210
Bacon = BaconDecomposition
211211
EDiD = EfficientDiD
212212

213-
__version__ = "2.8.0"
213+
__version__ = "2.8.1"
214214
__all__ = [
215215
# Estimators
216216
"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.8.0
5+
- Version: 2.8.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.8.0"
7+
version = "2.8.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.8.0"
3+
version = "2.8.1"
44
edition = "2021"
55
description = "Rust backend for diff-diff DiD library"
66
license = "MIT"

0 commit comments

Comments
 (0)