Author-reviewedEvidence: highv1.0.1

Open-Source Model

An open-source model is a health economic model whose source code and calculations are publicly available, so anyone can run, examine and update it.

Status
Published, version 1.0.1
Last reviewed
12 Nov 2026, by Dr Darrin Baines
Report a problem
Tell us if something is wrong or out of date

Concept Architecture

Open-Source Model in Health Economic Evaluation

In health economics, the term open-source model describes a decision model, such as a Markov model behind a cost-effectiveness analysis, that its developers release in full so that outsiders can open the code, run it and change it. Advocates present it as one answer to rising demands for model transparency, since a reviewer no longer has to rely on a written description of what the model does. Such models remain the exception, and a 2025 review by an ISPOR special interest group found 182 of them. Opening the code lets others check how a model was built, but on its own it says nothing about whether the model suits a particular decision.

What counts as open in a health economic model

Health economists use the term more loosely than software developers do. Jansen and colleagues, describing the Open-Source Value Project of the US Innovation and Value Initiative (IVI), define open-source models as models that are publicly available for use and give access to the underlying source code and calculations, which can be updated. Dunlop and colleagues also count a model available only on request with conditions attached, provided the model, its code and a written report are accessible. Feenstra and colleagues suggest grades of open-source access modelled on open access publishing.

In software the phrase is stricter. The Open Source Definition of the Open Source Initiative states that open source means more than access to the source code, and requires a licence that allows free redistribution and derived works and does not restrict use in any field of endeavour. A model shared only on request, under an agreement forbidding copying or alteration, would not count as open source in that sense.

Form of accessWho can see and run the modelExample in the sources
Public release of code and calculationsAnyoneIVI-RA model on public GitHub repositories
Access on request under an agreementNamed users who accept limits on copying or altering the modelCompromise suggested by Jansen and colleagues for published analyses
Confidential access for a decision makerThe HTA body, its assessment group and stakeholders who sign a confidentiality agreementNICE technology appraisal under PMG36

Writing a model in an open-source language such as R does not make the model open. A model whose code its owner withholds is a proprietary model, and a black box model is one whose workings cannot be inspected at all. The working copy a company gives an HTA body is an Executable Model, which has its own entry and is usually confidential.

Why modellers argue for open models

Cohen, Neumann and Wong argued in 2017 that releasing the human-readable source code is the best way to make a simulation model used for cost-effectiveness analysis reproducible, since others can then test whether conclusions hold under plausible alternative assumptions. They added that new evidence on a therapy's safety, effectiveness or price is far easier to incorporate when the code is available. Ghabri and colleagues argue that many people examining a model over long periods have a much better chance of finding problems than the rushed verification typical of bespoke models.

In a 2022 survey of ISPOR members, Pouwels and colleagues reported that, of 230 respondents, most agreed open-source models would improve transparency (92%), efficiency (76%) and model reuse (86%). Of the 182 open-source models Henderson and colleagues identified in 2025, 74% were hosted on GitHub and 64% were written in R.

What open code lets others check

Technical verification asks whether the model was built right, while model validation asks whether it is the right model for the decision. Open code acts mainly on the first. Feenstra and colleagues, who count computerised model validation, also called code verification, as one category of validation, note that code sharing may increase model validity because it widens the group of potential assessors. An outside analyst with the code can run black-box testing, read the formulas in white-box testing or work through the TECH-VER checklist without waiting for the developer.

Corro Ramos and colleagues observe that open-source modelling software promotes transparency and collaboration and that this does not replace the need for model validation. A public model still needs face validity judgements and external validation against observed data, and Feenstra and colleagues state that reapplying an existing model to a new intervention requires renewed validation.

Open code also differs from a transparent model. Feenstra and colleagues warn that without well-structured documentation many models may still be perceived as black boxes by external users, and Jansen and colleagues note that many end users may not have the expertise or time to review elaborate source code. Model Documentation, which has its own entry, is therefore part of a usable open release.

How an open model is maintained

The rheumatoid arthritis model of the Open-Source Value Project, IVI-RA, was released in November 2017, and the platform combines R and C++ source code, an R package, web applications for expert and general users and technical documentation. The code sits under Git version control in public GitHub repositories, so users can see its whole history. Unit tests check individual functions, the package is retested each time code is pushed, and outside developers propose changes as pull requests merged only after code review. These are verification practices, and Unit Testing and Regression Testing have their own entries. Jansen and colleagues report that this took far more resources than a model for a single published analysis.

What HTA bodies and journals ask for

Health technology assessment at NICE rests on confidential full access, which differs from public release. Under the NICE manual PMG36 (2022, updated 2026), section 5.5.15, a company submitting a fully executable model must give NICE full access to the programming code, and the Executable Model entry covers the software NICE accepts. Under section 5.5.16, NICE offers the model to stakeholders on conditions that include not publishing it, not using it to inform the development of other models and running it only to test its reliability. A NICE External Assessment Group therefore sees the full code whether or not the model is open source, and an open model faces the same checks as any other.

For published studies, item 16 of CHEERS 2022 asks authors to report whether the model is publicly available and where it can be accessed. The ISPOR-SMDM task force report by Eddy and colleagues leaves public release of technical documentation or a working copy to the modellers' discretion, while expecting full technical documentation and access to a working copy to go, under agreements protecting intellectual property, to readers designated by a journal or by an organisation using the model for decision making. It also says that developers who make working copies accessible should be credited for an exceptionally high level of transparency.

Worked example with a black-box test by an outside analyst

All numbers in this example are illustrative. An open-source cohort model compares a new treatment with standard care through a treatment hazard ratio alone, with no other difference between the arms, and its published base case reports an incremental cost of GBP 10,000 and an incremental gain of 0.40 QALYs.

ICER=ΔCΔE\text{ICER} = \frac{\Delta C}{\Delta E}

where the ICER is the incremental cost-effectiveness ratio, ΔC\Delta C is the incremental cost in GBP and ΔE\Delta E is the incremental QALY gain of the new treatment over standard care.

  1. Published result. The ICER is 10,000 / 0.40 = 25,000, or GBP 25,000 per QALY gained.
  2. Black-box test. An analyst in another country downloads the model and sets the treatment hazard ratio to 1, so both arms have the same effectiveness. Incremental QALYs should then be zero, and the model returns 0.05.
  3. Read the code. In the public code, the analyst finds a fixed QALY adjustment left hard coded from an earlier version, which adds 0.05 QALYs to the treatment arm whatever the hazard ratio. The Hard-Coded Value entry covers this kind of error.
  4. Corrected gain. Assuming the same spurious 0.05 QALYs sits in the base case, the corrected gain is 0.40 minus 0.05, or 0.35 QALYs.
  5. Corrected ICER. The ICER becomes 10,000 / 0.35 = 28,571, or GBP 28,571 per QALY gained. The rise of GBP 3,571 is 3,571 / 25,000 = 0.143 of the published figure, or 14.3%.

The fix enters through a pull request that adds an automated test requiring zero incremental QALYs when the hazard ratio is 1, so the test suite will catch the error if it returns. This is a verification finding. Whether the corrected model's survival extrapolation and utility values fit the analyst's own country is a validation question that needs local data.

Barriers and common misreadings

Feenstra and colleagues see unsolved questions of finance, accountability and ownership as reasons why open code is still the exception, noting that commercial ownership of models by consultancy companies and confidential input data reduce the scope for it. In the Pouwels survey, three-quarters of respondents saw legal concerns and the ability to transfer data as important barriers.

Several misreadings follow from treating openness as a quality mark.

  1. Open means validated. Public code lets more people check a model, and a model whose assumptions and outputs nobody has compared with expert judgement or observed data stays unvalidated after release.
  2. Public means free to reuse for any purpose. The terms depend on the licence, and Henderson and colleagues found Creative Commons licensing typical and called for clear licensing.
  3. Closed means poor. Eddy and colleagues state that not making a working copy accessible to readers should not imply any failure by the modeller.

Sources

  • Cohen JT, Neumann PJ, Wong JB. A call for open-source cost-effectiveness analysis. Annals of Internal Medicine. 2017;167(6):432-433. https://doi.org/10.7326/M17-1153
  • Corro Ramos I, Feenstra T, Ghabri S, Al M. Evaluating the validation process: embracing complexity and transparency in health economic modelling. PharmacoEconomics. 2024;42:715-719. https://doi.org/10.1007/s40273-024-01364-0
  • Dunlop WCN, Mason N, Kenworthy J, Akehurst RL. Benefits, challenges and potential strategies of open source health economic models. PharmacoEconomics. 2017;35(1):125-128. https://doi.org/10.1007/s40273-016-0479-8
  • Eddy DM, Hollingworth W, Caro JJ, Tsevat J, McDonald KM, Wong JB. Model transparency and validation: a report of the ISPOR-SMDM Modeling Good Research Practices Task Force-7. Value in Health. 2012;15(6):843-850. https://doi.org/10.1016/j.jval.2012.04.012
  • Feenstra T, Corro-Ramos I, Hamerlijnck D, van Voorn G, Ghabri S. Four aspects affecting health economic decision models and their validation. PharmacoEconomics. 2022;40(3):241-248. https://doi.org/10.1007/s40273-021-01110-w
  • Ghabri S, Stevenson M, Möller J, Caro JJ. Trusting the results of model-based economic analyses: is there a pragmatic validation solution? PharmacoEconomics. 2019;37(1):1-6. https://doi.org/10.1007/s40273-018-0711-9
  • Henderson RH, Sampson C, Pouwels XGLV, et al. Mapping the landscape of open source health economic models: a systematic database review and analysis. An ISPOR Special Interest Group report. Value in Health. 2025;28(6):813-820. https://doi.org/10.1016/j.jval.2025.01.019
  • Husereau D, Drummond M, Augustovski F, et al. Consolidated Health Economic Evaluation Reporting Standards 2022 (CHEERS 2022) statement: updated reporting guidance for health economic evaluations. BMJ. 2022;376:e067975. https://doi.org/10.1136/bmj-2021-067975
  • Jansen JP, Incerti D, Linthicum MT. Developing open-source models for the US health system: practical experiences and challenges to date with the Open-Source Value Project. PharmacoEconomics. 2019;37(11):1313-1320. https://doi.org/10.1007/s40273-019-00827-z
  • National Institute for Health and Care Excellence. NICE technology appraisal and highly specialised technologies guidance: the manual (PMG36). Published 31 January 2022, last updated 13 October 2026. Sections 5.5.15 and 5.5.16. https://www.nice.org.uk/process/pmg36/chapter/developing-the-guidance-2
  • Open Source Initiative. The Open Source Definition. Accessed 11 November 2026. https://opensource.org/osd
  • Pouwels XGLV, Sampson CJ, Arnold RJG, Open Source Models Special Interest Group. Opportunities and barriers to the development and use of open source health economic models: a survey. Value in Health. 2022;25(4):473-479. https://doi.org/10.1016/j.jval.2021.10.001

Library

Publications

1
  • Journal article

    Model Transparency and Validation: A Report of the ISPOR-SMDM Modeling Good Research Practices Task Force-7 — Eddy, Hollingworth, Caro, Tsevat, McDonald & Wong, Task Force Report 7 ed., 2012 (Value in Health / Medical Decision Making)

    Best-practice guidance on model transparency and validation, defining face, internal, external and predictive validation and setting out how models should be documented for scrutiny.

Frequently Asked Questions (7)

  • What is an open source model?

    An open-source model is a health economic model whose source code and calculations are publicly available, so anyone can run, examine and update it.

    Source: Jansen et al. 2019

  • What is an open-source model?

    Jansen and colleagues, writing about the Open-Source Value Project of the US Innovation and Value Initiative, define open-source models as models that are publicly available for use and give access to the underlying source code and calculations, which can be updated. In health economics this usually means a decision model, such as a cohort model behind a cost-effectiveness analysis, released in full so that outsiders can run and change it. The project's rheumatoid arthritis model, IVI-RA, combines R and C++ source code, an R package, web applications and technical documentation. Its code sits in public GitHub repositories, so users can see its whole history.

    Source: Jansen et al. 2019

  • What openly shared model is an open-source model?

    An open-source model is a health economic model shared openly enough that people outside the development team can open its source code and calculations, run it and change it. Sharing comes in degrees, and Feenstra and colleagues suggest distinguishing grades of open-source code access, similar to the grades of open access found in scientific publishing. They note that commercial ownership of models by consultancy companies and confidentiality of part of the input data seem to reduce the possibilities for open-source code. A model written in an open-source language such as R, or described in a report without its code, does not count as an open-source model on that account alone.

    Source: Feenstra et al. 2022

  • What are the benefits of open-source models?

    Many people examining the structure and implementation of an open-source model over long periods have a much better chance of uncovering problems than the rushed verification typical of bespoke models, Ghabri and colleagues argue. They count the move from bespoke models to open-source models built from standard modules, with detailed documentation of the verification and validation steps, among the practical steps towards better model validity. Reuse is a further gain, since a pre-verified component such as a standard module that draws a death time from a distribution need not be rebuilt for each new product. Open code helps outsiders check how a model was built, though it does not show that the model suits a given decision.

    Source: Ghabri et al. 2019

  • How does an open-source model differ from a proprietary model?

    A proprietary model is one whose owner withholds the code, whereas an open-source model releases its code and calculations to anyone. In a NICE technology appraisal the gap is narrower for reviewers. Under section 5.5.15 of the NICE manual PMG36 (2022, updated 2026), a company submitting a fully executable model must give NICE full access to the programming code, so the External Assessment Group sees the code either way. Under section 5.5.16, stakeholders who receive the model agree in writing to conditions of use that include keeping it confidential. Confidential access for the decision maker differs from public release, and an open-source model faces the same checks as any other submitted model.

    Source: NICE PMG36 (2022, updated 2026)

  • What are the challenges of open-source models?

    Building the Open-Source Value Project platforms, with components for both technical and non-technical users, took far more resources than a model-based cost-effectiveness analysis for a single publication, according to Jansen and colleagues. Bug fixes and responses to changes proposed by outside developers continue after release and need further resources. Public code alone may not meet the aims of an open-source model, because many end users may not have the expertise or time to review elaborate source code or spreadsheet calculations. Given how academic research is rewarded, Jansen and colleagues see access on request, under an agreement that prevents others copying or altering the model, as a reasonable compromise.

    Source: Jansen et al. 2019

  • How do open-source models support scrutiny?

    Feenstra and colleagues, who treat code verification as part of validation, note that code sharing may increase model validity because it widens the group of potential assessors. With an open-source model, an outside analyst, such as a modeller in another country, can run black-box tests and trace an error to its cause in the code without waiting for the developer. A NICE External Assessment Group already has that access to any fully executable model submitted to NICE. Such checks concern verification, whether the model was built right, and open code does not replace model validation. Feenstra and colleagues also warn that without well-structured documentation many models might still be perceived as black boxes.

    Source: Feenstra et al. 2022

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 12 Nov 2026

Content version: 1.0.1

Canonical Identity

Term code
HE-EM-MV-058
Wikidata
Q39162

Stable URI · Machine-readable · Resolvable · CC BY 4.0

This article is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).

Author: Dr Darrin Baines · Publisher: Intelligent Parameters Ltd · Identifier: https://healtheconomics.wiki/concept/open-source-model