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 Nationalism
Xiaohuan Lan; Ben G. Li (2015) · American Economic Journal: Economic Policy
report("aeraej-113")Xiaohuan Lan; Ben G. Li (2015). American Economic Journal: Economic Policy. Table 7.
Source specification
Source provincial specification includes treatment, post, their interaction and log GDP per capita. The comparison adds province fixed effects and province-clustered inference.
| Source coefficient | Template on source sample | Source N | Template source-sample N |
|---|---|---|---|
| -0.15503 | -0.1802 | 40 | 40 |
The source and comparison coefficients use different specifications or aggregation targets, as stated above; they are not an exact-replication comparison.
| Role | Column |
|---|---|
| Outcome | nationalism |
| Treatment | treat_x_year |
| Unit | provcode |
| Time | year |
| Cluster | provcode |
1 retained control columns. lgdpper
Estimates below divide the outcome by its source-sample standard deviation, 0.151984. 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 |
|---|---|---|---|---|---|
| 40 | 20 | 4 | 16 | 1 | 20 |
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: 20 of 20 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 | -1.1857 | 0.49948 | -2.2311 | -0.14024 | Coefficient | estimated |
| Dynamic TWFE | -1.1857 | 0.49948 | -2.2311 | -0.14024 | Treated cells | estimated |
| BJS / did2s | -1.2445 | 0.50647 | -2.3046 | -0.18447 | Treated cells | estimated |
| Sun–Abraham | -1.1857 | 0.49948 | -2.2311 | -0.14024 | Treated cells | estimated |
| CS-DID (equal event-time) | -1.3952 | 0.32466 | -2.0315 | -0.75882 | Equal post-event times | estimated |
| CS-DID (treated cells) | -1.3952 | 0.32466 | -2.0315 | -0.75882 | Treated cells | estimated |
| 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 |
|---|---|
| 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: 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 | {“est_method”: “dr”, “covariate_basis”: “cell-specific rank-reduced column space”, “control_group”: “notyettreated”, “xformla”: “y ~ 1 + x0”, “panel”: true, “effective_panel”: true, “allow_unbalanced_panel”: true, “weights_name”: “weight”, “fix_weights”: null, “base_period”: “universal”, “clustervar”: “cluster”, “aggregate”: “dynamic”, “faster_mode”: true} | {} |
| 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.2661871551244985e-11,
"package_aggregate_vs_estimable_cell_weights": null
}