Skip to main content
Top
Published in: PharmacoEconomics 7/2020

01-07-2020 | Original Research Article

R and Shiny for Cost-Effectiveness Analyses: Why and When? A Hypothetical Case Study

Authors: Rose Hart, Darren Burns, Bram Ramaekers, Shijie Ren, Daniel Gladwell, Will Sullivan, Niall Davison, Owain Saunders, Indeg Sly, Theresa Cain, Dawn Lee

Published in: PharmacoEconomics | Issue 7/2020

Login to get access

Abstract

Introduction

Health economics models are typically built in Microsoft Excel® owing to its wide familiarity, accessibility and perceived transparency. However, given the increasingly rapid and analytically complex decision-making needs of both the pharmaceutical industry and the field of health economics and outcomes research (HEOR), the demands of cost-effectiveness analyses may be better met by the programming language R.

Objective

This case study provides an explicit comparison between Excel and R for contemporary cost-effectiveness analysis.

Methods

We constructed duplicate cost-effectiveness models using Excel and R (with a user interface built using the Shiny package) to address a hypothetical case study typical of contemporary health technology assessment.

Results

We compared R and Excel versions of the same model design to determine the advantages and limitations of the modelling platforms in terms of (i) analytical capability, (ii) data safety, (iii) building considerations, (iv) usability for technical and non-technical users and (v) model adaptability.

Conclusions

The findings of this explicit comparison are used to produce recommendations for when R might be more suitable than Excel in contemporary cost-effectiveness analyses. We conclude that selection of appropriate modelling software needs to consider case-by-case modelling requirements, particularly (i) intended audience, (ii) complexity of analysis, (iii) nature and frequency of updates and (iv) anticipated model run time.
Appendix
Available only for authorised users
Literature
3.
go back to reference Woolacott N, Hawkins N, Mason A, Kainth A, Khadjesari Z. Etanercept and efalizumab for the treatment of psoriasis: a systematic review. Health Technol Assess. 2006;10(46):1–233.CrossRef Woolacott N, Hawkins N, Mason A, Kainth A, Khadjesari Z. Etanercept and efalizumab for the treatment of psoriasis: a systematic review. Health Technol Assess. 2006;10(46):1–233.CrossRef
12.
go back to reference Baio G, Heath A. When simple becomes complicated: why excel should lose its place at the top table. Glob Reg Health Technol Assess. 2017;4(1):e3–6. Baio G, Heath A. When simple becomes complicated: why excel should lose its place at the top table. Glob Reg Health Technol Assess. 2017;4(1):e3–6.
46.
go back to reference Sousa D, Ferreira F, Félix F, Lopesa M. Acute lymphoblastic leukemia in children and adolescents: prognostic factors and analysis of survival. Rev Bras Hematol Hemoter. 2015;37(4):223–9.CrossRef Sousa D, Ferreira F, Félix F, Lopesa M. Acute lymphoblastic leukemia in children and adolescents: prognostic factors and analysis of survival. Rev Bras Hematol Hemoter. 2015;37(4):223–9.CrossRef
50.
go back to reference Rosenbaum PR, Rubin DB. The central role of the propensity score in observational studies for causal effects. Biometrika. 1983;70(1):41–55.CrossRef Rosenbaum PR, Rubin DB. The central role of the propensity score in observational studies for causal effects. Biometrika. 1983;70(1):41–55.CrossRef
55.
go back to reference Lambert PC. Modeling of the cure fraction in survival studies. Stata J. 2007;7(3):351–75.CrossRef Lambert PC. Modeling of the cure fraction in survival studies. Stata J. 2007;7(3):351–75.CrossRef
Metadata
Title
R and Shiny for Cost-Effectiveness Analyses: Why and When? A Hypothetical Case Study
Authors
Rose Hart
Darren Burns
Bram Ramaekers
Shijie Ren
Daniel Gladwell
Will Sullivan
Niall Davison
Owain Saunders
Indeg Sly
Theresa Cain
Dawn Lee
Publication date
01-07-2020
Publisher
Springer International Publishing
Published in
PharmacoEconomics / Issue 7/2020
Print ISSN: 1170-7690
Electronic ISSN: 1179-2027
DOI
https://doi.org/10.1007/s40273-020-00903-9

Other articles of this Issue 7/2020

PharmacoEconomics 7/2020 Go to the issue