{
  "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": "Ethnic identity 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-p080",
    "study_id": 1,
    "study": "Curriculum and Ideology",
    "citation": "Cantoni et al. (2017), JPE. https://doi.org/10.1086/690951",
    "description": "Ethnic identity z-score index [science-track students only]",
    "source_specification_id": "CI-T5-C-C07",
    "specification_id": "S01-P080",
    "data": "repl-archives/twfe-microdata-replication-private/outputs/published_clustering_2026_10_08/curriculum/prepared_rows/CI-T5-C-C07.csv",
    "output_dir": "analyses/full-archive/results/S01-P080"
  },
  "source": {
    "file": "CI-T5-C-C07.csv",
    "bytes": 160941,
    "sha256": "f57992f99c45adb92609ab25edb094f05be3faa73a201eb0b7a03067a1b1fca9"
  },
  "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": 1101,
        "source_sd": 0.9733997053729233,
        "rows": 700,
        "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.16001101263152434,
          "se": 0.1601630442793191,
          "pvalue": 0.33101204566342385,
          "lower": -0.17647905712699852,
          "upper": 0.4965010823900472
        },
        {
          "method": "Dynamic TWFE",
          "estimate": 0.1552157707827433,
          "se": 0.18979010446860858,
          "pvalue": 0.4241492911189217,
          "lower": -0.24351844271500567,
          "upper": 0.5539499842804922
        },
        {
          "method": "BJS / did2s",
          "estimate": 0.23344681597747013,
          "se": 0.17882077069954494,
          "pvalue": 0.20817053472132313,
          "lower": -0.1422416824380927,
          "upper": 0.6091353143930329
        },
        {
          "method": "Sun\u2013Abraham",
          "estimate": 0.07159163451959023,
          "se": 0.1874306829433942,
          "pvalue": 0.7069606171644892,
          "lower": -0.3221856182936167,
          "upper": 0.46536888733279713
        }
      ],
      "event_studies": {
        "Dynamic TWFE": [
          {
            "event_time": -3,
            "estimate": 0.3912354850895506,
            "se": 0.2332123363893215,
            "pvalue": 0.11070498459080957,
            "lower": -0.09872545248688208,
            "upper": 0.8811964226659832
          },
          {
            "event_time": -2,
            "estimate": -0.027942782813418793,
            "se": 0.17867492222248113,
            "pvalue": 0.8774671127828783,
            "lower": -0.4033248649489827,
            "upper": 0.3474392993221451
          },
          {
            "event_time": 0,
            "estimate": 0.11494013074267921,
            "se": 0.17176880312988477,
            "pvalue": 0.5118881132846463,
            "lower": -0.24593273357871953,
            "upper": 0.475812995064078
          },
          {
            "event_time": 1,
            "estimate": 0.17077683148338976,
            "se": 0.21367618409969807,
            "pvalue": 0.43457632233147725,
            "lower": -0.2781401731662676,
            "upper": 0.6196938361330472
          },
          {
            "event_time": 2,
            "estimate": 0.23076030206751894,
            "se": 0.2787647254519755,
            "pvalue": 0.41862652027720026,
            "lower": -0.35490265367627827,
            "upper": 0.8164232578113162
          }
        ],
        "BJS / did2s": [
          {
            "event_time": -3,
            "estimate": 0.190254751520915,
            "se": 0.12120180900246179,
            "pvalue": 0.13388851143422123,
            "lower": -0.06438080032944163,
            "upper": 0.44489030337127167
          },
          {
            "event_time": -2,
            "estimate": 0.02468879176897182,
            "se": 0.08625353309074486,
            "pvalue": 0.7779663412970496,
            "lower": -0.1565231569500338,
            "upper": 0.20590074048797744
          },
          {
            "event_time": -1,
            "estimate": -0.052721949614282726,
            "se": 0.03770408618000875,
            "pvalue": 0.17901271686611542,
            "lower": -0.13193529527701064,
            "upper": 0.026491396048445193
          },
          {
            "event_time": 0,
            "estimate": 0.17597333886638977,
            "se": 0.1879679591992853,
            "pvalue": 0.3615679931121268,
            "lower": -0.21893268947451694,
            "upper": 0.5708793672072965
          },
          {
            "event_time": 1,
            "estimate": 0.3114731098933082,
            "se": 0.19829455969641238,
            "pvalue": 0.1336504117699236,
            "lower": -0.10512830103277687,
            "upper": 0.7280745208193933
          },
          {
            "event_time": 2,
            "estimate": 0.24229441057776605,
            "se": 0.23288808033384129,
            "pvalue": 0.3119325411753545,
            "lower": -0.2469852903050266,
            "upper": 0.7315741114605587
          }
        ],
        "Sun\u2013Abraham": [
          {
            "event_time": -3,
            "estimate": 0.6896158632481039,
            "se": 0.26465844288349777,
            "pvalue": 0.01788436879933963,
            "lower": 0.13358910745828945,
            "upper": 1.2456426190379184
          },
          {
            "event_time": -2,
            "estimate": 0.5753273472115268,
            "se": 0.1951089204717488,
            "pvalue": 0.008589897250296493,
            "lower": 0.16541871594479385,
            "upper": 0.9852359784782597
          },
          {
            "event_time": 0,
            "estimate": 0.053408062093887654,
            "se": 0.15265523861125974,
            "pvalue": 0.7305034745712115,
            "lower": -0.2673086932627627,
            "upper": 0.374124817450538
          },
          {
            "event_time": 1,
            "estimate": 0.2604716851404905,
            "se": 0.22301348172744612,
            "pvalue": 0.25805947553798375,
            "lower": -0.20806225389159305,
            "upper": 0.7290056241725741
          },
          {
            "event_time": 2,
            "estimate": -0.2166802167334644,
            "se": 0.30136312480852934,
            "pvalue": 0.481371427255915,
            "lower": -0.8498206477596145,
            "upper": 0.41646021429268576
          }
        ]
      },
      "target": {
        "event_times": [
          0.0,
          1.0,
          2.0
        ],
        "weights": [
          0.48011363636363635,
          0.33238636363636365,
          0.1875
        ],
        "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": 1.7748115388986643e-16
      },
      "inference": {
        "standard_errors": "Cluster-robust; did2s uses two-stage covariance",
        "confidence_intervals": "Pointwise t, clusters minus one degrees of freedom"
      },
      "f_test": {
        "F": 13.963479684272693,
        "df_num": 1,
        "df_den": 669,
        "pvalue": 0.00020231659013051603,
        "log10_pvalue": -3.6939685032562783,
        "inference": "Homoskedastic nested-model F",
        "observations": 700,
        "design_columns": 9,
        "restricted_design_columns": 8,
        "fixed_effect_rank": 22,
        "covariance_rank": 1,
        "rss_unrestricted": 640.5572379372906,
        "rss_restricted": 653.9270555434956,
        "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.12385377274110383,
              -0.1589223448344328,
              -0.02176340298340697,
              -0.093430341541372,
              -0.13583788961063997,
              -0.20461530180269097
            ],
            [
              -0.12385377274110383,
              -0.1589223448344328,
              -0.02176340298340697,
              -0.093430341541372,
              -0.13583788961063997,
              -0.20461530180269097
            ],
            [
              -0.12385377274110383,
              -0.1589223448344328,
              -0.02176340298340697,
              -0.093430341541372,
              -0.13583788961063997,
              -0.20461530180269097
            ],
            [
              -0.12385377274110383,
              -0.1589223448344328,
              -0.02176340298340697,
              -0.093430341541372,
              -0.13583788961063997,
              -0.20461530180269097
            ],
            [
              -0.12385377274110383,
              -0.1589223448344328,
              -0.02176340298340697,
              -0.093430341541372,
              -0.13583788961063997,
              -0.20461530180269097
            ]
          ]
        },
        "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.7104218003027107
          },
          {
            "event_time": 0.0,
            "cohort": 3,
            "estimate": 2.0227804037006942
          },
          {
            "event_time": 1.0,
            "cohort": 3,
            "estimate": 1.7323898610603616
          },
          {
            "event_time": 0.0,
            "cohort": 4,
            "estimate": 0.9507827931498118
          }
        ]
      }
    }
  },
  "code_sha256": {
    "replication_engine.py": "85957b22db6cf6312f27a925b03b907e4d51071cc59a60cfdf2d7b039b1e34eb",
    "reference_f_test.py": "26f3d65e1ff59d46f05bb28011b2ed34b9ee150f04c47c144dd6836a4d75d6f0",
    "sparse_did2s.py": "a348042269b0077dd2916898779f992f0b5fc2971edfee8b0118d3af715eaafb"
  }
}
