{
  "paper": {
    "rank": 21,
    "paper_id": "aeraej-152",
    "title": "The Economics of Speed: The Electrification of the Streetcar System and the Decline of Mom-and-Pop Stores in Boston, 1885-1905",
    "authors": "Wei You",
    "year": 2021,
    "journal": "American Economic Journal: Applied Economics",
    "doi": "10.1257/app.20180795",
    "package_bytes": 13490338,
    "source_specification": "Table 3",
    "selection_stratum": "binary_did"
  },
  "mapping": {
    "paper_id": "aeraej-152",
    "match": true,
    "outcome": "Sole",
    "treatment": "treat25_after",
    "unit": "grid_band",
    "unit_fe": "grid",
    "time": "year",
    "cluster": "grid",
    "weight": "density",
    "mutate": {
      "grid_band": "interaction(grid, treat_band, drop = TRUE)"
    },
    "ordered_periods": true,
    "note": "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.",
    "input_alias": "152_master.dta",
    "source_input": "master_establishments_1880_1905.dta"
  },
  "status": "estimated",
  "source_fit": {
    "formula": "list(linear = Sole ~ treat25 + treat75 + after + treat25_after +      treat75_after + treatCBD_after, fixef = ~grid)",
    "coefficients": {
      "treat25": -0.00146083067156415,
      "treat75": 0.0199920710966401,
      "after": -0.0213873112328665,
      "treat25_after": -0.179503477588299,
      "treat75_after": -0.0581799484239265,
      "treatCBD_after": -0.105200843744726
    },
    "se": {
      "treat25": 0.0276629877029703,
      "treat75": 0.0226884879037728,
      "after": 0.0337863268131292,
      "treat25_after": 0.0363909336692533,
      "treat75_after": 0.0380046560324547,
      "treatCBD_after": 0.0364911971879464
    },
    "n": 330
  },
  "source_check": {
    "source_term": "treat25_after",
    "source_beta": -0.179503477588299,
    "template_source_sample_beta": -0.17950347758829957,
    "template_source_sample_n": 330,
    "template_source_sample_se": 0.03320993894010978,
    "same_point_specification": true,
    "dropped_missing_identifiers": 0,
    "controls": {
      "x001": "treat25",
      "x002": "treat75",
      "x003": "treat75_after",
      "x004": "treatCBD_after"
    },
    "absolute_coefficient_difference": 5.828670879282072e-16
  },
  "settings": {
    "slug": "aeraej-152",
    "specification_id": "aeraej-152-source",
    "source_specification_id": "Table 3",
    "study": "The Economics of Speed: The Electrification of the Streetcar System and the Decline of Mom-and-Pop Stores in Boston, 1885-1905",
    "citation": "Wei You (2021). https://doi.org/10.1257/app.20180795",
    "description": "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.",
    "data": "analyses/new-library/tranche100/aeraej-152/panel.parquet",
    "unit": "unit",
    "time": "time",
    "cluster": "cluster",
    "covariates": [
      "x001",
      "x002",
      "x003",
      "x004"
    ],
    "time_fe": null,
    "unit_fe": "unit_fe",
    "allow_repeated_cells": false,
    "period_values": [
      1885,
      1905
    ],
    "period_step": 1,
    "weight": "weight",
    "latest_cohort_control": true,
    "reversal_policy": "drop_post_untreated",
    "test_mode": "classical",
    "post_weighting": "observations",
    "display_window": [
      -10,
      10
    ],
    "labels": {
      "y": "Sole",
      "d": "treat25_after",
      "unit": "grid_band",
      "time": "year",
      "cluster": "grid",
      "x001": "treat25",
      "x002": "treat75",
      "x003": "treat75_after",
      "x004": "treatCBD_after"
    }
  },
  "options": {
    "output_dir": "analyses/new-library/tranche100/aeraej-152/results",
    "timeout_seconds": 300,
    "isolate_matrix": true
  },
  "comparison": {
    "schema": "expensive-replication-v1",
    "config": {
      "outcomes": [
        "y"
      ],
      "treatments": [
        "d"
      ],
      "unit": "unit",
      "time": "time",
      "cluster": "cluster",
      "covariates": [
        "x001",
        "x002",
        "x003",
        "x004"
      ],
      "baseline_by_time": [],
      "weight": "weight",
      "period_step": 1,
      "period_values": [
        1885,
        1905
      ],
      "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": "Sole",
        "d": "treat25_after",
        "unit": "grid_band",
        "time": "year",
        "cluster": "grid",
        "x001": "treat25",
        "x002": "treat75",
        "x003": "treat75_after",
        "x004": "treatCBD_after"
      },
      "allow_repeated_cells": false,
      "time_fe": null,
      "unit_fe": "unit_fe",
      "frequency_weights": false,
      "source_sd": null,
      "require_never_control_periods": false,
      "latest_cohort_control": true,
      "slug": "aeraej-152",
      "specification_id": "aeraej-152-source",
      "source_specification_id": "Table 3",
      "study": "The Economics of Speed: The Electrification of the Streetcar System and the Decline of Mom-and-Pop Stores in Boston, 1885-1905",
      "citation": "Wei You (2021). https://doi.org/10.1257/app.20180795",
      "description": "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.",
      "data": "analyses/new-library/tranche100/aeraej-152/panel.parquet",
      "output_dir": "analyses/new-library/tranche100/aeraej-152/results"
    },
    "options": {
      "output_dir": "analyses/new-library/tranche100/aeraej-152/results",
      "timeout_seconds": 300,
      "isolate_matrix": true
    },
    "source": {
      "file": "panel.parquet",
      "bytes": 10279,
      "sha256": "75328eb8c013c09b56e7da9811c51eee70e2278abd7c57805308000975e38946"
    },
    "regressions": {
      "y__d": {
        "sample": {
          "outcome": "y",
          "treatment": "d",
          "source_rows": 330,
          "source_sd": 0.24771236228475493,
          "rows": 330,
          "units": 165,
          "clusters": 55,
          "treated_units": 55,
          "never_treated_units": 110,
          "treated_cohorts": 1,
          "latest_cohort_control_index": null,
          "unique_unit_period_cells": 330,
          "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": -0.7246448095390304,
            "se": 0.13406653843918234,
            "pvalue": 1.5025864942858937e-06,
            "lower": -0.993432035694815,
            "upper": -0.45585758338324583
          },
          {
            "method": "Dynamic TWFE",
            "estimate": -0.7246448095390304,
            "se": 0.13406653843918234,
            "pvalue": 1.5025864942858937e-06,
            "lower": -0.993432035694815,
            "upper": -0.45585758338324583
          },
          {
            "method": "BJS / did2s",
            "estimate": -0.7213850723167714,
            "se": 0.13339327583425187,
            "pvalue": 1.487210284857861e-06,
            "lower": -0.9888224882204193,
            "upper": -0.45394765641312346
          },
          {
            "method": "Sun\u2013Abraham",
            "estimate": -0.7246448095390304,
            "se": 0.13406653843918234,
            "pvalue": 1.5025864942858937e-06,
            "lower": -0.993432035694815,
            "upper": -0.45585758338324583
          }
        ],
        "event_studies": {
          "Dynamic TWFE": [
            {
              "event_time": 0,
              "estimate": -0.7246448095390304,
              "se": 0.13406653843918234,
              "pvalue": 1.5025864942858937e-06,
              "lower": -0.993432035694815,
              "upper": -0.45585758338324583
            }
          ],
          "BJS / did2s": [
            {
              "event_time": -1,
              "estimate": 1.3906199385541863e-07,
              "se": 2.4262299605865646e-08,
              "pvalue": 4.576758266280984e-07,
              "lower": 9.041901189180536e-08,
              "upper": 1.877049758190319e-07
            },
            {
              "event_time": 0,
              "estimate": -0.7213850723167714,
              "se": 0.13339327583425187,
              "pvalue": 1.487210284857861e-06,
              "lower": -0.9888224882204193,
              "upper": -0.45394765641312346
            }
          ],
          "Sun\u2013Abraham": [
            {
              "event_time": 0,
              "estimate": -0.7246448095390304,
              "se": 0.13406653843918234,
              "pvalue": 1.5025864942858937e-06,
              "lower": -0.993432035694815,
              "upper": -0.45585758338324583
            }
          ]
        },
        "target": {
          "event_times": [
            0
          ],
          "weights": [
            1.0
          ],
          "weighting": "observations"
        },
        "checks": {
          "did2s_vs_direct_imputation_max_post_difference": 4.523605712236645e-09,
          "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",
          "status": "unsupported",
          "reason": "csdid: matching the configured nonstandard fixed effects is not implemented."
        },
        {
          "method": "SDID",
          "status": "unsupported",
          "reason": "sdid: matching the configured nonstandard fixed effects is not implemented."
        },
        {
          "method": "Matrix completion",
          "status": "unsupported",
          "reason": "matrix-completion: matching the configured nonstandard fixed effects is not implemented."
        },
        {
          "method": "Horizontal ridge",
          "status": "unsupported",
          "reason": "horizontal-ridge: matching the configured nonstandard fixed effects is not implemented."
        },
        {
          "method": "Multisynth (cohort-averaged)",
          "status": "unsupported",
          "reason": "multisynth-cohort: matching the configured nonstandard fixed effects is not implemented."
        },
        {
          "method": "Multisynth (individual)",
          "status": "unsupported",
          "reason": "multisynth-individual: matching the configured nonstandard fixed effects is not implemented."
        }
      ]
    },
    "combined_table": [
      {
        "Outcome / treatment": "y__d",
        "Estimator": "Static TWFE",
        "Estimate (SDs)": -0.7246448095390304,
        "SE": 0.13406653843918234,
        "Aggregation": "Coefficient",
        "Event study": "No",
        "Status": "estimated",
        "Note": ""
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "Dynamic TWFE",
        "Estimate (SDs)": -0.7246448095390304,
        "SE": 0.13406653843918234,
        "Aggregation": "observations",
        "Event study": "Yes",
        "Status": "estimated",
        "Note": ""
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "BJS / did2s",
        "Estimate (SDs)": -0.7213850723167714,
        "SE": 0.13339327583425187,
        "Aggregation": "observations",
        "Event study": "Yes",
        "Status": "estimated",
        "Note": ""
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "Sun\u2013Abraham",
        "Estimate (SDs)": -0.7246448095390304,
        "SE": 0.13406653843918234,
        "Aggregation": "observations",
        "Event study": "Yes",
        "Status": "estimated",
        "Note": ""
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "CS-DID",
        "Estimate (SDs)": null,
        "SE": null,
        "Aggregation": "Equal post-event times",
        "Event study": "No",
        "Status": "unsupported",
        "Note": "csdid: matching the configured nonstandard fixed effects is not implemented."
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "SDID",
        "Estimate (SDs)": null,
        "SE": null,
        "Aggregation": "Treated cells",
        "Event study": "No",
        "Status": "unsupported",
        "Note": "sdid: matching the configured nonstandard fixed effects is not implemented."
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "Matrix completion",
        "Estimate (SDs)": null,
        "SE": null,
        "Aggregation": "Treated cells",
        "Event study": "No",
        "Status": "unsupported",
        "Note": "matrix-completion: matching the configured nonstandard fixed effects is not implemented."
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "Horizontal ridge",
        "Estimate (SDs)": null,
        "SE": null,
        "Aggregation": "Treated cells",
        "Event study": "No",
        "Status": "unsupported",
        "Note": "horizontal-ridge: matching the configured nonstandard fixed effects is not implemented."
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "Multisynth (cohort-averaged)",
        "Estimate (SDs)": null,
        "SE": null,
        "Aggregation": "Treated cells",
        "Event study": "No",
        "Status": "unsupported",
        "Note": "multisynth-cohort: matching the configured nonstandard fixed effects is not implemented."
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "Multisynth (individual)",
        "Estimate (SDs)": null,
        "SE": null,
        "Aggregation": "Treated cells",
        "Event study": "No",
        "Status": "unsupported",
        "Note": "multisynth-individual: matching the configured nonstandard fixed effects is not implemented."
      }
    ],
    "adapter_sha256": {
      "validate_template.py": "9c8cc9bb42c9d4eb4f48bfa0a6ee09498fe83516d08aa9f26a49c21c4686618a",
      "mtgpax_worker.py": "7279b1b2aaa3f5909cd39ac1964d2e9c75907219011fe661a015511131affa85",
      "csdid_general.py": "07619c3b3dfee796ae9e4842afdbc6e367a74cece254ede73f7c403dfc924f6d",
      "runner.py": "58547dcbff39ff9f3c439b6db688064bd9e5f19237ca1cae4e68b0c77dde1096",
      "matrix_inputs.py": "3f675276f9022147996dd5b62762721be2dd436d5db171491a286b05628176ae",
      "csdid_model.py": "b9fd5536d4886e99a707d2b162db5b11da3ff463930eca5b7590d27500096a3f",
      "multisynth_model.R": "3ae0740c5b75b14f563dacc9961688e8286655866a6b435045a3ef6f453c1604",
      "csdid_streaming.py": "378198e98c44bd46862601bdcb514b19d9ea4038cddc38dad7fdba9b0aa0216b",
      "multisynth_sparse.R": "f9ab3d8d7f7b52a79ccd694c7173f626276a0830f23bb79e527c88c0f0292540",
      "matrix_models.py": "dc7188bf9bf709f0803169dfc3b1198e8b9d2b79d5904ebc5f010a48edde2ee2",
      "matrix_worker.py": "c70d8461b3cd9c702154ea38ff99ff31fc9daec8620914e6d5b49d3126ce6312",
      "csdid_aggregations.py": "cbed0fb13450d9398f9a59d53dbfdf8e275a74daa01158c38c0f3396a3e8c6ee",
      "bootstrap_matrix.py": "a55b171313d43a703063c87e668021b75eb3153fa30795b9ae3d9e2721d9b9d0",
      "eligibility.py": "f0eb686ff3f13e89c8f3d85f49890601c4a7f9a611a2938753be599b8ceac9a6"
    }
  }
}
