This repository collects the research code underlying our work on randomization-based inference with noncompliance. The scripts are the files we used for experiments and publications.
- Simulation framework: The
1_simulation_*and2_gen_data*scripts generate data and run Monte Carlo experiments under many covariance and instrument designs. - Anderson–Rubin inversion: Files under
2_AR_*implement several algorithmic variants (Algorithms 1–3, permutation methods, and auxiliary routines for confidence sets). - Results processing: The
3_*.Rscripts merge simulation output, check assumptions (additivity, non-additivity, Remark 3.4), and create TODO lists for unfinished runs. - Demonstrations and tests: The
4_*and5_*files contain exploratory analyses, plotting utilities, and sanity checks. - Archived artifacts: CSV TODO trackers and
.Rdatafiles capture intermediate simulation results.