Computer code
Bayesian Cost-Effectiveness Analysis with the R package BCEA
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.
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
orBUGS
). - 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 theJAGS
/BUGS
model described in Chapter 2.