This is a guide to the code and software resources for the book Value of Information for Health Economic Evaluations (eds. Heath, Jackson, Kunst). The book is under development, and when published, these resources will be linked from here.
Before running any of this code, you should install the
voi
package, which when the book is published will be
available from CRAN.
install.packages("voi")
Then you should set the working directory as follows
system.file("Chemotherapy_Book",package="voi")
then your working directory should contain subdirectories that
include 01_data_raw
, 02_data
, etc. You can
check this by running the command list.files()
in your R
console.
Alternatively, you can copy the contents of the
Chemotherapy_Book
directory to your preferred working
directory, and work there instead.
The code to run the baseline cost-effectiveness analysis (TODO REF
SECTION NUMBERS) is in the
04_analysis/02_baseline_model_output.R
subdirectory (link
to GitHub source). This can be run all at once using
source("04_analysis/02_baseline_model_output.R")
Or alternatively, open this file in R, and examine and run each line of code by hand.
04_analysis/03_Expected_Value_of_Perfect_Information.R
(link
to GitHub source)
04_analysis/04_Expected_Value_of_Partial_Perfect_Information.R
(link
to GitHub source)
04_analysis/05_Expected_Value_of_Sample_Information_MM.R
(link
to GitHub source)
04_analysis/05_Expected_Value_of_Sample_Information_RB.R
(link
to GitHub source)