Skip to content

Commit 330ac65

Browse files
authored
Merge pull request #173 from igerber/release/v2.5.0
Bump version to 2.5.0
2 parents 1d5cda8 + aa0510c commit 330ac65

File tree

4 files changed

+20
-3
lines changed

4 files changed

+20
-3
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@ 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.5.0] - 2026-02-19
9+
10+
### Added
11+
- Stacked DiD estimator (`StackedDiD`) implementing Wing, Freedman & Hollingsworth (2024)
12+
with corrective Q-weights for compositional balance across event times
13+
- Sub-experiment construction per adoption cohort with clean (never-yet-treated) controls
14+
- IC1/IC2 trimming for compositional balance across event times
15+
- Q-weights for aggregate, population, or sample share estimands (Table 1)
16+
- WLS event study regression via sqrt(w) transformation
17+
- `stacked_did()` convenience function
18+
- R benchmark scripts for Stacked DiD validation (`benchmarks/R/benchmark_stacked_did.R`)
19+
- Comprehensive test suite for Stacked DiD (`tests/test_stacked_did.py`)
20+
21+
### Fixed
22+
- NaN inference handling in pure Python mode for edge cases
23+
824
## [2.4.3] - 2026-02-19
925

1026
### Changed
@@ -792,6 +808,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
792808
- `to_dict()` and `to_dataframe()` export methods
793809
- `is_significant` and `significance_stars` properties
794810

811+
[2.5.0]: https://github.com/igerber/diff-diff/compare/v2.4.3...v2.5.0
795812
[2.4.3]: https://github.com/igerber/diff-diff/compare/v2.4.2...v2.4.3
796813
[2.4.2]: https://github.com/igerber/diff-diff/compare/v2.4.1...v2.4.2
797814
[2.4.1]: https://github.com/igerber/diff-diff/compare/v2.4.0...v2.4.1

diff_diff/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
load_mpdta,
154154
)
155155

156-
__version__ = "2.4.3"
156+
__version__ = "2.5.0"
157157
__all__ = [
158158
# Estimators
159159
"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.3"
7+
version = "2.5.0"
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.3"
3+
version = "2.5.0"
44
edition = "2021"
55
description = "Rust backend for diff-diff DiD library"
66
license = "MIT"

0 commit comments

Comments
 (0)