{
  "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": "Perception of Chinese democracy z-score index [humanities-track students only]",
      "d": "New Curriculum indicator (newcurr)"
    },
    "allow_repeated_cells": true,
    "time_fe": null,
    "latest_cohort_control": true,
    "slug": "s01-p088",
    "study_id": 1,
    "study": "Curriculum and Ideology",
    "citation": "Cantoni et al. (2017), JPE. https://doi.org/10.1086/690951",
    "description": "Perception of Chinese democracy z-score index [humanities-track students only]",
    "source_specification_id": "CI-T5-D-C03",
    "specification_id": "S01-P088",
    "data": "repl-archives/twfe-microdata-replication-private/outputs/published_clustering_2026_10_08/curriculum/prepared_rows/CI-T5-D-C03.csv",
    "output_dir": "analyses/full-archive/results/S01-P088"
  },
  "source": {
    "file": "CI-T5-D-C03.csv",
    "bytes": 67339,
    "sha256": "d39f69e370fecd2a443946c8699c78a08cb6f40fb1b5cf226bde82f017a96038"
  },
  "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": 459,
        "source_sd": 0.9614291497336017,
        "rows": 264,
        "units": 17,
        "clusters": 17,
        "treated_units": 10,
        "never_treated_units": 7,
        "treated_cohorts": 3,
        "latest_cohort_control_index": null,
        "unique_unit_period_cells": 65,
        "unsupported_prediction_rows_removed": 0,
        "initially_treated_units_removed": 10,
        "post_adoption_untreated_rows_removed": 0,
        "units_without_minus_one_removed": 2,
        "additional_rows_removed": 21
      },
      "estimates": [
        {
          "method": "Static TWFE",
          "estimate": 0.3320653723940968,
          "se": 0.21620740446726425,
          "pvalue": 0.14410894889203255,
          "lower": -0.12627385006692987,
          "upper": 0.7904045948551235
        },
        {
          "method": "Dynamic TWFE",
          "estimate": 0.2632884222324601,
          "se": 0.22966794685584058,
          "pvalue": 0.2684909422342053,
          "lower": -0.22358587536850183,
          "upper": 0.750162719833422
        },
        {
          "method": "BJS / did2s",
          "estimate": 0.35830775083131117,
          "se": 0.20172010886107067,
          "pvalue": 0.09470674902294794,
          "lower": -0.06931977690276092,
          "upper": 0.7859352785653833
        },
        {
          "method": "Sun\u2013Abraham",
          "estimate": 0.3871365784380185,
          "se": 0.1717411012472166,
          "pvalue": 0.03855687874863643,
          "lower": 0.02306170780995004,
          "upper": 0.7512114490660871
        }
      ],
      "event_studies": {
        "Dynamic TWFE": [
          {
            "event_time": -3,
            "estimate": -0.13352174199743105,
            "se": 0.26167670341915994,
            "pvalue": 0.6168399498127194,
            "lower": -0.6882515722584568,
            "upper": 0.4212080882635947
          },
          {
            "event_time": -2,
            "estimate": -0.06170887569492367,
            "se": 0.21173495555415484,
            "pvalue": 0.774456311492573,
            "lower": -0.5105669300045533,
            "upper": 0.387149178614706
          },
          {
            "event_time": 0,
            "estimate": 0.3054268379762749,
            "se": 0.2156043334353399,
            "pvalue": 0.17577314261178212,
            "lower": -0.15163393100836853,
            "upper": 0.7624876069609183
          },
          {
            "event_time": 1,
            "estimate": 0.30591391656612904,
            "se": 0.27996159651572433,
            "pvalue": 0.29070577893803495,
            "lower": -0.2875781554659977,
            "upper": 0.8994059885982557
          },
          {
            "event_time": 2,
            "estimate": 0.04718656362380259,
            "se": 0.346023416454131,
            "pvalue": 0.8932313681403888,
            "lower": -0.6863503105719527,
            "upper": 0.7807234378195579
          }
        ],
        "BJS / did2s": [
          {
            "event_time": -3,
            "estimate": -0.032209910684750875,
            "se": 0.15306064727377727,
            "pvalue": 0.8359817063051606,
            "lower": -0.3566839879426666,
            "upper": 0.29226416657316484
          },
          {
            "event_time": -2,
            "estimate": -0.06054743481240145,
            "se": 0.07424398363157166,
            "pvalue": 0.42674894179426615,
            "lower": -0.2179376491482663,
            "upper": 0.09684277952346339
          },
          {
            "event_time": -1,
            "estimate": 0.049244547579542705,
            "se": 0.04532678734883192,
            "pvalue": 0.2933845077378397,
            "lower": -0.046843949117921,
            "upper": 0.1453330442770064
          },
          {
            "event_time": 0,
            "estimate": 0.42651457883287663,
            "se": 0.2055297140785121,
            "pvalue": 0.05445509913057744,
            "lower": -0.009188951189590455,
            "upper": 0.8622181088553438
          },
          {
            "event_time": 1,
            "estimate": 0.385562164903139,
            "se": 0.26413057727415173,
            "pvalue": 0.1637167950156381,
            "lower": -0.1743696455467043,
            "upper": 0.9454939753529823
          },
          {
            "event_time": 2,
            "estimate": 0.0919987725775314,
            "se": 0.26818951619864045,
            "pvalue": 0.736036710520455,
            "lower": -0.47653760400755096,
            "upper": 0.6605351491626138
          }
        ],
        "Sun\u2013Abraham": [
          {
            "event_time": -3,
            "estimate": -0.23103037072934715,
            "se": 0.3400369073694558,
            "pvalue": 0.5065781908203909,
            "lower": -0.9518764125926634,
            "upper": 0.48981567113396907
          },
          {
            "event_time": -2,
            "estimate": -0.6867440812026457,
            "se": 0.2474830652524751,
            "pvalue": 0.013522806169181016,
            "lower": -1.211384742698887,
            "upper": -0.1621034197064043
          },
          {
            "event_time": 0,
            "estimate": 0.43283747569384146,
            "se": 0.15085398998750588,
            "pvalue": 0.011128500539063007,
            "lower": 0.11304130291065767,
            "upper": 0.7526336484770253
          },
          {
            "event_time": 1,
            "estimate": 0.32553512906455745,
            "se": 0.2577403696337098,
            "pvalue": 0.22467304916436862,
            "lower": -0.22085004634518884,
            "upper": 0.8719203044743038
          },
          {
            "event_time": 2,
            "estimate": 0.36842616465370087,
            "se": 0.2844268098404069,
            "pvalue": 0.21358533415922604,
            "lower": -0.23453173676757383,
            "upper": 0.9713840660749755
          }
        ]
      },
      "target": {
        "event_times": [
          0.0,
          1.0,
          2.0
        ],
        "weights": [
          0.5086206896551724,
          0.3275862068965517,
          0.16379310344827586
        ],
        "weighting": "observations"
      },
      "checks": {
        "did2s_vs_direct_imputation_max_post_difference": 1.6653345369377348e-16,
        "package_aggregate_vs_estimable_cell_weights": 0.0,
        "saturated_vs_deviations_relative_rss_difference": 0.0
      },
      "inference": {
        "standard_errors": "Cluster-robust; did2s uses two-stage covariance",
        "confidence_intervals": "Pointwise t, clusters minus one degrees of freedom"
      },
      "f_test": {
        "F": 5.8906668436091465,
        "df_num": 1,
        "df_den": 235,
        "pvalue": 0.015974233938446332,
        "log10_pvalue": -1.7965799597287377,
        "inference": "Homoskedastic nested-model F",
        "observations": 264,
        "design_columns": 9,
        "restricted_design_columns": 8,
        "fixed_effect_rank": 20,
        "covariance_rank": 1,
        "rss_unrestricted": 216.62140616518184,
        "rss_restricted": 222.05138290949344,
        "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.10703402932639092,
              -0.2580267379231744,
              -0.027890014530844647,
              -0.10713747413074906,
              -0.17957023385852633,
              -0.2784781448507241
            ],
            [
              -0.10703402932639092,
              -0.2580267379231744,
              -0.027890014530844647,
              -0.10713747413074906,
              -0.17957023385852633,
              -0.2784781448507241
            ],
            [
              -0.10703402932639092,
              -0.2580267379231744,
              -0.027890014530844647,
              -0.10713747413074906,
              -0.17957023385852633,
              -0.2784781448507241
            ],
            [
              -0.10703402932639092,
              -0.2580267379231744,
              -0.027890014530844647,
              -0.10713747413074906,
              -0.17957023385852633,
              -0.2784781448507241
            ],
            [
              -0.10703402932639092,
              -0.2580267379231744,
              -0.027890014530844647,
              -0.10713747413074906,
              -0.17957023385852633,
              -0.2784781448507241
            ]
          ]
        },
        "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+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": -1.4861415166916805
          },
          {
            "event_time": 0.0,
            "cohort": 3,
            "estimate": -1.4042953422199558
          },
          {
            "event_time": 1.0,
            "cohort": 3,
            "estimate": -1.689831059616433
          },
          {
            "event_time": 0.0,
            "cohort": 4,
            "estimate": -0.4241109327763476
          }
        ]
      }
    }
  },
  "code_sha256": {
    "replication_engine.py": "a84197989fc6e453d28f8a12b14fdabaee204780a523db7d585b9004c6231de4",
    "reference_f_test.py": "26f3d65e1ff59d46f05bb28011b2ed34b9ee150f04c47c144dd6836a4d75d6f0",
    "sparse_did2s.py": "a348042269b0077dd2916898779f992f0b5fc2971edfee8b0118d3af715eaafb"
  }
}
