Cost-effectiveness acceptability SURFACE

Listening to a recent talk I realised that there doesn’t seem to be common name for something commonly used in health economic evaluation. There are the staple plots which everyone will recognise: the cost-effectiveness plane and the cost-effectiveness acceptability curve (CEAC). The CEAC gives the probability of being cost-effective for different willingness to pay thresholds.Continue reading “Cost-effectiveness acceptability SURFACE”

Health Economics in R Data Hack

On January 21st – 22nd 2020 at Queen’s University Belfast, we hosted the second health economics in R event – a workshop/hackathon/data dive mash-up. (Read about the first one here). Generally, day one was aimed more at people new to health economics and R. Day two was aim more at those more familiar with healthContinue reading “Health Economics in R Data Hack”

jagsAddIn: an RStudio AddIn

I have been aware of the RStudio AddIns for a while now but never really saw the usefulness in them (see here To me the benefit of using RStudio is so coding in R is more fun and including more menus and clicking and taking away from the keyboard seemed like a step backwards.Continue reading “jagsAddIn: an RStudio AddIn”

Reconstructing data from Kaplan-Meier curves

Using the methodology given in Guyot et al. BMC Medical Research Methodology 2012, 12:9 (, we held a practical session to show how to do this in R. The algorithm in Guyot (2012) is included in the digitise() function in the survHE package. The first step is to extract the data points from an imageContinue reading “Reconstructing data from Kaplan-Meier curves”

Health Economics in R Hackathon

Imperial College 2019 On November 6th – 7th 2019 at Imperial College London, we hosted the first health economics in R hackathon. The event was aimed at health economists, statistcians and R users who are interested in creating new R tools to tackle problems in health economics large or small. There was a lot ofContinue reading “Health Economics in R Hackathon”

Creating WordPress blog posts with RMarkdown

R Markdown This blog post is written as an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see When you click the Knit button a document will be generated that includes both content as well as the outputContinue reading “Creating WordPress blog posts with RMarkdown”

De-duplicating clinic visits

Problem We want to only keep an individual’s clinic visits which are for new infections.Therefore, want to remove repeat visit to the clinicwhere a repeat is defined as within 6 weeks of the previous visit. Solutions There are a number of way to tackle this problem which vary in terms of computation speed, simplicity andContinue reading “De-duplicating clinic visits”