diff-diff 0.4.0__py3-none-any.whl → 0.5.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- diff_diff/__init__.py +23 -1
- diff_diff/diagnostics.py +885 -0
- diff_diff/estimators.py +146 -34
- diff_diff/results.py +26 -7
- diff_diff/utils.py +379 -3
- {diff_diff-0.4.0.dist-info → diff_diff-0.5.0.dist-info}/METADATA +168 -10
- diff_diff-0.5.0.dist-info/RECORD +12 -0
- diff_diff-0.4.0.dist-info/RECORD +0 -11
- {diff_diff-0.4.0.dist-info → diff_diff-0.5.0.dist-info}/WHEEL +0 -0
- {diff_diff-0.4.0.dist-info → diff_diff-0.5.0.dist-info}/top_level.txt +0 -0
diff_diff/__init__.py
CHANGED
|
@@ -42,9 +42,20 @@ from diff_diff.utils import (
|
|
|
42
42
|
check_parallel_trends,
|
|
43
43
|
check_parallel_trends_robust,
|
|
44
44
|
equivalence_test_trends,
|
|
45
|
+
WildBootstrapResults,
|
|
46
|
+
wild_bootstrap_se,
|
|
47
|
+
)
|
|
48
|
+
from diff_diff.diagnostics import (
|
|
49
|
+
PlaceboTestResults,
|
|
50
|
+
run_placebo_test,
|
|
51
|
+
placebo_timing_test,
|
|
52
|
+
placebo_group_test,
|
|
53
|
+
permutation_test,
|
|
54
|
+
leave_one_out_test,
|
|
55
|
+
run_all_placebo_tests,
|
|
45
56
|
)
|
|
46
57
|
|
|
47
|
-
__version__ = "0.
|
|
58
|
+
__version__ = "0.5.0"
|
|
48
59
|
__all__ = [
|
|
49
60
|
# Estimators
|
|
50
61
|
"DifferenceInDifferences",
|
|
@@ -66,6 +77,17 @@ __all__ = [
|
|
|
66
77
|
"check_parallel_trends",
|
|
67
78
|
"check_parallel_trends_robust",
|
|
68
79
|
"equivalence_test_trends",
|
|
80
|
+
# Wild cluster bootstrap
|
|
81
|
+
"WildBootstrapResults",
|
|
82
|
+
"wild_bootstrap_se",
|
|
83
|
+
# Placebo tests / diagnostics
|
|
84
|
+
"PlaceboTestResults",
|
|
85
|
+
"run_placebo_test",
|
|
86
|
+
"placebo_timing_test",
|
|
87
|
+
"placebo_group_test",
|
|
88
|
+
"permutation_test",
|
|
89
|
+
"leave_one_out_test",
|
|
90
|
+
"run_all_placebo_tests",
|
|
69
91
|
# Data preparation utilities
|
|
70
92
|
"make_treatment_indicator",
|
|
71
93
|
"make_post_indicator",
|