{
  "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 [science-track students only]",
      "d": "New Curriculum indicator (newcurr)"
    },
    "allow_repeated_cells": true,
    "time_fe": null,
    "latest_cohort_control": true,
    "slug": "s01-p074",
    "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 [science-track students only]",
    "source_specification_id": "CI-T5-C-C01",
    "specification_id": "S01-P074",
    "data": "repl-archives/twfe-microdata-replication-private/outputs/published_clustering_2026_10_08/curriculum/prepared_rows/CI-T5-C-C01.csv",
    "output_dir": "analyses/full-archive/results/S01-P074"
  },
  "source": {
    "file": "CI-T5-C-C01.csv",
    "bytes": 157399,
    "sha256": "2292a67d302974778d0351f7ba650a050bcf3c598c2bd7943cb337413cbf8b46"
  },
  "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": 1076,
        "source_sd": 1.0038277749194622,
        "rows": 683,
        "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.4105352415894667,
          "se": 0.14104040249783997,
          "pvalue": 0.009325972514862687,
          "lower": 0.11422035141728754,
          "upper": 0.7068501317616458
        },
        {
          "method": "Dynamic TWFE",
          "estimate": 0.4058581920621245,
          "se": 0.12544088083278745,
          "pvalue": 0.004590129191643252,
          "lower": 0.1423166807732717,
          "upper": 0.6693997033509773
        },
        {
          "method": "BJS / did2s",
          "estimate": 0.37046327835198456,
          "se": 0.13870551402359055,
          "pvalue": 0.015585616554127173,
          "lower": 0.07905380683686075,
          "upper": 0.6618727498671084
        },
        {
          "method": "Sun\u2013Abraham",
          "estimate": 0.45984172770274206,
          "se": 0.11093052920455639,
          "pvalue": 0.000607775152453933,
          "lower": 0.2267853339612874,
          "upper": 0.6928981214441967
        }
      ],
      "event_studies": {
        "Dynamic TWFE": [
          {
            "event_time": -3,
            "estimate": -0.33534432925747293,
            "se": 0.1124933572659968,
            "pvalue": 0.008009149312576002,
            "lower": -0.571684102918315,
            "upper": -0.0990045555966309
          },
          {
            "event_time": -2,
            "estimate": -0.15638945955856542,
            "se": 0.13783193408280028,
            "pvalue": 0.2714112438828219,
            "lower": -0.4459636077221705,
            "upper": 0.13318468860503963
          },
          {
            "event_time": 0,
            "estimate": 0.4292483830831133,
            "se": 0.125317721361987,
            "pvalue": 0.0030176689680087992,
            "lower": 0.16596562024092965,
            "upper": 0.692531145925297
          },
          {
            "event_time": 1,
            "estimate": 0.3635125223430622,
            "se": 0.13923775569311347,
            "pvalue": 0.017695334177249975,
            "lower": 0.07098485257370302,
            "upper": 0.6560401921124214
          },
          {
            "event_time": 2,
            "estimate": 0.42081910809032225,
            "se": 0.24239279822212947,
            "pvalue": 0.09963054063653852,
            "lower": -0.08842926409024826,
            "upper": 0.9300674802708928
          }
        ],
        "BJS / did2s": [
          {
            "event_time": -3,
            "estimate": -0.17129915969884155,
            "se": 0.09588364634481636,
            "pvalue": 0.09086793979171957,
            "lower": -0.3727432256033433,
            "upper": 0.03014490620566021
          },
          {
            "event_time": -2,
            "estimate": 0.020623040474588517,
            "se": 0.056914909490504484,
            "pvalue": 0.7213109063758055,
            "lower": -0.09895074729233619,
            "upper": 0.14019682824151322
          },
          {
            "event_time": -1,
            "estimate": 0.02079872958203574,
            "se": 0.021167577443839538,
            "pvalue": 0.33884028418473106,
            "lower": -0.023672700408235804,
            "upper": 0.06527015957230728
          },
          {
            "event_time": 0,
            "estimate": 0.43568638495397716,
            "se": 0.13253427107565732,
            "pvalue": 0.004094027242508655,
            "lower": 0.15724221376384834,
            "upper": 0.714130556144106
          },
          {
            "event_time": 1,
            "estimate": 0.326611795313362,
            "se": 0.16014512657320532,
            "pvalue": 0.056359646566537615,
            "lower": -0.009840630741475842,
            "upper": 0.6630642213681999
          },
          {
            "event_time": 2,
            "estimate": 0.2831379123095163,
            "se": 0.27122414509171167,
            "pvalue": 0.3103377655883807,
            "lower": -0.286682871959194,
            "upper": 0.8529586965782265
          }
        ],
        "Sun\u2013Abraham": [
          {
            "event_time": -3,
            "estimate": -0.5093845885806233,
            "se": 0.19780075083539245,
            "pvalue": 0.019065108344836126,
            "lower": -0.9249485455869253,
            "upper": -0.09382063157432136
          },
          {
            "event_time": -2,
            "estimate": -0.1727928860227633,
            "se": 0.15525752566328174,
            "pvalue": 0.2803753576283431,
            "lower": -0.49897684360204053,
            "upper": 0.1533910715565139
          },
          {
            "event_time": 0,
            "estimate": 0.4907266890087258,
            "se": 0.10697636505440845,
            "pvalue": 0.00022857164765366407,
            "lower": 0.26597768588104787,
            "upper": 0.7154756921364037
          },
          {
            "event_time": 1,
            "estimate": 0.4348584241044823,
            "se": 0.11465425549029606,
            "pvalue": 0.001332658535534146,
            "lower": 0.1939787717374922,
            "upper": 0.6757380764714723
          },
          {
            "event_time": 2,
            "estimate": 0.4258242602216345,
            "se": 0.2758248241629196,
            "pvalue": 0.14003038284085212,
            "lower": -0.1536621921078522,
            "upper": 1.0053107125511211
          }
        ]
      },
      "target": {
        "event_times": [
          0.0,
          1.0,
          2.0
        ],
        "weights": [
          0.4780058651026393,
          0.3313782991202346,
          0.1906158357771261
        ],
        "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": 0.0
      },
      "inference": {
        "standard_errors": "Cluster-robust; did2s uses two-stage covariance",
        "confidence_intervals": "Pointwise t, clusters minus one degrees of freedom"
      },
      "f_test": {
        "F": 0.025384162863872555,
        "df_num": 1,
        "df_den": 652,
        "pvalue": 0.8734628894882257,
        "log10_pvalue": -0.058755542006586246,
        "inference": "Homoskedastic nested-model F",
        "observations": 683,
        "design_columns": 9,
        "restricted_design_columns": 8,
        "fixed_effect_rank": 22,
        "covariance_rank": 1,
        "rss_unrestricted": 739.6194984888045,
        "rss_restricted": 739.6482939210238,
        "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.11839318532676822,
              -0.15851440313334372,
              -0.022340304013756515,
              -0.0954493319028161,
              -0.1331737813201851,
              -0.2019997948653492
            ],
            [
              -0.11839318532676822,
              -0.15851440313334372,
              -0.022340304013756515,
              -0.0954493319028161,
              -0.1331737813201851,
              -0.2019997948653492
            ],
            [
              -0.11839318532676822,
              -0.15851440313334372,
              -0.022340304013756515,
              -0.0954493319028161,
              -0.1331737813201851,
              -0.2019997948653492
            ],
            [
              -0.11839318532676822,
              -0.15851440313334372,
              -0.022340304013756515,
              -0.0954493319028161,
              -0.1331737813201851,
              -0.2019997948653492
            ],
            [
              -0.11839318532676822,
              -0.15851440313334372,
              -0.022340304013756515,
              -0.0954493319028161,
              -0.1331737813201851,
              -0.2019997948653492
            ]
          ]
        },
        "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.33484544435644065
          },
          {
            "event_time": 0.0,
            "cohort": 3,
            "estimate": 0.05404965625332503
          },
          {
            "event_time": 1.0,
            "cohort": 3,
            "estimate": 0.08095456952632889
          },
          {
            "event_time": 0.0,
            "cohort": 4,
            "estimate": -0.4186759127165261
          }
        ]
      }
    }
  },
  "code_sha256": {
    "replication_engine.py": "85957b22db6cf6312f27a925b03b907e4d51071cc59a60cfdf2d7b039b1e34eb",
    "reference_f_test.py": "26f3d65e1ff59d46f05bb28011b2ed34b9ee150f04c47c144dd6836a4d75d6f0",
    "sparse_did2s.py": "a348042269b0077dd2916898779f992f0b5fc2971edfee8b0118d3af715eaafb"
  }
}
