This repository contains code and data to reproduce the results in the paper.
All commands must be run from the repository root.
Generated outputs are written to:
results/
First time? Set up R and Python dependencies first — see INSTALL.md.
make smoke
make probit_smokeRuns a lightweight simulation and data analysis to verify everything works.
make full-
The default setting does not run the full grid of simulation settings in the paper, to save time. To run the sampler with custom settings, change the corresponding environment variables first. See §6 in
REPRODUCIBILITY.mdfor details. -
Note:
scripts/run_full.shdefaults toJASA_METHODS="exponential halfgaussian", somake fullproduces results for both kernels in one pass. The main paper uses only the exponential kernel; the half-Gaussian results feed into Supplementary Table 3. To run only the main-paper kernel:JASA_METHODS=exponential make full
-
Outputs saved under:
results/runs/mh_within_gibbs/
make kernel_compare-
Runs both:
- exponential
- half_gaussian
-
Outputs saved under:
results/runs/mh_within_gibbs/kernel_compare/
Full model:
make duck_fullReduced model:
make duck_reduced- Outputs saved under:
results/data_analysis/<RUN_TAG>/
All scripts support environment-variable overrides. For more details, see §6 in REPRODUCIBILITY.md.
Example:
JASA_N_ITER=20000 make fullJASA_METHODS=exponential,half_gaussian make fullSee:
REPRODUCIBILITY.md
for detailed mapping between paper sections and scripts.