import sys
from pathlib import Path
ROOT = next(
p for p in [Path.cwd(), *Path.cwd().parents]
if (p / "scripts/tranche50_report.py").exists()
)
sys.path.insert(0, str(ROOT / "scripts"))
from tranche50_report import reportThe Economics of Speed: The Electrification of the Streetcar System and the Decline of Mom-and-Pop Stores in Boston, 1885-1905
Wei You (2021) · American Economic Journal: Applied Economics
report("aeraej-152", tranche="tranche100")Wei You (2021). American Economic Journal: Applied Economics. Table 3.
Source specification
The focal 25-foot treatment band is compared conditional on the source 75-foot-band and CBD interactions. Grid effects and baseline establishment-count weights are retained.
| Source coefficient | Template on source sample | Source N | Template source-sample N |
|---|---|---|---|
| -0.1795 | -0.1795 | 330 | 330 |
Source-to-template coefficient difference: 5.83e-16, in original outcome units.
| Role | Column |
|---|---|
| Outcome | Sole |
| Treatment | treat25_after |
| Unit | grid_band |
| Time | year |
| Cluster | grid |
4 retained control columns. treat25; treat75; treat75_after; treatCBD_after
Estimates below divide the outcome by its source-sample standard deviation, 0.247712. Static TWFE is the treatment coefficient. Dynamic TWFE, BJS and Sun–Abraham average supported post-treatment cells by observation count. CS-DID additionally reports an equal-event-time average.
Analysis sample and treatment timing
| Observations | Units | Treated | Control units | Cohorts | Clusters |
|---|---|---|---|---|---|
| 330 | 165 | 55 | 110 | 1 | 55 |
Adoption is the first observed treated period. Initially treated units and units without an observed minus-one baseline are excluded. Post-adoption untreated rows are excluded for switching policies. The plot shows at most 100 seeded-sample units; estimation uses the full eligible sample. Empty cells remain missing.
y__d: 100 of 165 units shown (seed 20261008). All eligible units enter estimation. Purple: untreated; yellow: treated; white: unobserved.
Estimates
| Estimator | Estimate (SD) | SE | 95% lower | 95% upper | Target | Status |
|---|---|---|---|---|---|---|
| Static TWFE | -0.72464 | 0.13407 | -0.99343 | -0.45586 | Coefficient | estimated |
| Dynamic TWFE | -0.72464 | 0.13407 | -0.99343 | -0.45586 | Treated cells | estimated |
| BJS / did2s | -0.72139 | 0.13339 | -0.98882 | -0.45395 | Treated cells | estimated |
| Sun–Abraham | -0.72464 | 0.13407 | -0.99343 | -0.45586 | Treated cells | estimated |
| CS-DID (equal event-time) | nan | nan | nan | nan | Equal post-event times | unsupported |
| SDID | nan | nan | nan | nan | Treated cells | unsupported |
| Matrix completion | nan | nan | nan | nan | Treated cells | unsupported |
| Horizontal ridge | nan | nan | nan | nan | Treated cells | unsupported |
| Multisynth (cohort-averaged) | nan | nan | nan | nan | Treated cells | unsupported |
| Multisynth (individual) | nan | nan | nan | nan | Treated cells | unsupported |
Intervals use the configured clusters and the estimator’s available inference. Hollow points have no computed interval; no new refit-bootstrap batch is run.
| Estimator | Reason |
|---|---|
| CS-DID (equal event-time) | csdid: matching the configured nonstandard fixed effects is not implemented. |
| SDID | sdid: matching the configured nonstandard fixed effects is not implemented. |
| Matrix completion | matrix-completion: matching the configured nonstandard fixed effects is not implemented. |
| Horizontal ridge | horizontal-ridge: matching the configured nonstandard fixed effects is not implemented. |
| Multisynth (cohort-averaged) | multisynth-cohort: matching the configured nonstandard fixed effects is not implemented. |
| Multisynth (individual) | multisynth-individual: matching the configured nonstandard fixed effects is not implemented. |
Event studies
Cohort homogeneity
The imported TestingInEventStudies deviations design tests positive-event-time cohort deviations jointly. This is the homoskedastic nested-model F-test; the estimator confidence intervals above use clustered inference.
**y__d: homogeneity test not identified.** Only one treated cohort remains on the common supported sample.
Fitting settings and checks
| Specification | Estimator | Settings | Pooling |
|---|---|---|---|
| y__d | CS-DID | {} | {} |
| y__d | SDID | {} | {} |
| y__d | Matrix completion | {} | {} |
| y__d | Horizontal ridge | {} | {} |
| y__d | Multisynth (cohort-averaged) | {} | {} |
| y__d | Multisynth (individual) | {} | {} |
{
"did2s_vs_direct_imputation_max_post_difference": 4.523605712236645e-09,
"package_aggregate_vs_estimable_cell_weights": null
}