{
  "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": "Identity: Chinese [Table 3 original scale]",
      "d": "New Curriculum indicator (newcurr)"
    },
    "allow_repeated_cells": true,
    "time_fe": null,
    "unit_fe": null,
    "latest_cohort_control": true,
    "slug": "s01-p048",
    "study_id": 1,
    "study": "Curriculum and Ideology",
    "citation": "Cantoni et al. (2017), JPE. https://doi.org/10.1086/690951",
    "description": "Identity: Chinese [Table 3 original scale]",
    "source_specification_id": "CI-T3-H01-ORIG",
    "specification_id": "S01-P048",
    "data": "repl-archives/twfe-microdata-replication-private/outputs/published_clustering_2026_10_08/curriculum/prepared_rows/CI-T3-H01-ORIG.csv",
    "output_dir": "analyses/full-archive/results/S01-P048"
  },
  "source": {
    "file": "CI-T3-H01-ORIG.csv",
    "bytes": 187024,
    "sha256": "acb5a8dae6bd3a4e0f924328f8991dce41f8ef04527b36c7469ff77e9680275b"
  },
  "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": 1702,
        "source_sd": 0.7096963825184518,
        "rows": 1067,
        "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.12068036700026637,
          "se": 0.13918968642388724,
          "pvalue": 0.39734168249304685,
          "lower": -0.17174631298191717,
          "upper": 0.4131070469824499
        },
        {
          "method": "Dynamic TWFE",
          "estimate": -0.09456533532615863,
          "se": 0.2289024728613489,
          "pvalue": 0.684394785715033,
          "lower": -0.5754715856262427,
          "upper": 0.3863409149739254
        },
        {
          "method": "BJS / did2s",
          "estimate": 0.041443225960140814,
          "se": 0.21035716330586957,
          "pvalue": 0.846024378868492,
          "lower": -0.40050077475174395,
          "upper": 0.4833872266720256
        },
        {
          "method": "Sun\u2013Abraham",
          "estimate": -0.021588580009078137,
          "se": 0.2609129601191156,
          "pvalue": 0.9349695231338039,
          "lower": -0.5697463685078591,
          "upper": 0.5265692084897028
        }
      ],
      "event_studies": {
        "Dynamic TWFE": [
          {
            "event_time": -3,
            "estimate": 0.4433094643204705,
            "se": 0.3038878738221168,
            "pvalue": 0.16185223641524685,
            "lower": -0.1951352675544023,
            "upper": 1.0817541961953434
          },
          {
            "event_time": -2,
            "estimate": -0.18101354818929405,
            "se": 0.1934361293519581,
            "pvalue": 0.3617726714175181,
            "lower": -0.5874077757237393,
            "upper": 0.22538067934515116
          },
          {
            "event_time": 0,
            "estimate": 0.05729705012177501,
            "se": 0.16699562309489616,
            "pvalue": 0.7354939984497744,
            "lower": -0.2935477350620777,
            "upper": 0.4081418353056277
          },
          {
            "event_time": 1,
            "estimate": -0.2787749421579692,
            "se": 0.2549791287755692,
            "pvalue": 0.2886679421681006,
            "lower": -0.8144662136040206,
            "upper": 0.2569163292880821
          },
          {
            "event_time": 2,
            "estimate": -0.12524208569121892,
            "se": 0.4067388596666636,
            "pvalue": 0.7616796059289732,
            "lower": -0.9797687205874193,
            "upper": 0.7292845492049813
          }
        ],
        "BJS / did2s": [
          {
            "event_time": -3,
            "estimate": 0.18408589878090206,
            "se": 0.09983781902545916,
            "pvalue": 0.08173127889475933,
            "lower": -0.025665575659281126,
            "upper": 0.39383737322108525
          },
          {
            "event_time": -2,
            "estimate": -0.16865367116023394,
            "se": 0.07094871111591136,
            "pvalue": 0.028743455381926953,
            "lower": -0.31771138207034644,
            "upper": -0.01959596025012142
          },
          {
            "event_time": -1,
            "estimate": 0.05923356318301539,
            "se": 0.03798002034633212,
            "pvalue": 0.13626373107981585,
            "lower": -0.020559498651396828,
            "upper": 0.1390266250174276
          },
          {
            "event_time": 0,
            "estimate": 0.13821569634598932,
            "se": 0.1583406447277652,
            "pvalue": 0.3942129773631237,
            "lower": -0.19444565402854855,
            "upper": 0.4708770467205272
          },
          {
            "event_time": 1,
            "estimate": -0.03776990998964739,
            "se": 0.2313723895514965,
            "pvalue": 0.8721459787213056,
            "lower": -0.5238652627016217,
            "upper": 0.4483254427223269
          },
          {
            "event_time": 2,
            "estimate": -0.050907832013428404,
            "se": 0.4258985043740324,
            "pvalue": 0.9061791184115278,
            "lower": -0.9456873867585274,
            "upper": 0.8438717227316705
          }
        ],
        "Sun\u2013Abraham": [
          {
            "event_time": -3,
            "estimate": 0.08353138198773927,
            "se": 0.3439736817186545,
            "pvalue": 0.8108732065336844,
            "lower": -0.6391305071978379,
            "upper": 0.8061932711733164
          },
          {
            "event_time": -2,
            "estimate": -0.29191112064010016,
            "se": 0.2627877167465256,
            "pvalue": 0.28126241972585425,
            "lower": -0.8440076266574948,
            "upper": 0.2601853853772945
          },
          {
            "event_time": 0,
            "estimate": 0.07997578854626401,
            "se": 0.179770728937533,
            "pvalue": 0.6617122564493617,
            "lower": -0.2977084980687964,
            "upper": 0.45766007516132445
          },
          {
            "event_time": 1,
            "estimate": -0.0857439931738061,
            "se": 0.28628623914268864,
            "pvalue": 0.7679860707383349,
            "lower": -0.6872090628063973,
            "upper": 0.5157210764587851
          },
          {
            "event_time": 2,
            "estimate": -0.15471182219494223,
            "se": 0.5068452861302832,
            "pvalue": 0.7636814195224969,
            "lower": -1.2195542548183296,
            "upper": 0.9101306104284452
          }
        ]
      },
      "target": {
        "event_times": [
          0.0,
          1.0,
          2.0
        ],
        "weights": [
          0.46387832699619774,
          0.3517110266159696,
          0.1844106463878327
        ],
        "weighting": "observations"
      },
      "checks": {
        "did2s_vs_direct_imputation_max_post_difference": 2.7755575615628914e-17,
        "package_aggregate_vs_estimable_cell_weights": 0.0,
        "saturated_vs_deviations_relative_rss_difference": 8.550554991646025e-16
      },
      "inference": {
        "standard_errors": "Cluster-robust; did2s uses two-stage covariance",
        "confidence_intervals": "Pointwise t, clusters minus one degrees of freedom"
      },
      "f_test": {
        "F": 1.1500893384319293,
        "df_num": 1,
        "df_den": 1036,
        "pvalue": 0.2837801924891031,
        "log10_pvalue": -0.5470179210451782,
        "inference": "Homoskedastic nested-model F",
        "observations": 1067,
        "design_columns": 9,
        "restricted_design_columns": 8,
        "fixed_effect_rank": 22,
        "covariance_rank": 1,
        "rss_unrestricted": 1063.6674492609106,
        "rss_restricted": 1064.8482529221385,
        "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.14100276518141835,
              -0.17267536749550852,
              -0.007798658875369719,
              -0.10074602441988284,
              -0.15410242626917267,
              -0.22106714079325077
            ],
            [
              -0.14100276518141835,
              -0.17267536749550852,
              -0.007798658875369719,
              -0.10074602441988284,
              -0.15410242626917267,
              -0.22106714079325077
            ],
            [
              -0.14100276518141835,
              -0.17267536749550852,
              -0.007798658875369719,
              -0.10074602441988284,
              -0.15410242626917267,
              -0.22106714079325077
            ],
            [
              -0.14100276518141835,
              -0.17267536749550852,
              -0.007798658875369719,
              -0.10074602441988284,
              -0.15410242626917267,
              -0.22106714079325077
            ],
            [
              -0.14100276518141835,
              -0.17267536749550852,
              -0.007798658875369719,
              -0.10074602441988284,
              -0.15410242626917267,
              -0.22106714079325077
            ]
          ]
        },
        "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_fe+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.36418438111110035
          },
          {
            "event_time": 0.0,
            "cohort": 3,
            "estimate": 0.42888430559986523
          },
          {
            "event_time": 1.0,
            "cohort": 3,
            "estimate": -0.4142448431369223
          },
          {
            "event_time": 0.0,
            "cohort": 4,
            "estimate": -0.4408248638132801
          }
        ]
      }
    }
  },
  "code_sha256": {
    "replication_engine.py": "1bbe86d78c4c03fda3c933adf831c8473a0e275698cf0bbb14447878d7e54148",
    "reference_f_test.py": "b801de6e92ee3f3008618673a3087b955e8d266dbf6024e91e7e0c54d3775025",
    "sparse_did2s.py": "a348042269b0077dd2916898779f992f0b5fc2971edfee8b0118d3af715eaafb"
  }
}
