{
  "paper": {
    "rank": 9,
    "paper_id": "aeraej-113",
    "title": "The Economics of Nationalism",
    "authors": "Xiaohuan Lan; Ben G. Li",
    "year": 2015,
    "journal": "American Economic Journal: Economic Policy",
    "doi": "10.1257/pol.20130020",
    "package_bytes": 258116,
    "source_specification": "Table 7"
  },
  "mapping": {
    "paper_id": "aeraej-113",
    "match": false,
    "outcome": "nationalism",
    "treatment": "treat_x_year",
    "unit": "provcode",
    "time": "year",
    "cluster": "provcode",
    "note": "Source provincial specification includes treatment, post, their interaction and log GDP per capita. The comparison adds province fixed effects and province-clustered inference."
  },
  "status": "estimated",
  "source_fit": {
    "formula": "list(linear = nationalism ~ treatment + after_wto + treat_x_year +      lgdpper)",
    "coefficients": {
      "(Intercept)": 2.7829888927633,
      "treatment": 0.0768384925088158,
      "after_wto": -0.102874214031694,
      "treat_x_year": -0.15503222440501,
      "lgdpper": -0.0666977695979852
    },
    "se": {
      "(Intercept)": 0.334420793799968,
      "treatment": 0.0507456968636191,
      "after_wto": 0.0470241501331779,
      "treat_x_year": 0.0720447990974831,
      "lgdpper": 0.0361884206998608
    },
    "n": 40
  },
  "source_check": {
    "source_term": "treat_x_year",
    "source_beta": -0.15503222440501,
    "template_source_sample_beta": -0.18020421409686674,
    "template_source_sample_n": 40,
    "template_source_sample_se": 0.07591389091017352,
    "same_point_specification": false,
    "dropped_missing_identifiers": 0,
    "controls": {
      "x001": "lgdpper"
    },
    "absolute_coefficient_difference": 0.025171989691856744
  },
  "settings": {
    "slug": "aeraej-113",
    "specification_id": "aeraej-113-source",
    "source_specification_id": "Table 7",
    "study": "The Economics of Nationalism",
    "citation": "Xiaohuan Lan; Ben G. Li (2015). https://doi.org/10.1257/pol.20130020",
    "description": "Source provincial specification includes treatment, post, their interaction and log GDP per capita. The comparison adds province fixed effects and province-clustered inference.",
    "data": "analyses/new-library/tranche50/aeraej-113/panel.parquet",
    "unit": "unit",
    "time": "time",
    "cluster": "cluster",
    "covariates": [
      "x001"
    ],
    "time_fe": null,
    "allow_repeated_cells": false,
    "period_values": [
      2001,
      2007
    ],
    "period_step": 1,
    "latest_cohort_control": true,
    "reversal_policy": "drop_post_untreated",
    "test_mode": "classical",
    "post_weighting": "observations",
    "display_window": [
      -10,
      10
    ],
    "labels": {
      "y": "nationalism",
      "d": "treat_x_year",
      "unit": "provcode",
      "time": "year",
      "cluster": "provcode",
      "x001": "lgdpper"
    }
  },
  "options": {
    "output_dir": "analyses/new-library/tranche50/aeraej-113/results",
    "timeout_seconds": 300
  },
  "comparison": {
    "schema": "expensive-replication-v1",
    "config": {
      "outcomes": [
        "y"
      ],
      "treatments": [
        "d"
      ],
      "unit": "unit",
      "time": "time",
      "cluster": "cluster",
      "covariates": [
        "x001"
      ],
      "baseline_by_time": [],
      "weight": null,
      "period_step": 1,
      "period_values": [
        2001,
        2007
      ],
      "display_window": [
        -10,
        10
      ],
      "seed": 20261008,
      "panelview_max_units": 100,
      "test_mode": "classical",
      "test_horizon": null,
      "post_horizon": null,
      "post_weighting": "observations",
      "sample_query": null,
      "reversal_policy": "drop_post_untreated",
      "labels": {
        "y": "nationalism",
        "d": "treat_x_year",
        "unit": "provcode",
        "time": "year",
        "cluster": "provcode",
        "x001": "lgdpper"
      },
      "allow_repeated_cells": false,
      "time_fe": null,
      "unit_fe": null,
      "frequency_weights": false,
      "source_sd": null,
      "require_never_control_periods": false,
      "latest_cohort_control": true,
      "slug": "aeraej-113",
      "specification_id": "aeraej-113-source",
      "source_specification_id": "Table 7",
      "study": "The Economics of Nationalism",
      "citation": "Xiaohuan Lan; Ben G. Li (2015). https://doi.org/10.1257/pol.20130020",
      "description": "Source provincial specification includes treatment, post, their interaction and log GDP per capita. The comparison adds province fixed effects and province-clustered inference.",
      "data": "analyses/new-library/tranche50/aeraej-113/panel.parquet",
      "output_dir": "analyses/new-library/tranche50/aeraej-113/results"
    },
    "options": {
      "output_dir": "analyses/new-library/tranche50/aeraej-113/results",
      "timeout_seconds": 300
    },
    "source": {
      "file": "panel.parquet",
      "bytes": 4719,
      "sha256": "e53603fd1d3a9a78df692d8a14c66b7f4148641b4bf296e102d61678389d83d2"
    },
    "regressions": {
      "y__d": {
        "sample": {
          "outcome": "y",
          "treatment": "d",
          "source_rows": 40,
          "source_sd": 0.15198437696411857,
          "rows": 40,
          "units": 20,
          "clusters": 20,
          "treated_units": 4,
          "never_treated_units": 16,
          "treated_cohorts": 1,
          "latest_cohort_control_index": null,
          "unique_unit_period_cells": 40,
          "unsupported_prediction_rows_removed": 0,
          "rows_without_never_control_time_fe_removed": 0,
          "initially_treated_units_removed": 0,
          "post_adoption_untreated_rows_removed": 0,
          "units_without_minus_one_removed": 0,
          "additional_rows_removed": 0
        },
        "estimates": [
          {
            "method": "Static TWFE",
            "estimate": -1.18567590759286,
            "se": 0.4994848314448515,
            "pvalue": 0.02830354925409496,
            "lower": -2.231109674619014,
            "upper": -0.14024214056670625
          },
          {
            "method": "Dynamic TWFE",
            "estimate": -1.18567590759286,
            "se": 0.4994848314448515,
            "pvalue": 0.02830354925409496,
            "lower": -2.231109674619014,
            "upper": -0.14024214056670625
          },
          {
            "method": "BJS / did2s",
            "estimate": -1.2445173537184235,
            "se": 0.506467690208143,
            "pvalue": 0.023784745629715373,
            "lower": -2.3045664121046823,
            "upper": -0.1844682953321648
          },
          {
            "method": "Sun\u2013Abraham",
            "estimate": -1.18567590759286,
            "se": 0.4994848314448515,
            "pvalue": 0.02830354925409496,
            "lower": -2.231109674619014,
            "upper": -0.14024214056670625
          }
        ],
        "event_studies": {
          "Dynamic TWFE": [
            {
              "event_time": 0,
              "estimate": -1.18567590759286,
              "se": 0.4994848314448515,
              "pvalue": 0.02830354925409496,
              "lower": -2.231109674619014,
              "upper": -0.14024214056670625
            }
          ],
          "BJS / did2s": [
            {
              "event_time": -1,
              "estimate": -1.0658141036401503e-14,
              "se": 4.981549021892908e-13,
              "pvalue": 0.9831534696631832,
              "lower": -1.0533083341400054e-12,
              "upper": 1.0319920520672024e-12
            },
            {
              "event_time": 0,
              "estimate": -1.2445173537184235,
              "se": 0.506467690208143,
              "pvalue": 0.023784745629715373,
              "lower": -2.3045664121046823,
              "upper": -0.1844682953321648
            }
          ],
          "Sun\u2013Abraham": [
            {
              "event_time": 0,
              "estimate": -1.18567590759286,
              "se": 0.4994848314448515,
              "pvalue": 0.02830354925409496,
              "lower": -2.231109674619014,
              "upper": -0.14024214056670625
            }
          ]
        },
        "target": {
          "event_times": [
            0
          ],
          "weights": [
            1.0
          ],
          "weighting": "observations"
        },
        "checks": {
          "did2s_vs_direct_imputation_max_post_difference": 1.2661871551244985e-11,
          "package_aggregate_vs_estimable_cell_weights": null
        },
        "inference": {
          "standard_errors": "Cluster-robust; did2s uses two-stage covariance",
          "confidence_intervals": "Pointwise t, clusters minus one degrees of freedom"
        },
        "f_test": {
          "status": "not_identified",
          "pvalue": null,
          "reason": "Only one treated cohort remains on the common supported sample."
        }
      }
    },
    "alternative_models": {
      "y__d": [
        {
          "method": "CS-DID",
          "class": "csdid.att_gt.ATTgt",
          "package": {
            "csdid": "0.4.2",
            "drdid": "1.1.6"
          },
          "parameters": {
            "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
          },
          "data_structure": "panel",
          "aggregations": {
            "summaries": [
              {
                "typec": "dynamic",
                "aggregation": "Native CS-DID dynamic",
                "matches_treated_unit_year_target": false,
                "estimate": -1.3951531391651613,
                "se": 0.32466404847967595,
                "lower": -2.031482981260292,
                "upper": -0.7588232970700303
              },
              {
                "typec": "simple",
                "aggregation": "Native CS-DID simple",
                "matches_treated_unit_year_target": false,
                "estimate": -1.3951531391651613,
                "se": 0.32466404847967595,
                "lower": -2.031482981260292,
                "upper": -0.7588232970700303
              },
              {
                "typec": "group",
                "aggregation": "Native CS-DID group",
                "matches_treated_unit_year_target": false,
                "estimate": -1.3951531391651613,
                "se": 0.32466404847967595,
                "lower": -2.031482981260292,
                "upper": -0.7588232970700303
              },
              {
                "typec": "treated_cells",
                "aggregation": "Observed treated observations, configured weights",
                "matches_treated_unit_year_target": true,
                "weight_sum": 4.0,
                "post_cells": 1,
                "estimate": -1.3951531391651613,
                "se": 0.32466404847967595,
                "lower": -2.031482981260292,
                "upper": -0.7588232970700303
              }
            ],
            "same_group_time_effects": true,
            "additional_covariates": [
              "x0"
            ]
          },
          "estimate": -1.3951531391651613,
          "se": 0.32466404847967595,
          "lower": -2.031482981260292,
          "upper": -0.7588232970700303,
          "event_study": [
            {
              "event_time": -1,
              "estimate": 0.0,
              "se": null,
              "lower": null,
              "upper": null,
              "relative_to_minus_one": 0.0,
              "n": 0.0
            },
            {
              "event_time": 0,
              "estimate": -1.3951531391651613,
              "se": 0.32466404847967595,
              "lower": -2.031482981260292,
              "upper": -0.7588232970700303,
              "relative_to_minus_one": -1.3951531391651613,
              "n": 4.0
            }
          ],
          "group_time_estimates": [
            {
              "group": 2,
              "year": 1,
              "att": 0.0,
              "se": null,
              "event_time": -1,
              "mass": 0.0
            },
            {
              "group": 2,
              "year": 2,
              "att": -1.3951531391651613,
              "se": 0.32466404847967595,
              "event_time": 0,
              "mass": 4.0
            }
          ],
          "treated_cell_att": -1.3951531391651613,
          "treated_cell_se": 0.32466404847967595,
          "checks": {
            "input_rows": 40,
            "retained_rows": 40,
            "all_observed_post_cells_estimated": true,
            "dynamic_cluster_se_error": 0.0
          },
          "target": "Equal average of nonnegative native CS-DID event-time effects",
          "donor_rule": "notyettreated",
          "inference": "Configured-cluster analytical influence-function intervals; observed-cell ratio includes estimated weight-share uncertainty",
          "warnings": [
            "Be aware that there are some small groups in your dataset.\n  Check groups: 2.",
            "No pre-treatment periods available for the Wald pre-test of parallel trends. The pre-test will not be reported."
          ],
          "seconds": 0.026205167174339294,
          "status": "estimated"
        },
        {
          "method": "SDID",
          "status": "unsupported",
          "reason": "sdid: this adapter does not implement covariate adjustment; controls retained."
        },
        {
          "method": "Matrix completion",
          "status": "unsupported",
          "reason": "matrix-completion: this adapter does not implement covariate adjustment; controls retained."
        },
        {
          "method": "Horizontal ridge",
          "status": "unsupported",
          "reason": "horizontal-ridge: this adapter does not implement covariate adjustment; controls retained."
        },
        {
          "method": "Multisynth (cohort-averaged)",
          "status": "unsupported",
          "reason": "multisynth-cohort: this adapter does not implement covariate adjustment; controls retained."
        },
        {
          "method": "Multisynth (individual)",
          "status": "unsupported",
          "reason": "multisynth-individual: this adapter does not implement covariate adjustment; controls retained."
        }
      ]
    },
    "combined_table": [
      {
        "Outcome / treatment": "y__d",
        "Estimator": "Static TWFE",
        "Estimate (SDs)": -1.18567590759286,
        "SE": 0.4994848314448515,
        "Aggregation": "Coefficient",
        "Event study": "No",
        "Status": "estimated",
        "Note": ""
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "Dynamic TWFE",
        "Estimate (SDs)": -1.18567590759286,
        "SE": 0.4994848314448515,
        "Aggregation": "observations",
        "Event study": "Yes",
        "Status": "estimated",
        "Note": ""
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "BJS / did2s",
        "Estimate (SDs)": -1.2445173537184235,
        "SE": 0.506467690208143,
        "Aggregation": "observations",
        "Event study": "Yes",
        "Status": "estimated",
        "Note": ""
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "Sun\u2013Abraham",
        "Estimate (SDs)": -1.18567590759286,
        "SE": 0.4994848314448515,
        "Aggregation": "observations",
        "Event study": "Yes",
        "Status": "estimated",
        "Note": ""
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "CS-DID",
        "Estimate (SDs)": -1.3951531391651613,
        "SE": 0.32466404847967595,
        "Aggregation": "Equal post-event times",
        "Event study": "Yes",
        "Status": "estimated",
        "Note": ""
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "CS-DID (treated cells)",
        "Estimate (SDs)": -1.3951531391651613,
        "SE": 0.32466404847967595,
        "Aggregation": "Treated cells",
        "Event study": "Same CS-DID path",
        "Status": "estimated",
        "Note": ""
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "SDID",
        "Estimate (SDs)": null,
        "SE": null,
        "Aggregation": "Treated cells",
        "Event study": "No",
        "Status": "unsupported",
        "Note": "sdid: this adapter does not implement covariate adjustment; controls retained."
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "Matrix completion",
        "Estimate (SDs)": null,
        "SE": null,
        "Aggregation": "Treated cells",
        "Event study": "No",
        "Status": "unsupported",
        "Note": "matrix-completion: this adapter does not implement covariate adjustment; controls retained."
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "Horizontal ridge",
        "Estimate (SDs)": null,
        "SE": null,
        "Aggregation": "Treated cells",
        "Event study": "No",
        "Status": "unsupported",
        "Note": "horizontal-ridge: this adapter does not implement covariate adjustment; controls retained."
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "Multisynth (cohort-averaged)",
        "Estimate (SDs)": null,
        "SE": null,
        "Aggregation": "Treated cells",
        "Event study": "No",
        "Status": "unsupported",
        "Note": "multisynth-cohort: this adapter does not implement covariate adjustment; controls retained."
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "Multisynth (individual)",
        "Estimate (SDs)": null,
        "SE": null,
        "Aggregation": "Treated cells",
        "Event study": "No",
        "Status": "unsupported",
        "Note": "multisynth-individual: this adapter does not implement covariate adjustment; controls retained."
      }
    ],
    "adapter_sha256": {
      "validate_template.py": "9c8cc9bb42c9d4eb4f48bfa0a6ee09498fe83516d08aa9f26a49c21c4686618a",
      "mtgpax_worker.py": "7279b1b2aaa3f5909cd39ac1964d2e9c75907219011fe661a015511131affa85",
      "csdid_general.py": "07619c3b3dfee796ae9e4842afdbc6e367a74cece254ede73f7c403dfc924f6d",
      "runner.py": "3d6f87d28c1a24f0efe21b6d9b06d77866b0d16abcfdaaaef47465cc9cc1078e",
      "matrix_inputs.py": "3f675276f9022147996dd5b62762721be2dd436d5db171491a286b05628176ae",
      "csdid_model.py": "b9fd5536d4886e99a707d2b162db5b11da3ff463930eca5b7590d27500096a3f",
      "multisynth_model.R": "3ae0740c5b75b14f563dacc9961688e8286655866a6b435045a3ef6f453c1604",
      "csdid_streaming.py": "378198e98c44bd46862601bdcb514b19d9ea4038cddc38dad7fdba9b0aa0216b",
      "multisynth_sparse.R": "f9ab3d8d7f7b52a79ccd694c7173f626276a0830f23bb79e527c88c0f0292540",
      "matrix_models.py": "dc7188bf9bf709f0803169dfc3b1198e8b9d2b79d5904ebc5f010a48edde2ee2",
      "csdid_aggregations.py": "cbed0fb13450d9398f9a59d53dbfdf8e275a74daa01158c38c0f3396a3e8c6ee",
      "bootstrap_matrix.py": "a55b171313d43a703063c87e668021b75eb3153fa30795b9ae3d9e2721d9b9d0",
      "eligibility.py": "f0eb686ff3f13e89c8f3d85f49890601c4a7f9a611a2938753be599b8ceac9a6"
    }
  }
}
