{
  "schema": "did-replication-v2",
  "config": {
    "outcomes": [
      "y"
    ],
    "treatments": [
      "d"
    ],
    "unit": "unit",
    "time": "time",
    "cluster": "cluster",
    "covariates": [],
    "baseline_by_time": [],
    "weight": null,
    "period_step": 1,
    "period_values": null,
    "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": "Plan to vote for local People's Congress representative [Table 3 original scale]",
      "d": "New Curriculum indicator (newcurr)"
    },
    "allow_repeated_cells": true,
    "time_fe": null,
    "unit_fe": null,
    "frequency_weights": false,
    "source_sd": null,
    "latest_cohort_control": true,
    "slug": "s01-p054",
    "study_id": 1,
    "study": "Curriculum and Ideology",
    "citation": "Cantoni et al. (2017), JPE. https://doi.org/10.1086/690951",
    "description": "Plan to vote for local People's Congress representative [Table 3 original scale]",
    "source_specification_id": "CI-T3-J02-ORIG",
    "specification_id": "S01-P054",
    "data": "repl-archives/twfe-microdata-replication-private/outputs/published_clustering_2026_10_08/curriculum/prepared_rows/CI-T3-J02-ORIG.csv",
    "output_dir": "analyses/full-archive/results/S01-P054"
  },
  "source": {
    "file": "CI-T3-J02-ORIG.csv",
    "bytes": 192724,
    "sha256": "a1994302ccedb8c1f17cb87daeae79e585085b61ec43b22bfa67f3d14c85e2a9"
  },
  "versions": {
    "pyfixest": "0.60.0",
    "polars": "2.0.0",
    "duckreg": "0.4.1",
    "numpy": "2.5.3",
    "pandas": "3.0.6"
  },
  "specifications": {
    "y__d": {
      "sample": {
        "outcome": "y",
        "treatment": "d",
        "source_rows": 1755,
        "source_sd": 0.5000430418050419,
        "rows": 1102,
        "units": 19,
        "clusters": 19,
        "treated_units": 13,
        "never_treated_units": 6,
        "treated_cohorts": 3,
        "latest_cohort_control_index": null,
        "unique_unit_period_cells": 76,
        "unsupported_prediction_rows_removed": 0,
        "initially_treated_units_removed": 10,
        "post_adoption_untreated_rows_removed": 0,
        "units_without_minus_one_removed": 0,
        "additional_rows_removed": 0
      },
      "estimates": [
        {
          "method": "Static TWFE",
          "estimate": -0.018671890265089666,
          "se": 0.1308850475082754,
          "pvalue": 0.8881444963894355,
          "lower": -0.2936511713132208,
          "upper": 0.25630739078304154
        },
        {
          "method": "Dynamic TWFE",
          "estimate": 0.11780200241274341,
          "se": 0.0985155405975608,
          "pvalue": 0.24730171913768687,
          "lower": -0.08917146813493287,
          "upper": 0.3247754729604197
        },
        {
          "method": "BJS / did2s",
          "estimate": -0.014512308844614644,
          "se": 0.15523410737113646,
          "pvalue": 0.9265497280933527,
          "lower": -0.34064706641777903,
          "upper": 0.3116224487285498
        },
        {
          "method": "Sun\u2013Abraham",
          "estimate": 0.08678442257440994,
          "se": 0.10037206573915176,
          "pvalue": 0.3986199630739659,
          "lower": -0.12408946256149639,
          "upper": 0.29765830771031626
        }
      ],
      "event_studies": {
        "Dynamic TWFE": [
          {
            "event_time": -3,
            "estimate": -0.6836518963312924,
            "se": 0.17865422235836217,
            "pvalue": 0.0012357021778263313,
            "lower": -1.0589904896660989,
            "upper": -0.30831330299648607
          },
          {
            "event_time": -2,
            "estimate": -0.4901849790600395,
            "se": 0.15826006842262408,
            "pvalue": 0.0062153979678688616,
            "lower": -0.8226770448991851,
            "upper": -0.1576929132208938
          },
          {
            "event_time": 0,
            "estimate": -0.0017837343484311098,
            "se": 0.09298743506233147,
            "pvalue": 0.9849065305956531,
            "lower": -0.19714308613636558,
            "upper": 0.19357561743950338
          },
          {
            "event_time": 1,
            "estimate": 0.17049364194686795,
            "se": 0.12802913192071938,
            "pvalue": 0.19958470479654142,
            "lower": -0.09848558309829886,
            "upper": 0.43947286699203475
          },
          {
            "event_time": 2,
            "estimate": 0.321220149988756,
            "se": 0.1163601605243939,
            "pvalue": 0.012878520901718208,
            "lower": 0.07675652413707165,
            "upper": 0.5656837758404403
          }
        ],
        "BJS / did2s": [
          {
            "event_time": -3,
            "estimate": -0.06705613636509815,
            "se": 0.07139485830813763,
            "pvalue": 0.36004678755754543,
            "lower": -0.21705116774455052,
            "upper": 0.08293889501435421
          },
          {
            "event_time": -2,
            "estimate": -0.052862689321544386,
            "se": 0.049930003172573026,
            "pvalue": 0.303721754991947,
            "lower": -0.15776173345610803,
            "upper": 0.05203635481301925
          },
          {
            "event_time": -1,
            "estimate": 0.04792750556751325,
            "se": 0.026455548522947226,
            "pvalue": 0.08676361477100217,
            "lower": -0.007653539411012822,
            "upper": 0.10350855054603932
          },
          {
            "event_time": 0,
            "estimate": -0.0313263312548488,
            "se": 0.15324337825095524,
            "pvalue": 0.8403172893857864,
            "lower": -0.3532787221432748,
            "upper": 0.29062605963357724
          },
          {
            "event_time": 1,
            "estimate": -0.021532533723487575,
            "se": 0.22138909704952414,
            "pvalue": 0.9235939003691402,
            "lower": -0.486653767183895,
            "upper": 0.4435886997369199
          },
          {
            "event_time": 2,
            "estimate": 0.042071841120363586,
            "se": 0.14720104260022576,
            "pvalue": 0.7782851758271259,
            "lower": -0.2671860736249107,
            "upper": 0.3513297558656379
          }
        ],
        "Sun\u2013Abraham": [
          {
            "event_time": -3,
            "estimate": -0.4713435408836272,
            "se": 0.17211758225147106,
            "pvalue": 0.013499440262795082,
            "lower": -0.8329491629487424,
            "upper": -0.10973791881851191
          },
          {
            "event_time": -2,
            "estimate": -0.4407571885175282,
            "se": 0.16381396850537217,
            "pvalue": 0.014947091975216011,
            "lower": -0.784917565449816,
            "upper": -0.09659681158524053
          },
          {
            "event_time": 0,
            "estimate": 0.025390262470740915,
            "se": 0.091456276963572,
            "pvalue": 0.784466134284869,
            "lower": -0.16675224552041623,
            "upper": 0.21753277046189806
          },
          {
            "event_time": 1,
            "estimate": 0.042558979548218814,
            "se": 0.13220863471122146,
            "pvalue": 0.7512309995967026,
            "lower": -0.23520105502676275,
            "upper": 0.32031901412320035
          },
          {
            "event_time": 2,
            "estimate": 0.32945116567801563,
            "se": 0.1360954649256631,
            "pvalue": 0.026282529588179372,
            "lower": 0.043525203838838844,
            "upper": 0.6153771275171924
          }
        ]
      },
      "target": {
        "event_times": [
          0.0,
          1.0,
          2.0
        ],
        "weights": [
          0.4650735294117647,
          0.35294117647058826,
          0.18198529411764705
        ],
        "weighting": "observations"
      },
      "checks": {
        "did2s_vs_direct_imputation_max_post_difference": 3.122502256758253e-17,
        "package_aggregate_vs_estimable_cell_weights": 3.469446951953614e-18,
        "saturated_vs_deviations_relative_rss_difference": 8.629837427071189e-16
      },
      "inference": {
        "standard_errors": "Cluster-robust; did2s uses two-stage covariance",
        "confidence_intervals": "Pointwise t, clusters minus one degrees of freedom"
      },
      "f_test": {
        "F": 0.3931958946196375,
        "df_num": 1,
        "df_den": 1071,
        "pvalue": 0.5307579151547169,
        "log10_pvalue": -0.27510352051121434,
        "inference": "Homoskedastic nested-model F",
        "observations": 1102,
        "design_columns": 9,
        "restricted_design_columns": 8,
        "fixed_effect_rank": 22,
        "covariance_rank": 1,
        "rss_unrestricted": 1053.8955217393864,
        "rss_restricted": 1054.2824380722584,
        "test_horizon": null,
        "reference_cohort": 2,
        "pyfixest": "0.27.0",
        "formulaic": "1.0.2",
        "design_head": {
          "index": [
            0,
            1,
            2,
            3,
            4
          ],
          "columns": [
            "C(rel_time, contr.treatment(base=-1.0))[T.-3.0]",
            "C(rel_time, contr.treatment(base=-1.0))[T.-2.0]",
            "C(rel_time, contr.treatment(base=-1.0))[T.0.0]",
            "C(rel_time, contr.treatment(base=-1.0))[T.1.0]",
            "C(rel_time, contr.treatment(base=-1.0))[T.2.0]",
            "C(rel_time, contr.treatment(base=-1.0))[T.-2.0]:cohort_dummy_3"
          ],
          "data": [
            [
              -0.1453334720118309,
              -0.16488157783119572,
              -0.01958083258390086,
              -0.09696280858279616,
              -0.15075438196615368,
              -0.21630931351637112
            ],
            [
              -0.1453334720118309,
              -0.16488157783119572,
              -0.01958083258390086,
              -0.09696280858279616,
              -0.15075438196615368,
              -0.21630931351637112
            ],
            [
              -0.1453334720118309,
              -0.16488157783119572,
              -0.01958083258390086,
              -0.09696280858279616,
              -0.15075438196615368,
              -0.21630931351637112
            ],
            [
              -0.1453334720118309,
              -0.16488157783119572,
              -0.01958083258390086,
              -0.09696280858279616,
              -0.15075438196615368,
              -0.21630931351637112
            ],
            [
              -0.1453334720118309,
              -0.16488157783119572,
              -0.01958083258390086,
              -0.09696280858279616,
              -0.15075438196615368,
              -0.21630931351637112
            ]
          ]
        },
        "formula": "y~i(rel_time,ref=-1.0)+i(rel_time,cohort_dummy_3,ref=-1.0)+i(rel_time,cohort_dummy_4,ref=-1.0)|unit_fe+time_fe",
        "restriction_names": [
          "C(rel_time, contr.treatment(base=-1.0))[T.1.0]:cohort_dummy_3"
        ],
        "deviations": [
          {
            "event_time": -2.0,
            "cohort": 3,
            "estimate": -0.8566514049980515
          },
          {
            "event_time": 0.0,
            "cohort": 3,
            "estimate": -0.27475968114680793
          },
          {
            "event_time": 1.0,
            "cohort": 3,
            "estimate": 0.23399138669247319
          },
          {
            "event_time": 0.0,
            "cohort": 4,
            "estimate": 0.1749507196839319
          }
        ]
      }
    }
  },
  "code_sha256": {
    "replication_engine.py": "aa5b4502ce913299533b0c0035000b0770df1c69af7de25b04aa0c8532a3ddca",
    "reference_f_test.py": "9cf8f31eeda89784ac1750ea22c35401ae46e24e06279acf938d2d103b78cccf",
    "sparse_did2s.py": "75169d7fbba6e1bad163e564ac9b5b1262a04033eda925dc379dc3eef64c59fa",
    "frequency.py": "8f922ae4be2b63ad9b89515d8e665cda4e11a354258b54ef3b820648243642eb"
  }
}
