From Spreadsheets to Script: Experiences From Converting a Scottish Cardiovascular Disease Policy Model into R

dc.centroFacultad de Ciencias Económicas y Empresarialeses_ES
dc.contributor.authorXin, Yiqiao
dc.contributor.authorRobles‑Zurita, José Antonio
dc.contributor.authorHaghpanahan, Houra
dc.contributor.authorHeggie, Robert
dc.contributor.authorKohli‑Lynch, Ciaran
dc.contributor.authorBriggs, Andrew
dc.contributor.authorMcAllister, David A.
dc.contributor.authorLawson, Kenny D.
dc.contributor.authorLewsey, Jim
dc.contributor.authorGray, Ewan
dc.date.accessioned2025-01-28T18:40:04Z
dc.date.available2025-01-28T18:40:04Z
dc.date.issued2021
dc.departamentoEconomía Aplicada (Estadística y Econometría)
dc.description.abstractGiven the advantages in transparency, reproducibility, adaptability and computational efficiency in R, there is a growing interest in converting existing spreadsheet-based models into an R script for model re-use and upskilling training among health economic modellers. The objective of this exercise was to convert the Scottish Cardiovascular Disease (CVD) Policy Model from Excel to R and discuss the lessons learnt throughout this process. The CVD model is a competing risk state transition cohort model. Four health economists, with varied experience of R, attempted to replicate an identical model structure in R based on the model in Excel and reproduce the intermediate and final results. Replications varied in their use of specialist health economics packages in addition to standard data management packages. Two versions of the CVD model were created in R along with a Shiny app. Version 1 was developed without health economics specialist packages and produced identical results to the Excel version. Version 2 used the heemod package and did not achieve the same results, possibly due to the non-standard elements of the model and limited time to adapt the functions. The R model requires less than half the computational time than the Excel model. Conversion of the spreadsheet models to script models is feasible for health economists. A step-by-step guide for the conversion process is provided and modellers’ experience is discussed. Coding without specialist packages allows full flexibility, while specialist packages may add convenience if the model structure is suitable. Whichever approach is taken, transparency and replicability remain the key criteria in model programming. Model conversions must maintain standards in these areas regardless of the choice of software.es_ES
dc.identifier.citationXin, Y., Gray, E., Robles-Zurita, J. A., Haghpanahan, H., Heggie, R., Kohli-Lynch, C., Briggs, A., McAllister, D. A., Lawson, K. D. and Lewsey, J. (2022) From spreadsheets to script: experiences from converting a Scottish cardiovascular disease policy model into R. Applied Health Economics and Health Policy, 20(2), pp. 149-158. (doi: 10.1007/s40258-021-00684-y)es_ES
dc.identifier.doi10.1007/s40258-021-00684-y
dc.identifier.urihttps://hdl.handle.net/10630/37228
dc.language.isoenges_ES
dc.publisherSpringer Naturees_ES
dc.rights.accessRightsopen accesses_ES
dc.subjectSistema cardiovascular - Enfermedades - Aspectos económicoses_ES
dc.subject.otherCardiovascular Disease Policy Modeles_ES
dc.subject.othercodinges_ES
dc.subject.otherEconomic evaluationes_ES
dc.titleFrom Spreadsheets to Script: Experiences From Converting a Scottish Cardiovascular Disease Policy Model into Res_ES
dc.typejournal articlees_ES
dc.type.hasVersionAMes_ES
dspace.entity.typePublication

Files

Original bundle

Now showing 1 - 2 of 2
Loading...
Thumbnail Image
Name:
AHEHP_2021_UMA.pdf
Size:
649.49 KB
Format:
Adobe Portable Document Format
Description:
Artículo principal
Download

Description: Artículo principal

Loading...
Thumbnail Image
Name:
250794Suppl.pdf
Size:
114.32 KB
Format:
Adobe Portable Document Format
Description:
Material adicional
Download

Description: Material adicional

Collections