Preprint: https://arxiv.org/abs/2508.11814
In R + Quarto, using renv to capture dependencies.
Once all libraries are installed, you can run process.sh to render all outputs.
Individual files describing the simulations are:
Toy examples:
binary_example.qmdpoisson_nb_example.qmd
Realistic examples:
turtles.qmd- testing ranef presence in the turtles examples + discovering bad normalization constant withbridgesamplinglmbf_ranef_presence_post_sbc.qmd- testing for ranef presence and using posterior SBC with theBayesFactorpackagettestBF.qmd- JZS t-test with posterior SBC via theBayesFactorpackagelmm_multiple.qmd- comparing multiple linear mixed models withbrmsandbridgesamplingas well asbrms::hypothesis
Appendices:
-
good_check_examples.qmdexamples showing problematic convergence for the Good check while showing that SBC and binary calibration do well -
dap_metrics.qmdcomparing various tests for the data-averaged posterior criterion -
large-linear-rjags.qmdsampling a large model space directly with a Gibbs sampler -
BF_SBC_paper.qmdproduces all of the final figures, assuming all of the above files were compiled and produce the necessary intermediate outputs