Cargando…
Making health economic models Shiny: A tutorial
Health economic evaluation models have traditionally been built in Microsoft Excel, but more sophisticated tools are increasingly being used as model complexity and computational requirements increase. Of all the programming languages, R is most popular amongst health economists because it has a ple...
Autores principales: | , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
F1000 Research Limited
2020
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7459889/ https://www.ncbi.nlm.nih.gov/pubmed/32904933 http://dx.doi.org/10.12688/wellcomeopenres.15807.2 |
_version_ | 1783576474646740992 |
---|---|
author | Smith, Robert Schneider, Paul |
author_facet | Smith, Robert Schneider, Paul |
author_sort | Smith, Robert |
collection | PubMed |
description | Health economic evaluation models have traditionally been built in Microsoft Excel, but more sophisticated tools are increasingly being used as model complexity and computational requirements increase. Of all the programming languages, R is most popular amongst health economists because it has a plethora of user created packages and is highly flexible. However, even with an integrated development environment such as R Studio, R lacks a simple point and click user interface and therefore requires some programming ability. This might make the switch from Microsoft Excel to R seem daunting, and it might make it difficult to directly communicate results with decisions makers and other stakeholders. The R package Shiny has the potential to resolve this limitation. It allows programmers to embed health economic models developed in R into interactive web browser based user interfaces. Users can specify their own assumptions about model parameters and run different scenario analyses, which, in the case of regular a Markov model, can be computed within seconds. This paper provides a tutorial on how to wrap a health economic model built in R into a Shiny application. We use a four-state Markov model developed by the Decision Analysis in R for Technologies in Health (DARTH) group as a case-study to demonstrate main principles and basic functionality. A more extensive tutorial, all code, and data are provided in a GitHub repository. |
format | Online Article Text |
id | pubmed-7459889 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2020 |
publisher | F1000 Research Limited |
record_format | MEDLINE/PubMed |
spelling | pubmed-74598892020-09-04 Making health economic models Shiny: A tutorial Smith, Robert Schneider, Paul Wellcome Open Res Method Article Health economic evaluation models have traditionally been built in Microsoft Excel, but more sophisticated tools are increasingly being used as model complexity and computational requirements increase. Of all the programming languages, R is most popular amongst health economists because it has a plethora of user created packages and is highly flexible. However, even with an integrated development environment such as R Studio, R lacks a simple point and click user interface and therefore requires some programming ability. This might make the switch from Microsoft Excel to R seem daunting, and it might make it difficult to directly communicate results with decisions makers and other stakeholders. The R package Shiny has the potential to resolve this limitation. It allows programmers to embed health economic models developed in R into interactive web browser based user interfaces. Users can specify their own assumptions about model parameters and run different scenario analyses, which, in the case of regular a Markov model, can be computed within seconds. This paper provides a tutorial on how to wrap a health economic model built in R into a Shiny application. We use a four-state Markov model developed by the Decision Analysis in R for Technologies in Health (DARTH) group as a case-study to demonstrate main principles and basic functionality. A more extensive tutorial, all code, and data are provided in a GitHub repository. F1000 Research Limited 2020-07-31 /pmc/articles/PMC7459889/ /pubmed/32904933 http://dx.doi.org/10.12688/wellcomeopenres.15807.2 Text en Copyright: © 2020 Smith R and Schneider P http://creativecommons.org/licenses/by/4.0/ This is an open access article distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. |
spellingShingle | Method Article Smith, Robert Schneider, Paul Making health economic models Shiny: A tutorial |
title | Making health economic models Shiny: A tutorial |
title_full | Making health economic models Shiny: A tutorial |
title_fullStr | Making health economic models Shiny: A tutorial |
title_full_unstemmed | Making health economic models Shiny: A tutorial |
title_short | Making health economic models Shiny: A tutorial |
title_sort | making health economic models shiny: a tutorial |
topic | Method Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7459889/ https://www.ncbi.nlm.nih.gov/pubmed/32904933 http://dx.doi.org/10.12688/wellcomeopenres.15807.2 |
work_keys_str_mv | AT smithrobert makinghealtheconomicmodelsshinyatutorial AT schneiderpaul makinghealtheconomicmodelsshinyatutorial |