{
  "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": "Trust in government officials 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-p086",
    "study_id": 1,
    "study": "Curriculum and Ideology",
    "citation": "Cantoni et al. (2017), JPE. https://doi.org/10.1086/690951",
    "description": "Trust in government officials z-score index [humanities-track students only]",
    "source_specification_id": "CI-T5-D-C01",
    "specification_id": "S01-P086",
    "data": "repl-archives/twfe-microdata-replication-private/outputs/published_clustering_2026_10_08/curriculum/prepared_rows/CI-T5-D-C01.csv",
    "output_dir": "analyses/full-archive/results/S01-P086"
  },
  "source": {
    "file": "CI-T5-D-C01.csv",
    "bytes": 69713,
    "sha256": "f38e8b4aee30c03fec8b4f7c817c7828f88787785b57ec2039d86bacb250bdb5"
  },
  "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": 475,
        "source_sd": 0.9380373228044421,
        "rows": 288,
        "units": 18,
        "clusters": 18,
        "treated_units": 11,
        "never_treated_units": 7,
        "treated_cohorts": 3,
        "latest_cohort_control_index": null,
        "unique_unit_period_cells": 69,
        "unsupported_prediction_rows_removed": 0,
        "initially_treated_units_removed": 10,
        "post_adoption_untreated_rows_removed": 0,
        "units_without_minus_one_removed": 1,
        "additional_rows_removed": 8
      },
      "estimates": [
        {
          "method": "Static TWFE",
          "estimate": 0.5308687052782026,
          "se": 0.24844672525912923,
          "pvalue": 0.04745029260009523,
          "lower": 0.006691934064817828,
          "upper": 1.0550454764915873
        },
        {
          "method": "Dynamic TWFE",
          "estimate": 0.5525551954044863,
          "se": 0.33751902609530765,
          "pvalue": 0.11998407026160761,
          "lower": -0.15954770366652316,
          "upper": 1.2646580944754957
        },
        {
          "method": "BJS / did2s",
          "estimate": 0.5577733213647099,
          "se": 0.26884108732429496,
          "pvalue": 0.05350850053322645,
          "lower": -0.009431792633734282,
          "upper": 1.124978435363154
        },
        {
          "method": "Sun\u2013Abraham",
          "estimate": 0.6101266467133601,
          "se": 0.31664841117509834,
          "pvalue": 0.0708857296470116,
          "lower": -0.05794310388003132,
          "upper": 1.2781963973067516
        }
      ],
      "event_studies": {
        "Dynamic TWFE": [
          {
            "event_time": -3,
            "estimate": -0.3316934479758755,
            "se": 0.4663477675246033,
            "pvalue": 0.4865701326883862,
            "lower": -1.3156012325870732,
            "upper": 0.6522143366353221
          },
          {
            "event_time": -2,
            "estimate": -0.2918672121383884,
            "se": 0.33684619739311084,
            "pvalue": 0.3982970162074007,
            "lower": -1.0025505667322896,
            "upper": 0.4188161424555128
          },
          {
            "event_time": 0,
            "estimate": 0.5117387547447007,
            "se": 0.26174282310720554,
            "pvalue": 0.06721388255127958,
            "lower": -0.040490330832951504,
            "upper": 1.063967840322353
          },
          {
            "event_time": 1,
            "estimate": 0.5933308838511204,
            "se": 0.3999098587331106,
            "pvalue": 0.15620229756672854,
            "lower": -0.2504051658331169,
            "upper": 1.4370669335353576
          },
          {
            "event_time": 2,
            "estimate": 0.5786200602990969,
            "se": 0.6200495228919904,
            "pvalue": 0.3637909173001894,
            "lower": -0.7295700821265397,
            "upper": 1.8868102027247335
          }
        ],
        "BJS / did2s": [
          {
            "event_time": -3,
            "estimate": -0.05305895933082893,
            "se": 0.13038919166820595,
            "pvalue": 0.6891387915218277,
            "lower": -0.32815610709350385,
            "upper": 0.22203818843184597
          },
          {
            "event_time": -2,
            "estimate": -0.007857113481777351,
            "se": 0.0953516155359037,
            "pvalue": 0.9352899194290373,
            "lower": -0.20903143731100016,
            "upper": 0.19331721034744548
          },
          {
            "event_time": -1,
            "estimate": 0.016289919490217717,
            "se": 0.05646186275913623,
            "pvalue": 0.7764431967432553,
            "lower": -0.10283419811249465,
            "upper": 0.1354140370929301
          },
          {
            "event_time": 0,
            "estimate": 0.5140213463616572,
            "se": 0.2741184123626184,
            "pvalue": 0.07805247269499493,
            "lower": -0.06431795021193165,
            "upper": 1.0923606429352462
          },
          {
            "event_time": 1,
            "estimate": 0.6847440619011884,
            "se": 0.300315734673925,
            "pvalue": 0.03577996741256359,
            "lower": 0.05113324661768459,
            "upper": 1.3183548771846922
          },
          {
            "event_time": 2,
            "estimate": 0.4002646004058405,
            "se": 0.5007413400335337,
            "pvalue": 0.4351180664177994,
            "lower": -0.6562072792620381,
            "upper": 1.4567364800737193
          }
        ],
        "Sun\u2013Abraham": [
          {
            "event_time": -3,
            "estimate": -0.06867738738438389,
            "se": 0.406739602522122,
            "pvalue": 0.8679085104466292,
            "lower": -0.9268229369072878,
            "upper": 0.78946816213852
          },
          {
            "event_time": -2,
            "estimate": -0.611669120865006,
            "se": 0.42143269406416106,
            "pvalue": 0.16487163162732735,
            "lower": -1.500814383809835,
            "upper": 0.27747614207982285
          },
          {
            "event_time": 0,
            "estimate": 0.6329583840508476,
            "se": 0.23522511028917864,
            "pvalue": 0.015467160343644402,
            "lower": 0.13667678206517875,
            "upper": 1.1292399860365165
          },
          {
            "event_time": 1,
            "estimate": 0.5701653307767798,
            "se": 0.3988523386243275,
            "pvalue": 0.170976442605415,
            "lower": -0.271339546508075,
            "upper": 1.4116702080616346
          },
          {
            "event_time": 2,
            "estimate": 0.6337496025602111,
            "se": 0.6063879803607981,
            "pvalue": 0.310600546677406,
            "lower": -0.6456172046158833,
            "upper": 1.9131164097363054
          }
        ]
      },
      "target": {
        "event_times": [
          0.0,
          1.0,
          2.0
        ],
        "weights": [
          0.4701492537313433,
          0.3656716417910448,
          0.16417910447761194
        ],
        "weighting": "observations"
      },
      "checks": {
        "did2s_vs_direct_imputation_max_post_difference": 1.1102230246251565e-16,
        "package_aggregate_vs_estimable_cell_weights": 1.1102230246251565e-16,
        "saturated_vs_deviations_relative_rss_difference": 5.647124494946498e-15
      },
      "inference": {
        "standard_errors": "Cluster-robust; did2s uses two-stage covariance",
        "confidence_intervals": "Pointwise t, clusters minus one degrees of freedom"
      },
      "f_test": {
        "F": 2.7079579561554055,
        "df_num": 1,
        "df_den": 258,
        "pvalue": 0.10106640442242432,
        "log10_pvalue": -0.9953931846531997,
        "inference": "Homoskedastic nested-model F",
        "observations": 288,
        "design_columns": 9,
        "restricted_design_columns": 8,
        "fixed_effect_rank": 21,
        "covariance_rank": 1,
        "rss_unrestricted": 236.54876821369538,
        "rss_restricted": 239.03157487611026,
        "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.1131432486651453,
              -0.2404228904227411,
              -0.04616519831371483,
              -0.09444612421239938,
              -0.17332539732834054,
              -0.26804038510675354
            ],
            [
              -0.1131432486651453,
              -0.2404228904227411,
              -0.04616519831371483,
              -0.09444612421239938,
              -0.17332539732834054,
              -0.26804038510675354
            ],
            [
              -0.1131432486651453,
              -0.2404228904227411,
              -0.04616519831371483,
              -0.09444612421239938,
              -0.17332539732834054,
              -0.26804038510675354
            ],
            [
              -0.1131432486651453,
              -0.2404228904227411,
              -0.04616519831371483,
              -0.09444612421239938,
              -0.17332539732834054,
              -0.26804038510675354
            ],
            [
              -0.1131432486651453,
              -0.2404228904227411,
              -0.04616519831371483,
              -0.09444612421239938,
              -0.17332539732834054,
              -0.26804038510675354
            ]
          ]
        },
        "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.8865281895972155
          },
          {
            "event_time": 0.0,
            "cohort": 3,
            "estimate": -0.47558011919936116
          },
          {
            "event_time": 1.0,
            "cohort": 3,
            "estimate": -1.1131210366618893
          },
          {
            "event_time": 0.0,
            "cohort": 4,
            "estimate": 0.5142968510812069
          }
        ]
      }
    }
  },
  "code_sha256": {
    "replication_engine.py": "a84197989fc6e453d28f8a12b14fdabaee204780a523db7d585b9004c6231de4",
    "reference_f_test.py": "26f3d65e1ff59d46f05bb28011b2ed34b9ee150f04c47c144dd6836a4d75d6f0",
    "sparse_did2s.py": "a348042269b0077dd2916898779f992f0b5fc2971edfee8b0118d3af715eaafb"
  }
}
