{
  "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": "Democracy is not always preferable [Table 3 original scale]",
      "d": "New Curriculum indicator (newcurr)"
    },
    "allow_repeated_cells": true,
    "time_fe": null,
    "latest_cohort_control": true,
    "slug": "s01-p038",
    "study_id": 1,
    "study": "Curriculum and Ideology",
    "citation": "Cantoni et al. (2017), JPE. https://doi.org/10.1086/690951",
    "description": "Democracy is not always preferable [Table 3 original scale]",
    "source_specification_id": "CI-T3-D04-ORIG",
    "specification_id": "S01-P038",
    "data": "repl-archives/twfe-microdata-replication-private/outputs/published_clustering_2026_10_08/curriculum/prepared_rows/CI-T3-D04-ORIG.csv",
    "output_dir": "analyses/full-archive/results/S01-P038"
  },
  "source": {
    "file": "CI-T3-D04-ORIG.csv",
    "bytes": 181420,
    "sha256": "fc96045ea73235a69f2eb46e9921c4c099f5fad2e8ade4bcc3efb7dd1310df0b"
  },
  "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": 1651,
        "source_sd": 0.46243145444846473,
        "rows": 1037,
        "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.1550319334264455,
          "se": 0.14745843572711265,
          "pvalue": 0.3070038701988684,
          "lower": -0.154766744212112,
          "upper": 0.464830611065003
        },
        {
          "method": "Dynamic TWFE",
          "estimate": 0.15291623793325626,
          "se": 0.1567412542713766,
          "pvalue": 0.34219445354244704,
          "lower": -0.17638491778050364,
          "upper": 0.48221739364701616
        },
        {
          "method": "BJS / did2s",
          "estimate": 0.1456500846980343,
          "se": 0.13815811585661297,
          "pvalue": 0.3057249479605791,
          "lower": -0.14460934594329877,
          "upper": 0.4359095153393674
        },
        {
          "method": "Sun\u2013Abraham",
          "estimate": 0.06975588945735992,
          "se": 0.16618754452453124,
          "pvalue": 0.6796413077311627,
          "lower": -0.27939118564776666,
          "upper": 0.41890296456248644
        }
      ],
      "event_studies": {
        "Dynamic TWFE": [
          {
            "event_time": -3,
            "estimate": -0.10090718750813898,
            "se": 0.17547253140113533,
            "pvalue": 0.5723696504361155,
            "lower": -0.4695612961856719,
            "upper": 0.2677469211693939
          },
          {
            "event_time": -2,
            "estimate": -0.11909652561563072,
            "se": 0.1252691970173501,
            "pvalue": 0.35433628170023435,
            "lower": -0.3822773425926785,
            "upper": 0.14408429136141704
          },
          {
            "event_time": 0,
            "estimate": 0.16219786063842445,
            "se": 0.15127547473621766,
            "pvalue": 0.29779494359389247,
            "lower": -0.15562011838282158,
            "upper": 0.4800158396596705
          },
          {
            "event_time": 1,
            "estimate": 0.10838397580576643,
            "se": 0.19371928404777905,
            "pvalue": 0.5827230931580529,
            "lower": -0.29860513766992675,
            "upper": 0.5153730892814596
          },
          {
            "event_time": 2,
            "estimate": 0.21286073304912212,
            "se": 0.20303711109182654,
            "pvalue": 0.3083357241046378,
            "lower": -0.21370440863056445,
            "upper": 0.6394258747288086
          }
        ],
        "BJS / did2s": [
          {
            "event_time": -3,
            "estimate": 0.08190163744225756,
            "se": 0.08047841687151855,
            "pvalue": 0.32231255454264157,
            "lower": -0.08717724232682197,
            "upper": 0.2509805172113371
          },
          {
            "event_time": -2,
            "estimate": -0.010454923478291071,
            "se": 0.04253417565759595,
            "pvalue": 0.8086175344413531,
            "lower": -0.09981591058081826,
            "upper": 0.0789060636242361
          },
          {
            "event_time": -1,
            "estimate": -0.012920309366192314,
            "se": 0.030526312682897638,
            "pvalue": 0.6771256958597902,
            "lower": -0.0770537124889815,
            "upper": 0.05121309375659687
          },
          {
            "event_time": 0,
            "estimate": 0.17036225648038278,
            "se": 0.14911818935413315,
            "pvalue": 0.2682305078481823,
            "lower": -0.1429234341345521,
            "upper": 0.48364794709531767
          },
          {
            "event_time": 1,
            "estimate": 0.0820691645804349,
            "se": 0.17647370577263535,
            "pvalue": 0.647471961477403,
            "lower": -0.28868833340030686,
            "upper": 0.45282666256117665
          },
          {
            "event_time": 2,
            "estimate": 0.20178397679049248,
            "se": 0.17207054187677814,
            "pvalue": 0.2562098369122207,
            "lower": -0.15972281711464925,
            "upper": 0.5632907706956343
          }
        ],
        "Sun\u2013Abraham": [
          {
            "event_time": -3,
            "estimate": 0.3357391771118242,
            "se": 0.37615361135438374,
            "pvalue": 0.3838711244051553,
            "lower": -0.4545302354988623,
            "upper": 1.1260085897225107
          },
          {
            "event_time": -2,
            "estimate": -0.0570572569560133,
            "se": 0.16197773410197233,
            "pvalue": 0.7287386131443927,
            "lower": -0.3973598485591494,
            "upper": 0.28324533464712276
          },
          {
            "event_time": 0,
            "estimate": 0.14361694101509814,
            "se": 0.1207962710947271,
            "pvalue": 0.24992049306325342,
            "lower": -0.11016660730674549,
            "upper": 0.3974004893369418
          },
          {
            "event_time": 1,
            "estimate": -0.09733382863553004,
            "se": 0.26348793679952126,
            "pvalue": 0.7161355950839778,
            "lower": -0.650901442395282,
            "upper": 0.4562337851242219
          },
          {
            "event_time": 2,
            "estimate": 0.19435706519882548,
            "se": 0.21538826328538838,
            "pvalue": 0.37878424989680537,
            "lower": -0.2581568843466866,
            "upper": 0.6468710147443375
          }
        ]
      },
      "target": {
        "event_times": [
          0.0,
          1.0,
          2.0
        ],
        "weights": [
          0.4714003944773176,
          0.34516765285996054,
          0.1834319526627219
        ],
        "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": 4.458650086904924e-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.036092965912545176,
        "df_num": 1,
        "df_den": 1006,
        "pvalue": 0.8493619630133346,
        "log10_pvalue": -0.07090719192469236,
        "inference": "Homoskedastic nested-model F",
        "observations": 1037,
        "design_columns": 9,
        "restricted_design_columns": 8,
        "fixed_effect_rank": 22,
        "covariance_rank": 1,
        "rss_unrestricted": 1019.9215951528903,
        "rss_restricted": 1019.9581875936133,
        "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.13935031722056884,
              -0.16425995043041058,
              -0.018004551029121532,
              -0.09169688794795626,
              -0.149462256621719,
              -0.2127532457187867
            ],
            [
              -0.13935031722056884,
              -0.16425995043041058,
              -0.018004551029121532,
              -0.09169688794795626,
              -0.149462256621719,
              -0.2127532457187867
            ],
            [
              -0.13935031722056884,
              -0.16425995043041058,
              -0.018004551029121532,
              -0.09169688794795626,
              -0.149462256621719,
              -0.2127532457187867
            ],
            [
              -0.13935031722056884,
              -0.16425995043041058,
              -0.018004551029121532,
              -0.09169688794795626,
              -0.149462256621719,
              -0.2127532457187867
            ],
            [
              -0.13935031722056884,
              -0.16425995043041058,
              -0.018004551029121532,
              -0.09169688794795626,
              -0.149462256621719,
              -0.2127532457187867
            ]
          ]
        },
        "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.7432006618816084
          },
          {
            "event_time": 0.0,
            "cohort": 3,
            "estimate": -0.24998833316131158
          },
          {
            "event_time": 1.0,
            "cohort": 3,
            "estimate": 0.073956366486191
          },
          {
            "event_time": 0.0,
            "cohort": 4,
            "estimate": 0.7142683800202659
          }
        ]
      }
    }
  },
  "code_sha256": {
    "replication_engine.py": "85957b22db6cf6312f27a925b03b907e4d51071cc59a60cfdf2d7b039b1e34eb",
    "reference_f_test.py": "26f3d65e1ff59d46f05bb28011b2ed34b9ee150f04c47c144dd6836a4d75d6f0",
    "sparse_did2s.py": "a348042269b0077dd2916898779f992f0b5fc2971edfee8b0118d3af715eaafb"
  }
}
