Skip to content

Commit 9943d7f

Browse files
authored
Merge pull request #171 from igerber/release/v2.4.3
Bump version to 2.4.3
2 parents 341bf0b + 81496a9 commit 9943d7f

4 files changed

Lines changed: 25 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,27 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.4.3] - 2026-02-19
9+
10+
### Changed
11+
- Rewrite TripleDifference estimator to match R's `triplediff::ddd()` — all 3 estimation
12+
methods (DR, IPW, RA) now use three-DiD decomposition with influence function SE, achieving
13+
<0.001% relative difference from R across all 24 comparisons (4 DGPs × 3 methods × 2 covariate settings)
14+
- Validate cluster column in TripleDifference for proper cluster-robust SEs
15+
- Handle non-finite influence function propagation in TripleDifference edge cases
16+
- Propensity score fallback uses Hessian-based SE when score optimization fails
17+
- Improved R-squared consistency across estimation methods
18+
19+
### Fixed
20+
- Fix low cell count warning and overlap detection in TripleDifference IPW
21+
- Fix cluster SE computation to use functional (groupby) approach instead of loop
22+
- Fix rank deficiency handling in TripleDifference regression adjustment
23+
24+
### Added
25+
- 91 methodology verification tests for TripleDifference (`tests/test_methodology_triple_diff.py`)
26+
- R benchmark scripts for triple difference validation (`benchmarks/R/benchmark_triplediff.R`)
27+
- Update METHODOLOGY_REVIEW.md to reflect completed TripleDifference review
28+
829
## [2.4.2] - 2026-02-18
930

1031
### Added
@@ -771,6 +792,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
771792
- `to_dict()` and `to_dataframe()` export methods
772793
- `is_significant` and `significance_stars` properties
773794

795+
[2.4.3]: https://github.com/igerber/diff-diff/compare/v2.4.2...v2.4.3
774796
[2.4.2]: https://github.com/igerber/diff-diff/compare/v2.4.1...v2.4.2
775797
[2.4.1]: https://github.com/igerber/diff-diff/compare/v2.4.0...v2.4.1
776798
[2.4.0]: https://github.com/igerber/diff-diff/compare/v2.3.2...v2.4.0

diff_diff/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
load_mpdta,
149149
)
150150

151-
__version__ = "2.4.2"
151+
__version__ = "2.4.3"
152152
__all__ = [
153153
# Estimators
154154
"DifferenceInDifferences",

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.4.2"
7+
version = "2.4.3"
88
description = "A library for Difference-in-Differences causal inference analysis"
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.4.2"
3+
version = "2.4.3"
44
edition = "2021"
55
description = "Rust backend for diff-diff DiD library"
66
license = "MIT"

0 commit comments

Comments
 (0)