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 Costs of Patronage: Evidence from the British Empire
Guo Xu (2018) · American Economic Review
report("aeraej-158")Guo Xu (2018). American Economic Review. Table 4.
Source specification
Governor, year and duration fixed effects and source controls are retained. Clustering remains by bilateral match.
| Source coefficient | Template on source sample | Source N | Template source-sample N |
|---|---|---|---|
| -0.12308 | -0.12308 | 3510 | 3510 |
Source-to-template coefficient difference: 1.85e-09, in original outcome units.
| Role | Column |
|---|---|
| Outcome | log_salary_governor_gbp |
| Treatment | post1930_connected |
| Unit | aid |
| Time | year |
| Cluster | bilateral |
8 retained control columns. no_colonies; connected; duration::factor(d[[k]])1; duration::factor(d[[k]])2; duration::factor(d[[k]])3; duration::factor(d[[k]])4; duration::factor(d[[k]])5; duration::factor(d[[k]])6
Estimates below divide the outcome by its source-sample standard deviation, 0.795578. 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 |
|---|---|---|---|---|---|
| 3303 | 421 | 16 | 405 | 6 | 1411 |
| Sample restriction | Count |
|---|---|
| unsupported prediction rows removed | 2 |
| initially treated units removed | 32 |
| post adoption untreated rows removed | 58 |
| units without minus one removed | 3 |
| additional rows removed | 34 |
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 421 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.23301 | 0.086085 | -0.40188 | -0.06414 | Coefficient | estimated |
| Dynamic TWFE | -0.29276 | 0.08686 | -0.46315 | -0.12237 | Treated cells | estimated |
| BJS / did2s | -0.27507 | 0.080138 | -0.43227 | -0.11786 | Treated cells | estimated |
| Sun–Abraham | -0.28154 | 0.091487 | -0.46101 | -0.10208 | Treated cells | estimated |
| CS-DID (equal event-time) | nan | nan | nan | nan | Equal post-event times | unidentified |
| 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) | UnidentifiedTarget: CS-DID cannot estimate 21 observed post-treatment group-time cells with the configured controls; no target cells were dropped. See csdid-group-time.json and package log. |
| SDID | sdid: this adapter does not implement covariate adjustment; controls retained. |
| Matrix completion | matrix-completion: this adapter does not implement covariate adjustment; controls retained. |
| Horizontal ridge | horizontal-ridge: this adapter does not implement covariate adjustment; controls retained. |
| Multisynth (cohort-averaged) | multisynth-cohort: this adapter does not implement covariate adjustment; controls retained. |
| Multisynth (individual) | multisynth-individual: this adapter does not implement covariate adjustment; controls retained. |
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: F(7, 2724) = 0.0897; p = 0.9988.** Homoskedastic nested-model F. 51 design columns.
Each line is a cohort deviation. The joint test restricts positive-event-time deviations to zero; event time 0 remains unrestricted.
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": 1.975219243721682e-07,
"package_aggregate_vs_estimable_cell_weights": null,
"saturated_vs_deviations_relative_rss_difference": 1.6995319204342492e-09
}