{
  "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 [science-track students only]",
      "d": "New Curriculum indicator (newcurr)"
    },
    "allow_repeated_cells": true,
    "time_fe": null,
    "latest_cohort_control": true,
    "slug": "s01-p076",
    "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 [science-track students only]",
    "source_specification_id": "CI-T5-C-C03",
    "specification_id": "S01-P076",
    "data": "repl-archives/twfe-microdata-replication-private/outputs/published_clustering_2026_10_08/curriculum/prepared_rows/CI-T5-C-C03.csv",
    "output_dir": "analyses/full-archive/results/S01-P076"
  },
  "source": {
    "file": "CI-T5-C-C03.csv",
    "bytes": 154483,
    "sha256": "f34dadec7af8c332496fa969b8c8690e1696bdc63d6eee7ff3ac74b5d0af8701"
  },
  "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": 1056,
        "source_sd": 1.008773868579148,
        "rows": 674,
        "units": 19,
        "clusters": 19,
        "treated_units": 13,
        "never_treated_units": 6,
        "treated_cohorts": 3,
        "latest_cohort_control_index": null,
        "unique_unit_period_cells": 75,
        "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.23709369878871236,
          "se": 0.09734179090682957,
          "pvalue": 0.02548557205046169,
          "lower": 0.03258618483601944,
          "upper": 0.4416012127414053
        },
        {
          "method": "Dynamic TWFE",
          "estimate": 0.14956552060300193,
          "se": 0.12293668767216552,
          "pvalue": 0.2394668628329103,
          "lower": -0.10871487608167935,
          "upper": 0.4078459172876832
        },
        {
          "method": "BJS / did2s",
          "estimate": 0.1793526180136395,
          "se": 0.1201143796271201,
          "pvalue": 0.15271124548083825,
          "lower": -0.07299832949485624,
          "upper": 0.43170356552213524
        },
        {
          "method": "Sun\u2013Abraham",
          "estimate": 0.17714854287302012,
          "se": 0.11426107153568407,
          "pvalue": 0.13845311798346777,
          "lower": -0.06290506065785648,
          "upper": 0.41720214640389675
        }
      ],
      "event_studies": {
        "Dynamic TWFE": [
          {
            "event_time": -3,
            "estimate": 0.022384271044201733,
            "se": 0.31299744018716164,
            "pvalue": 0.9437758547699353,
            "lower": -0.6351989495840322,
            "upper": 0.6799674916724356
          },
          {
            "event_time": -2,
            "estimate": -0.0023108654719100822,
            "se": 0.17989534265446036,
            "pvalue": 0.9898922749079878,
            "lower": -0.3802569557913796,
            "upper": 0.37563522484755946
          },
          {
            "event_time": 0,
            "estimate": 0.23790087385173833,
            "se": 0.09358077720182126,
            "pvalue": 0.020430178477883542,
            "lower": 0.041294956485545986,
            "upper": 0.4345067912179307
          },
          {
            "event_time": 1,
            "estimate": 0.06322775704911021,
            "se": 0.16189619366329586,
            "pvalue": 0.7007170542696713,
            "lower": -0.27690352444923955,
            "upper": 0.40335903854745997
          },
          {
            "event_time": 2,
            "estimate": 0.07316594543844318,
            "se": 0.20767787886614478,
            "pvalue": 0.7287008346612234,
            "lower": -0.3631490875419489,
            "upper": 0.5094809784188352
          }
        ],
        "BJS / did2s": [
          {
            "event_time": -3,
            "estimate": -0.0013242424991051012,
            "se": 0.11603762207415141,
            "pvalue": 0.9910201302821378,
            "lower": -0.24511024021184982,
            "upper": 0.24246175521363963
          },
          {
            "event_time": -2,
            "estimate": -0.02523477636498435,
            "se": 0.05214660366599052,
            "pvalue": 0.6342777878535024,
            "lower": -0.13479072533057795,
            "upper": 0.08432117260060926
          },
          {
            "event_time": -1,
            "estimate": 0.014215272958100775,
            "se": 0.0207456247117168,
            "pvalue": 0.5019361437690779,
            "lower": -0.02936966723731419,
            "upper": 0.05780021315351574
          },
          {
            "event_time": 0,
            "estimate": 0.2644231729513395,
            "se": 0.10269543313476473,
            "pvalue": 0.01908158381867802,
            "lower": 0.04866807404641246,
            "upper": 0.4801782718562665
          },
          {
            "event_time": 1,
            "estimate": 0.06323083613365382,
            "se": 0.1716146884233593,
            "pvalue": 0.7168379016143677,
            "lower": -0.2973182452040803,
            "upper": 0.42377991747138793
          },
          {
            "event_time": 2,
            "estimate": 0.16335208002778276,
            "se": 0.1923637110154503,
            "pvalue": 0.40693186126656017,
            "lower": -0.24078908018713455,
            "upper": 0.5674932402427001
          }
        ],
        "Sun\u2013Abraham": [
          {
            "event_time": -3,
            "estimate": -0.09846135092484139,
            "se": 0.3371928775708094,
            "pvalue": 0.7736230932450086,
            "lower": -0.806877299225653,
            "upper": 0.6099545973759701
          },
          {
            "event_time": -2,
            "estimate": -0.10501388789129965,
            "se": 0.1534633139362708,
            "pvalue": 0.5025061073369507,
            "lower": -0.42742834650844064,
            "upper": 0.21740057072584137
          },
          {
            "event_time": 0,
            "estimate": 0.24920129107731173,
            "se": 0.07905589624629168,
            "pvalue": 0.005511479028623771,
            "lower": 0.08311101624246878,
            "upper": 0.41529156591215466
          },
          {
            "event_time": 1,
            "estimate": 0.07004057790302767,
            "se": 0.18017553306394296,
            "pvalue": 0.7020319552422333,
            "lower": -0.30849417062318807,
            "upper": 0.44857532642924336
          },
          {
            "event_time": 2,
            "estimate": 0.17888395458101905,
            "se": 0.18906696008204701,
            "pvalue": 0.356605944966502,
            "lower": -0.21833098893672612,
            "upper": 0.5760988980987642
          }
        ]
      },
      "target": {
        "event_times": [
          0.0,
          1.0,
          2.0
        ],
        "weights": [
          0.4835820895522388,
          0.3283582089552239,
          0.1880597014925373
        ],
        "weighting": "observations"
      },
      "checks": {
        "did2s_vs_direct_imputation_max_post_difference": 1.1102230246251565e-16,
        "package_aggregate_vs_estimable_cell_weights": 0.0,
        "saturated_vs_deviations_relative_rss_difference": 1.7153526892683115e-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.21466534303729037,
        "df_num": 1,
        "df_den": 643,
        "pvalue": 0.6432918537486636,
        "log10_pvalue": -0.1915919482023121,
        "inference": "Homoskedastic nested-model F",
        "observations": 674,
        "design_columns": 9,
        "restricted_design_columns": 8,
        "fixed_effect_rank": 22,
        "covariance_rank": 1,
        "rss_unrestricted": 662.76071639885,
        "rss_restricted": 662.9819788506967,
        "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.1157873595743676,
              -0.15672624845486707,
              -0.02775890456329852,
              -0.09396908452655708,
              -0.13045779526215281,
              -0.20065289280348775
            ],
            [
              -0.1157873595743676,
              -0.15672624845486707,
              -0.02775890456329852,
              -0.09396908452655708,
              -0.13045779526215281,
              -0.20065289280348775
            ],
            [
              -0.1157873595743676,
              -0.15672624845486707,
              -0.02775890456329852,
              -0.09396908452655708,
              -0.13045779526215281,
              -0.20065289280348775
            ],
            [
              -0.1157873595743676,
              -0.15672624845486707,
              -0.02775890456329852,
              -0.09396908452655708,
              -0.13045779526215281,
              -0.20065289280348775
            ],
            [
              -0.1157873595743676,
              -0.15672624845486707,
              -0.02775890456329852,
              -0.09396908452655708,
              -0.13045779526215281,
              -0.20065289280348775
            ]
          ]
        },
        "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": -0.09377649933587205
          },
          {
            "event_time": 0.0,
            "cohort": 3,
            "estimate": -0.4305738356121076
          },
          {
            "event_time": 1.0,
            "cohort": 3,
            "estimate": -0.22487522718449304
          },
          {
            "event_time": 0.0,
            "cohort": 4,
            "estimate": -0.3274985084976827
          }
        ]
      }
    }
  },
  "code_sha256": {
    "replication_engine.py": "85957b22db6cf6312f27a925b03b907e4d51071cc59a60cfdf2d7b039b1e34eb",
    "reference_f_test.py": "26f3d65e1ff59d46f05bb28011b2ed34b9ee150f04c47c144dd6836a4d75d6f0",
    "sparse_did2s.py": "a348042269b0077dd2916898779f992f0b5fc2971edfee8b0118d3af715eaafb"
  }
}
