@@ -20,7 +20,7 @@ pip install -e .
2020
2121``` python
2222import pandas as pd
23- from diff_diff import DifferenceInDifferences
23+ from diff_diff import DifferenceInDifferences # or: DiD
2424
2525# Create sample data
2626data = pd.DataFrame({
@@ -84,6 +84,28 @@ Signif. codes: '***' 0.001, '**' 0.01, '*' 0.05, '.' 0.1
8484- ** Data prep utilities** : Helper functions for common data preparation tasks
8585- ** Validated against R** : Benchmarked against ` did ` , ` synthdid ` , and ` fixest ` packages (see [ benchmarks] ( docs/benchmarks.rst ) )
8686
87+ ## Estimator Aliases
88+
89+ All estimators have short aliases for convenience:
90+
91+ | Alias | Full Name | Method |
92+ | -------| -----------| --------|
93+ | ` DiD ` | ` DifferenceInDifferences ` | Basic 2x2 DiD |
94+ | ` TWFE ` | ` TwoWayFixedEffects ` | Two-way fixed effects |
95+ | ` EventStudy ` | ` MultiPeriodDiD ` | Event study / multi-period |
96+ | ` CS ` | ` CallawaySantAnna ` | Callaway & Sant'Anna (2021) |
97+ | ` SA ` | ` SunAbraham ` | Sun & Abraham (2021) |
98+ | ` BJS ` | ` ImputationDiD ` | Borusyak, Jaravel & Spiess (2024) |
99+ | ` Gardner ` | ` TwoStageDiD ` | Gardner (2022) two-stage |
100+ | ` SDiD ` | ` SyntheticDiD ` | Synthetic DiD |
101+ | ` DDD ` | ` TripleDifference ` | Triple difference |
102+ | ` CDiD ` | ` ContinuousDiD ` | Continuous treatment DiD |
103+ | ` Stacked ` | ` StackedDiD ` | Stacked DiD |
104+ | ` Bacon ` | ` BaconDecomposition ` | Goodman-Bacon decomposition |
105+ | ` EDiD ` | ` EfficientDiD ` | Efficient DiD |
106+
107+ ` TROP ` already uses its short canonical name and needs no alias.
108+
87109## Tutorials
88110
89111We provide Jupyter notebook tutorials in ` docs/tutorials/ ` :
0 commit comments