{
  "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": "China is not suitable for democracy [Table 3 original scale]",
      "d": "New Curriculum indicator (newcurr)"
    },
    "allow_repeated_cells": true,
    "time_fe": null,
    "unit_fe": null,
    "latest_cohort_control": true,
    "slug": "s01-p039",
    "study_id": 1,
    "study": "Curriculum and Ideology",
    "citation": "Cantoni et al. (2017), JPE. https://doi.org/10.1086/690951",
    "description": "China is not suitable for democracy [Table 3 original scale]",
    "source_specification_id": "CI-T3-D05-ORIG",
    "specification_id": "S01-P039",
    "data": "repl-archives/twfe-microdata-replication-private/outputs/published_clustering_2026_10_08/curriculum/prepared_rows/CI-T3-D05-ORIG.csv",
    "output_dir": "analyses/full-archive/results/S01-P039"
  },
  "source": {
    "file": "CI-T3-D05-ORIG.csv",
    "bytes": 189425,
    "sha256": "b89d981e40f9e40b3cf6686bcff3f5789987798ca7a08fc6d2a2b2840ce6c4a4"
  },
  "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": 1724,
        "source_sd": 1.7794029040368904,
        "rows": 1083,
        "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.2581180602436974,
          "se": 0.1135983147543355,
          "pvalue": 0.035570326970292714,
          "lower": 0.0194568570420752,
          "upper": 0.49677926344531953
        },
        {
          "method": "Dynamic TWFE",
          "estimate": 0.30005921989561624,
          "se": 0.15014847058907202,
          "pvalue": 0.06100687245870987,
          "lower": -0.015391011273448496,
          "upper": 0.615509451064681
        },
        {
          "method": "BJS / did2s",
          "estimate": 0.2548799968150338,
          "se": 0.1213460859289511,
          "pvalue": 0.05004738750057245,
          "lower": -5.8669610082495716e-05,
          "upper": 0.5098186632401501
        },
        {
          "method": "Sun\u2013Abraham",
          "estimate": 0.24343173113939617,
          "se": 0.16729613709656357,
          "pvalue": 0.16286140799740828,
          "lower": -0.1080444105339606,
          "upper": 0.5949078728127529
        }
      ],
      "event_studies": {
        "Dynamic TWFE": [
          {
            "event_time": -3,
            "estimate": -0.08091032876579313,
            "se": 0.20251365707038743,
            "pvalue": 0.6942034449611514,
            "lower": -0.5063757343547854,
            "upper": 0.3445550768231992
          },
          {
            "event_time": -2,
            "estimate": 0.0978799286520921,
            "se": 0.17153014538818845,
            "pvalue": 0.5753068433113099,
            "lower": -0.2624915343597027,
            "upper": 0.4582513916638869
          },
          {
            "event_time": 0,
            "estimate": 0.2762393979551077,
            "se": 0.12182886334101518,
            "pvalue": 0.03591322001097663,
            "lower": 0.020286453824455486,
            "upper": 0.5321923420857599
          },
          {
            "event_time": 1,
            "estimate": 0.34500565453290816,
            "se": 0.17233846577019493,
            "pvalue": 0.06059876726574014,
            "lower": -0.017064026585020098,
            "upper": 0.7070753356508364
          },
          {
            "event_time": 2,
            "estimate": 0.27480120142091036,
            "se": 0.27119180024225964,
            "pvalue": 0.3243404787361646,
            "lower": -0.2949516288406978,
            "upper": 0.8445540316825185
          }
        ],
        "BJS / did2s": [
          {
            "event_time": -3,
            "estimate": -0.021133569698592956,
            "se": 0.08363977352940229,
            "pvalue": 0.8033833163546221,
            "lower": -0.19685421334728317,
            "upper": 0.15458707395009727
          },
          {
            "event_time": -2,
            "estimate": 0.05857051816912282,
            "se": 0.06928339653802323,
            "pvalue": 0.40899819063001386,
            "lower": -0.08698849664036984,
            "upper": 0.20412953297861547
          },
          {
            "event_time": -1,
            "estimate": -0.029829058665885436,
            "se": 0.03665324611633634,
            "pvalue": 0.4263846801405717,
            "lower": -0.10683467127807568,
            "upper": 0.04717655394630481
          },
          {
            "event_time": 0,
            "estimate": 0.22459432898547416,
            "se": 0.11137962644423817,
            "pvalue": 0.05892188713308729,
            "lower": -0.009405583045039384,
            "upper": 0.45859424101598767
          },
          {
            "event_time": 1,
            "estimate": 0.284200273933149,
            "se": 0.14801904995915388,
            "pvalue": 0.07084484093452562,
            "lower": -0.026776210501576747,
            "upper": 0.5951767583678748
          },
          {
            "event_time": 2,
            "estimate": 0.2764111837872234,
            "se": 0.2229772414508561,
            "pvalue": 0.2310283618347689,
            "lower": -0.19204661724902777,
            "upper": 0.7448689848234746
          }
        ],
        "Sun\u2013Abraham": [
          {
            "event_time": -3,
            "estimate": 0.14693215221749034,
            "se": 0.30016939914577345,
            "pvalue": 0.630401506989235,
            "lower": -0.48370035425377456,
            "upper": 0.7775646586887552
          },
          {
            "event_time": -2,
            "estimate": 0.24654834051692887,
            "se": 0.2315827183496014,
            "pvalue": 0.3011201930269019,
            "lower": -0.2399888966026814,
            "upper": 0.7330855776365391
          },
          {
            "event_time": 0,
            "estimate": 0.23968640942682437,
            "se": 0.11992296413692863,
            "pvalue": 0.06097720317028305,
            "lower": -0.012262389059484596,
            "upper": 0.4916352079131333
          },
          {
            "event_time": 1,
            "estimate": 0.28722973519347905,
            "se": 0.21438012986700533,
            "pvalue": 0.19697606267116158,
            "lower": -0.1631662046338485,
            "upper": 0.7376256750208066
          },
          {
            "event_time": 2,
            "estimate": 0.1686492947479473,
            "se": 0.28854983341705787,
            "pvalue": 0.5661570987151049,
            "lower": -0.43757140998582955,
            "upper": 0.7748699994817242
          }
        ]
      },
      "target": {
        "event_times": [
          0.0,
          1.0,
          2.0
        ],
        "weights": [
          0.4681647940074906,
          0.350187265917603,
          0.18164794007490637
        ],
        "weighting": "observations"
      },
      "checks": {
        "did2s_vs_direct_imputation_max_post_difference": 5.551115123125783e-17,
        "package_aggregate_vs_estimable_cell_weights": 2.7755575615628914e-17,
        "saturated_vs_deviations_relative_rss_difference": 8.537504681686807e-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.8088435252855534,
        "df_num": 1,
        "df_den": 1052,
        "pvalue": 0.368668192626714,
        "log10_pvalue": -0.4333643301524568,
        "inference": "Homoskedastic nested-model F",
        "observations": 1083,
        "design_columns": 9,
        "restricted_design_columns": 8,
        "fixed_effect_rank": 22,
        "covariance_rank": 1,
        "rss_unrestricted": 1065.2933564110615,
        "rss_restricted": 1066.1124207018056,
        "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.14020765990311126,
              -0.16651996462595925,
              -0.019493246168739563,
              -0.09689512651227047,
              -0.14890509392471074,
              -0.21653783102752858
            ],
            [
              -0.14020765990311126,
              -0.16651996462595925,
              -0.019493246168739563,
              -0.09689512651227047,
              -0.14890509392471074,
              -0.21653783102752858
            ],
            [
              -0.14020765990311126,
              -0.16651996462595925,
              -0.019493246168739563,
              -0.09689512651227047,
              -0.14890509392471074,
              -0.21653783102752858
            ],
            [
              -0.14020765990311126,
              -0.16651996462595925,
              -0.019493246168739563,
              -0.09689512651227047,
              -0.14890509392471074,
              -0.21653783102752858
            ],
            [
              -0.14020765990311126,
              -0.16651996462595925,
              -0.019493246168739563,
              -0.09689512651227047,
              -0.14890509392471074,
              -0.21653783102752858
            ]
          ]
        },
        "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.3076985709987607
          },
          {
            "event_time": 0.0,
            "cohort": 3,
            "estimate": 0.3733932516660788
          },
          {
            "event_time": 1.0,
            "cohort": 3,
            "estimate": 0.34219499426931166
          },
          {
            "event_time": 0.0,
            "cohort": 4,
            "estimate": 0.5298365656313196
          }
        ]
      }
    }
  },
  "code_sha256": {
    "replication_engine.py": "1bbe86d78c4c03fda3c933adf831c8473a0e275698cf0bbb14447878d7e54148",
    "reference_f_test.py": "b801de6e92ee3f3008618673a3087b955e8d266dbf6024e91e7e0c54d3775025",
    "sparse_did2s.py": "a348042269b0077dd2916898779f992f0b5fc2971edfee8b0118d3af715eaafb"
  }
}
