Skip to content

Materials for the course on Bayesian model building run at Second Faculty of Medicine at Charles University in Prague

License

Notifications You must be signed in to change notification settings

martinmodrak/modelling-in-stan-2024

Repository files navigation

SBC and various test quantities

Simulations for the paper "Simulation-Based Calibration Checking for Bayesian Computation: The Choice of Test Quantities Shapes Sensitivity". Written in R markdown, using the SBC R package. Code is written in R markdown (.Rmd), rendered HTML can be found at https://martinmodrak.github.io/sbc_test_quantities_paper.

Contents:

  • mvn.Rmd - the multivariate normal examples for the main body of the paper (Section 4 - Numerical Experiments)
  • ordered_simplex.Rmd - the implementations of ordered simplex for the main body of the paper (Section 5 - Real-world case study)
  • bernoulli.Rmd - Examples in the Appendix B

The code uses renv to recreate the same environment as we used to run the examples. Run renv::restore() after loading the project.

The rendered site can be rebuilt with rmarkdown::render_site().

About

Materials for the course on Bayesian model building run at Second Faculty of Medicine at Charles University in Prague

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published