User Guide#

The methods behind the library: scholarly references, validation against R and Python implementations, performance benchmarks, the migration guide for the upcoming 4.0 release, and the methodology registry documenting every estimator’s equations and edge cases.

References

Scholarly citations for every estimator and diagnostic in the library.

References
R Comparison

Coming from R? Side-by-side workflows and numerical validation against did, synthdid, and fixest.

R Comparison
Python Comparison

How diff-diff compares to other Python causal-inference libraries.

Python Comparison
Migrating to 4.0

Every breaking change in the upcoming 4.0 release, with the one-line fix for each and a codemod table for the mechanical renames.

Migrating to 4.0
Benchmarks

Validation results and performance benchmarks against reference implementations.

Benchmarks
Methodology Registry

Academic foundations, equations, and documented edge cases for every estimator.

Methodology Registry
Reporting

Conventions for reporting DiD results.

Reporting