{
  "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": "Member of Chinese Communist Party [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-p055",
    "study_id": 1,
    "study": "Curriculum and Ideology",
    "citation": "Cantoni et al. (2017), JPE. https://doi.org/10.1086/690951",
    "description": "Member of Chinese Communist Party [Table 3 original scale]",
    "source_specification_id": "CI-T3-J03-ORIG",
    "specification_id": "S01-P055",
    "data": "repl-archives/twfe-microdata-replication-private/outputs/published_clustering_2026_10_08/curriculum/prepared_rows/CI-T3-J03-ORIG.csv",
    "output_dir": "analyses/full-archive/results/S01-P055"
  },
  "source": {
    "file": "CI-T3-J03-ORIG.csv",
    "bytes": 200886,
    "sha256": "5bf4914c47c9360147aa69966b5cdd70854da7eac7067fb3ab306ce0c690a95b"
  },
  "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": 1829,
        "source_sd": 0.4421257301970633,
        "rows": 1146,
        "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.1009494430875839,
          "se": 0.1070970252026278,
          "pvalue": 0.35836684413357756,
          "lower": -0.1240530576048668,
          "upper": 0.3259519437800346
        },
        {
          "method": "Dynamic TWFE",
          "estimate": 0.022920796506559045,
          "se": 0.13035690402113603,
          "pvalue": 0.862389631983525,
          "lower": -0.2509488962490313,
          "upper": 0.29679048926214935
        },
        {
          "method": "BJS / did2s",
          "estimate": 0.05641773508377211,
          "se": 0.12560708810050714,
          "pvalue": 0.6586769977168528,
          "lower": -0.20747296471708115,
          "upper": 0.3203084348846254
        },
        {
          "method": "Sun\u2013Abraham",
          "estimate": 0.08080864784158243,
          "se": 0.15101754281183877,
          "pvalue": 0.5991335992097448,
          "lower": -0.23646743631485423,
          "upper": 0.3980847319980191
        }
      ],
      "event_studies": {
        "Dynamic TWFE": [
          {
            "event_time": -3,
            "estimate": 0.11769987745263703,
            "se": 0.14740993147732223,
            "pvalue": 0.4350166453816109,
            "lower": -0.1919968965384904,
            "upper": 0.4273966514437645
          },
          {
            "event_time": -2,
            "estimate": 0.026510643874033565,
            "se": 0.15605746276187354,
            "pvalue": 0.8670012183560677,
            "lower": -0.30135391918648163,
            "upper": 0.35437520693454877
          },
          {
            "event_time": 0,
            "estimate": 0.0891247288008098,
            "se": 0.13186336152861253,
            "pvalue": 0.5077040407092717,
            "lower": -0.1879099137349245,
            "upper": 0.3661593713365441
          },
          {
            "event_time": 1,
            "estimate": -0.02876645053581594,
            "se": 0.12774438413442907,
            "pvalue": 0.8243701229104657,
            "lower": -0.2971474426808556,
            "upper": 0.23961454160922369
          },
          {
            "event_time": 2,
            "estimate": -0.04778609964095854,
            "se": 0.18595434762331636,
            "pvalue": 0.800110540885661,
            "lower": -0.43846168704142763,
            "upper": 0.34288948775951056
          }
        ],
        "BJS / did2s": [
          {
            "event_time": -3,
            "estimate": 0.015823615785970992,
            "se": 0.06955130931587929,
            "pvalue": 0.8225913698784575,
            "lower": -0.13029826288338164,
            "upper": 0.16194549445532364
          },
          {
            "event_time": -2,
            "estimate": -0.04314529165332485,
            "se": 0.06744110807521526,
            "pvalue": 0.5303957499691542,
            "lower": -0.18483380202682245,
            "upper": 0.09854321872017277
          },
          {
            "event_time": -1,
            "estimate": 0.021421469749558178,
            "se": 0.02919020586310063,
            "pvalue": 0.4724866691186273,
            "lower": -0.03990487710740311,
            "upper": 0.08274781660651948
          },
          {
            "event_time": 0,
            "estimate": 0.09194770076135167,
            "se": 0.11740588339406001,
            "pvalue": 0.44371550881077476,
            "lower": -0.15471290731519832,
            "upper": 0.33860830883790166
          },
          {
            "event_time": 1,
            "estimate": 0.049229558580012316,
            "se": 0.1381359749357947,
            "pvalue": 0.725695640856064,
            "lower": -0.24098335571278234,
            "upper": 0.339442472872807
          },
          {
            "event_time": 2,
            "estimate": -0.021247719957916345,
            "se": 0.2103036096768842,
            "pvalue": 0.9206407284543243,
            "lower": -0.46307920867033087,
            "upper": 0.42058376875449816
          }
        ],
        "Sun\u2013Abraham": [
          {
            "event_time": -3,
            "estimate": -0.08894481850981163,
            "se": 0.19711470811371645,
            "pvalue": 0.6572101360971179,
            "lower": -0.5030674532415975,
            "upper": 0.3251778162219743
          },
          {
            "event_time": -2,
            "estimate": -0.20298384140767894,
            "se": 0.20944541195396035,
            "pvalue": 0.3453139200723647,
            "lower": -0.6430123236091181,
            "upper": 0.2370446407937602
          },
          {
            "event_time": 0,
            "estimate": 0.12922230330419576,
            "se": 0.1290984520937235,
            "pvalue": 0.3301134791227479,
            "lower": -0.14200348006050978,
            "upper": 0.4004480866689013
          },
          {
            "event_time": 1,
            "estimate": 0.012578011020240254,
            "se": 0.18527620357598776,
            "pvalue": 0.946623311392048,
            "lower": -0.3766728486047379,
            "upper": 0.4018288706452184
          },
          {
            "event_time": 2,
            "estimate": 0.08791920877532677,
            "se": 0.22805212013011922,
            "pvalue": 0.7043685596488097,
            "lower": -0.39120051672973766,
            "upper": 0.5670389342803912
          }
        ]
      },
      "target": {
        "event_times": [
          0.0,
          1.0,
          2.0
        ],
        "weights": [
          0.4677137870855148,
          0.3507853403141361,
          0.18150087260034903
        ],
        "weighting": "observations"
      },
      "checks": {
        "did2s_vs_direct_imputation_max_post_difference": 5.551115123125783e-17,
        "package_aggregate_vs_estimable_cell_weights": 0.0,
        "saturated_vs_deviations_relative_rss_difference": 3.218339864838197e-15
      },
      "inference": {
        "standard_errors": "Cluster-robust; did2s uses two-stage covariance",
        "confidence_intervals": "Pointwise t, clusters minus one degrees of freedom"
      },
      "f_test": {
        "F": 3.839996952558278,
        "df_num": 1,
        "df_den": 1115,
        "pvalue": 0.0502924517983174,
        "log10_pvalue": -1.2984971916504078,
        "inference": "Homoskedastic nested-model F",
        "observations": 1146,
        "design_columns": 9,
        "restricted_design_columns": 8,
        "fixed_effect_rank": 22,
        "covariance_rank": 1,
        "rss_unrestricted": 989.0911432268192,
        "rss_restricted": 992.4975171961406,
        "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.15060007415275029,
              -0.1650261045615898,
              -0.014101973436565284,
              -0.10284047134199518,
              -0.15038424267075814,
              -0.21715479210769373
            ],
            [
              -0.15060007415275029,
              -0.1650261045615898,
              -0.014101973436565284,
              -0.10284047134199518,
              -0.15038424267075814,
              -0.21715479210769373
            ],
            [
              -0.15060007415275029,
              -0.1650261045615898,
              -0.014101973436565284,
              -0.10284047134199518,
              -0.15038424267075814,
              -0.21715479210769373
            ],
            [
              -0.15060007415275029,
              -0.1650261045615898,
              -0.014101973436565284,
              -0.10284047134199518,
              -0.15038424267075814,
              -0.21715479210769373
            ],
            [
              -0.15060007415275029,
              -0.1650261045615898,
              -0.014101973436565284,
              -0.10284047134199518,
              -0.15038424267075814,
              -0.21715479210769373
            ]
          ]
        },
        "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.6299477220127874
          },
          {
            "event_time": 0.0,
            "cohort": 3,
            "estimate": -0.5156150118213826
          },
          {
            "event_time": 1.0,
            "cohort": 3,
            "estimate": -0.6883934927815287
          },
          {
            "event_time": 0.0,
            "cohort": 4,
            "estimate": -0.4570671651305087
          }
        ]
      }
    }
  },
  "code_sha256": {
    "replication_engine.py": "aa5b4502ce913299533b0c0035000b0770df1c69af7de25b04aa0c8532a3ddca",
    "reference_f_test.py": "9cf8f31eeda89784ac1750ea22c35401ae46e24e06279acf938d2d103b78cccf",
    "sparse_did2s.py": "75169d7fbba6e1bad163e564ac9b5b1262a04033eda925dc379dc3eef64c59fa",
    "frequency.py": "8f922ae4be2b63ad9b89515d8e665cda4e11a354258b54ef3b820648243642eb"
  }
}
