From 2d3b10b1d50d5211a4e369b1a4fd44e43520cc3f Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 17 Jan 2026 19:42:35 +0000 Subject: [PATCH] Add new tutorial to README and bump version to 2.0.4 - Add 09_real_world_examples.ipynb to tutorials table in README.md - Update version to 2.0.4 in pyproject.toml, __init__.py, and Cargo.toml --- README.md | 1 + diff_diff/__init__.py | 2 +- pyproject.toml | 2 +- rust/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ab4e172..a3faf69 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,7 @@ We provide Jupyter notebook tutorials in `docs/tutorials/`: | `06_power_analysis.ipynb` | Power analysis, MDE, sample size calculations, simulation-based power | | `07_pretrends_power.ipynb` | Pre-trends power analysis (Roth 2022), MDV, power curves | | `08_triple_diff.ipynb` | Triple Difference (DDD) estimation with proper covariate handling | +| `09_real_world_examples.ipynb` | Real-world data examples (Card-Krueger, Castle Doctrine, Divorce Laws) | ## Data Preparation diff --git a/diff_diff/__init__.py b/diff_diff/__init__.py index 6782622..f2cf888 100644 --- a/diff_diff/__init__.py +++ b/diff_diff/__init__.py @@ -126,7 +126,7 @@ load_mpdta, ) -__version__ = "2.0.3" +__version__ = "2.0.4" __all__ = [ # Estimators "DifferenceInDifferences", diff --git a/pyproject.toml b/pyproject.toml index 41556b2..d73637a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "diff-diff" -version = "2.0.3" +version = "2.0.4" description = "A library for Difference-in-Differences causal inference analysis" readme = "README.md" license = "MIT" diff --git a/rust/Cargo.toml b/rust/Cargo.toml index aed204f..6a2c1c2 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "diff_diff_rust" -version = "2.0.3" +version = "2.0.4" edition = "2021" description = "Rust backend for diff-diff DiD library" license = "MIT"