• Research
  • Publications
  • Talks
  • Books
    • BMHE
    • BCEA book
    • BMPR
  • Software
    • BCEA
    • survHE
    • blendR
    • bmhe
    • SWSamp
    • bmeta
    • INLA
  • Blog
  • Teaching
    • Summer school
  1. BCEA book
  2. Computer code
  • BMHE
    • Computer code
    • Errata corrige
  • BCEA book
    • Computer code
    • Errata corrige
  • BMPR
    • Computer code
  1. BCEA book
  2. Computer code

Computer code

Bayesian Cost-Effectiveness Analysis with the R package BCEA

Published

December 29, 2021


General/overall files

This contains a set of functions and scripts that can be used to run the various examples described in the book.

General functions
  • Utils.R: a utility script including several functions used to pre- and post-process data and output. NB: These are superseded by the package bmhe.
Vaccine example
  • LoadData.R: a script to load the data example.
  • vaccine.txt: a JAGS/BUGS script to run the model.
  • RunMCMC.R: a script to run the MCMC model (using either JAGS or BUGS).
  • vaccine.RData: the R workspace with the processed output.
Smoking cessation example
  • smoking_data.csv: a spreadsheet with the data.
  • smoking_model_RE.R: a R script including the code to run the JAGS/BUGS model described in Chapter 2.
Chemotherapy example
  • chemo_PSA.Rdata: a R object with the PSA simulations for the Chemotherapy example in Chapter 4.
Spreadsheets to run BCEAweb()
  • vaccine_parameters.csv: A spreadsheet with the simulated values for all the model parameters in the Vaccine example
  • vaccine_results.csv: A spreadsheet with the PSA simulations for the relevant effects and costs in the Vaccine example
  • smoking_parameters.csv: A spreadsheet with the simulated values for all the model parameters in the Smoking cessation example
  • smoking_results.csv: A spreadsheet with the PSA simulations for the relevant effects and costs in the Smoking cessation example




         
BCEA book
Errata corrige

© Gianluca Baio 2022-2024