|
160 | 160 | ) |
161 | 161 | from diff_diff.lpdid import LPDiD |
162 | 162 | from diff_diff.lpdid_results import LPDiDResults |
| 163 | +from diff_diff.lwdid import LWDiD |
| 164 | +from diff_diff.lwdid_results import LWDiDResults |
163 | 165 | from diff_diff.mmm import ( |
164 | 166 | MeridianROIPrior, |
165 | 167 | to_meridian_roi_prior, |
|
333 | 335 | CiC = ChangesInChanges |
334 | 336 | RDD = RegressionDiscontinuity |
335 | 337 | SCM = SyntheticControl |
| 338 | +LW = LWDiD |
336 | 339 |
|
337 | 340 | # Alias diet (rows M-132..M-134, mechanism M-135): CDiD / Gardner / |
338 | 341 | # Stacked are deprecated in 3.9 and removed in 4.0. They deliberately |
@@ -454,6 +457,46 @@ def __getattr__(name: str) -> _Any: |
454 | 457 | # LPDiD (Local Projections DiD) |
455 | 458 | "LPDiD", |
456 | 459 | "LPDiDResults", |
| 460 | + # LWDiD (Lee & Wooldridge rolling transformation DiD) |
| 461 | + "LWDiD", |
| 462 | + "LWDiDResults", |
| 463 | + "LW", |
| 464 | + "wild_cluster_bootstrap", |
| 465 | + "WildClusterBootstrapResult", |
| 466 | + "randomization_inference", |
| 467 | + "RandomizationResult", |
| 468 | + "test_parallel_trends", |
| 469 | + "diagnose_heterogeneous_trends", |
| 470 | + "recommend_transformation", |
| 471 | + "ParallelTrendsTestResult", |
| 472 | + "sensitivity_analysis", |
| 473 | + "robustness_pre_periods", |
| 474 | + "sensitivity_no_anticipation", |
| 475 | + "SensitivityResult", |
| 476 | + "lwdid", |
| 477 | + "plot_cohort_trends", |
| 478 | + "plot_lwdid_event_study", |
| 479 | + "plot_lwdid_sensitivity", |
| 480 | + "plot_bootstrap_distribution", |
| 481 | + # LWDiD exceptions |
| 482 | + "LWDIDError", |
| 483 | + "LWDIDWarning", |
| 484 | + "LWDIDInferenceError", |
| 485 | + "RandomizationError", |
| 486 | + "DiagnosticError", |
| 487 | + "NumericalWarning", |
| 488 | + "DiagnosticWarning", |
| 489 | + "SensitivityWarning", |
| 490 | + "VisualizationError", |
| 491 | + # LWDiD clustering diagnostics |
| 492 | + "diagnose_clustering", |
| 493 | + "diagnose_clustering_from_data", |
| 494 | + "recommend_clustering_level", |
| 495 | + "ClusteringDiagnostics", |
| 496 | + "ClusteringRecommendation", |
| 497 | + # LWDiD utility functions |
| 498 | + "validate_staggered_data", |
| 499 | + "is_never_treated", |
457 | 500 | # Visualization |
458 | 501 | "plot_bacon", |
459 | 502 | "plot_event_study", |
|
0 commit comments