We will collate and make available the computer code used throughout the book to produce graphs and analysis, whenever possible. We are working with all the authors to ensure as much code as posssible is shared. Stay tuned!
Chapter 1: Bayesian Background
- ch1.R contains the code used to create all the graphs presented in the chapter (written by Emmanuel Lesaffre and Gianluca Baio).
Chapter 3: Bayesian Tail Probabilities for Decision Making
- appendix.R contains a set of function written by the author (Leo Held).
- BayesianPvalues.R contains code to recreate the entire analysis developed in the chapter. The code in this second script is in fact in
rmarkdownformat and can be used, for example, within a more structured document (eg using the