assertHE: an R package to improve quality assurance of HTA models
Authors:
- Robert A. SmithRSRobert A. Smith
- Yevgeniy SamyshkinYSYevgeniy Samyshkin
- Wael MohammedWMWael Mohammed
- Felicity LamrockFLFelicity Lamrock
- Tom WardTWTom Ward
- Jack SmithJSJack Smith
- Alan MartinAMAlan Martin
- Paul SchneiderPSPaul Schneider
- Dawn LeeDLDawn Lee
- Gianluca BaioGBGianluca Baio
- Howard ThomHTHoward Thom
- Nathan GreenNGNathan Green
Open Access
- 2 December 2024
- journal article
- Published by F1000 Research Ltd in Wellcome Open Research
- Vol. 9, 701
Abstract
Background Health economic models are increasingly used to inform decisions about the allocation of healthcare resources. Ensuring the robustness and reliability of these models is critical. Currently, quality assurance is conducted by both technical and non-technical experts assessing different components of the model manually. This is resource intensive. Understanding how the different components of the model fit together is time consuming, and testing every part of the model is sometimes not feasible in the time available. To aid in this, we have developed the assertHE R package. Methods The open-source assertHE package provides testing functionality for those building and reviewing health economic models built in R programming language. It provides a series of checks which can be integrated into the model development workflow to reduce the probability of common errors. It also provides a suite of functions which allow users to better understand the network of R functions contained in a model, where they are defined, if (and where) they are tested, and provides a simple metric to quantify the extent to which they are tested. Results We applied the assertHE package to three open-source health economic models built in R, showing how to include check functions within the model code and how to visualise the network of functions, see the test coverage, and obtain a Generative Pretrained Transformer Large Language Model (GPT-LLM) generated summary of any function in the code-base. We have worked with collaborators from industry, regulators and academia to develop the package to be applicable to the widest possible range of models, making adaptations to the source code based upon feedback. Conclusions assertHE offers an open-source toolkit for health economists building and reviewing models, promoting collaborative development and facilitating a more robust and efficient quality assurance process.Keywords
Funding Information
- Wellcome Trust (108903)
This publication has 33 references indexed in Scilit:
- Modelling decay in effectiveness for evaluation of behaviour change interventions: a tutorial for public health economistsThe European Journal of Health Economics, 2021
- From Spreadsheets to Script: Experiences From Converting a Scottish Cardiovascular Disease Policy Model into RApplied Health Economics and Health Policy, 2021
- A Practical Guide to Modeling and Conducting a Cost-Effectiveness Analysis of Companion Biomarker Tests for Targeted Therapies Using R: Tutorial PaperPharmacoEconomics, 2021
- TECH-VER: A Verification Checklist to Reduce Errors in Models and Improve Their CredibilityPharmacoEconomics, 2019
- A Need for Change! A Coding Framework for Improving Transparency in Decision ModelingPharmacoEconomics, 2019
- Publication of Decision Model Source Code: Attitudes of Health Economics AuthorsPharmacoEconomics, 2019
- Verification of Decision-Analytic Models for Health Economic Evaluations: An OverviewPharmacoEconomics, 2017
- AdViSHE: A Validation-Assessment Tool of Health-Economic Models for Decision Makers and Model UsersPharmacoEconomics, 2015
- Avoiding and Identifying Errors and Other Threats to the Credibility of Health Economic ModelsPharmacoEconomics, 2014
- The Comprehensive R Archive NetworkWIREs Computational Statistics, 2012