Author-reviewedEvidence: highv1.0.1

Trace Validation

Trace validation follows patients or a cohort through a health economic model over time, listing state counts, to check that the model logic is correct.

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

Trace Validation of Health Economic Models

Trace validation reads the record a decision model keeps of where its patients are at each point in time and checks that record against logic and against what is known about the disease. In a Markov cohort model the record is the cohort trace, the count of the cohort in each health state cycle by cycle, while in an individual patient simulation it is the event history of single simulated patients. A model can give believable costs and QALYs while people vanish from its states or meet events in an impossible order, and the trace is where such faults show. Validation tools and guidance for health technology assessment ask for the technique by name, as item C3 of AdViSHE and in section 3A.7.1 of the Australian PBAC guidelines.

One technique on both sides of verification and validation

Sargent, writing on simulation, defines traces as following the behaviour of specific entities through the model to determine whether its logic is correct and whether the necessary accuracy is obtained. He names face validation and traces as the primary techniques for validating the conceptual model, and structured walkthroughs and traces as the primary techniques for checking that the model has been programmed correctly. Eddy and colleagues, in the ISPOR-SMDM Task Force-7 report, list trace analysis, in which individual events and their timing are tracked, among the techniques of verification.

The same trace therefore answers two questions. As technical verification it asks whether the model was built right, for example whether every patient is accounted for in every cycle. As model validation it asks whether this is the right model, for example whether the share alive after five years is clinically plausible. AdViSHE, the tool by Vemer and colleagues, files testing of traces under validation of the computerised model, its name for what Sargent calls computerised model verification, while the PBAC guidelines place traces under operational validation and say they can inform the face validity of the model logic, computerisation and external validity.

The word is also used in three other senses. In simulation science Balci calls a model driven by data recorded from the real system trace-driven, and names the nearest checking technique execution tracing, in which the running model is instrumented to record its behaviour line by line. The CDA-AMC Model Validation Tool, published under the CADTH name by Coyle and colleagues, uses a clear trace to mean that every input can be followed to the final output, a model transparency item (item 27) that makes the input-to-output tracing of White-Box Testing possible. A trace plot in Bayesian statistics shows the values a Markov chain Monte Carlo sampler draws at each iteration to judge convergence, which is unrelated to tracing patients.

What is traced in cohort and individual-level models

What is followed depends on the model type. AdViSHE also asks developers to say where the tests and their outcomes are reported, or why none were done.

Model typeWhat is tracedSource
Cohort state-transition modelNumber of patients in each disease stage at one, several or all time pointsAdViSHE item C3
Individual patient simulationSeveral patients followed through their natural disease progressionAdViSHE item C3
Any model submitted to PBACProportions in each health state over time and cumulative undiscounted costs and outcomes, for the medicine and its comparatorPBAC 3A.7.1
Models with events inside a stateNumber of patient-relevant events over timePBAC 3A.7.1

In a discrete event simulation or a microsimulation, a trace is an event log for a few simulated patients. Balci warns that tracing may produce a volume of data too complex to analyse and suggests storing it in a database for querying.

Verification checks that find leaks and impossible paths

Ghabri and colleagues list among verification practices careful checking for bugs such as Markov leaks, where people disappear or reappear illogically, and event sequences in an impossible order. In a cohort model the leak test is a conservation rule.

∑j=1Knj,t=Nfor every cycle t\sum_{j=1}^{K} n_{j,t} = N \quad \text{for every cycle } t

where nj,tn_{j,t} is the number of the cohort in health state jj at the end of cycle tt, KK is the number of states including death and NN is the starting cohort size. A row that falls short of NN shows a leak, and a row above NN shows people created from nowhere. A flow balance for each state then locates the fault.

ni,t−ni,t−1=∑k≠ink,t−1 pki−ni,t−1∑j≠ipijn_{i,t}-n_{i,t-1} = \sum_{k \neq i} n_{k,t-1}\, p_{ki}-n_{i,t-1} \sum_{j \neq i} p_{ij}

where ni,tn_{i,t} is the number in state ii at the end of cycle tt and pkip_{ki} is the one-cycle probability that a patient in state kk moves to state ii. The TECH-VER checklist by Büyükkaramikli and colleagues lists both checks with further trace tests, such as non-negative counts and a dead state that never shrinks, which the cohort trace page works through.

Validation checks on the shape of a trace

Once the trace is arithmetically sound, its shape is compared with clinical knowledge and data. The PBAC guidelines ask the submission to comment on whether each trace is logical, for example that overall survival converges to zero at or before the time horizon, and to compare traces with empirical data from sources used in the model and sources not used. PBAC calls these dependent and independent validation, and also suggests cross-validation against similar models, the check on the Cross Validity page, which differs from the statistical cross-validation of a fitted model.

NICE PMG36 (2022, updated 2026) asks in section 4.6.18 that models be informed by the natural history of the disease and checked for clinical plausibility. Section 4.6.4 asks for disaggregated results, including for cost-utility analyses mortality rates, at separate time points if appropriate, and the frequency of selected outputs predicted by the model, which are read from the trace.

Who traces the model and what reviewers look for

Developers trace the model while building it and report the tests, and reviewers can repeat them. TECH-VER reports a NICE appraisal of idelalisib for refractory follicular lymphoma in which the evidence review group found an error in the Markov trace that gave negative numbers of transitions between some states at some times.

Reporting of this work is sparse. De Boer and colleagues reviewed 53 seasonal influenza and 41 early breast cancer modelling studies published between 2008 and 2014 and found no reported validation of the computerised model, the AdViSHE category that holds testing of traces. Abraham and colleagues, reviewing 78 early breast cancer studies covering the years 2016 to 2024, found validation of the computerised model reported in fewer than 4% of them.

Worked example of a leaking three-state trace

All numbers are illustrative. A cohort model has Stable, Progressed and Dead states, one-year cycles and 1,000 patients who start Stable. Each year 80% of Stable patients stay Stable, 15% progress and 5% die, while 70% of Progressed patients stay Progressed and 30% die. In the received model the probability of staying Progressed was typed as 0.60, so that row of the transition matrix sums to 0.90.

1. Add up the rows. Cycle 1 is the same in both versions, with 800 Stable, 150 Progressed and 50 Dead, a total of 1,000. At cycle 2 the received model gives 640 Stable, 800 × 0.15 + 150 × 0.60 = 210 Progressed and 50 + 800 × 0.05 + 150 × 0.30 = 135 Dead, a total of 985. At cycle 3 it gives 512 Stable, 640 × 0.15 + 210 × 0.60 = 222 Progressed and 135 + 640 × 0.05 + 210 × 0.30 = 230 Dead, a total of 964. The conservation rule fails from cycle 2.

2. Locate the leak. For Progressed in cycle 2, the inflow is 800 × 0.15 = 120 and the outflow to death is 150 × 0.30 = 45, so the count should rise by 75. It rises by 210 − 150 = 60, a gap of 15, which equals 150 × 0.10. The missing 36 patients by cycle 3 are 15 lost in cycle 2 plus 210 × 0.10 = 21 lost in cycle 3.

3. Measure the effect. With 0.70 restored, cycle 2 has 640, 225 and 135 and cycle 3 has 512, 253.5 and 234.5, each summing to 1,000. Counting life-years at the end of each cycle, the corrected model gives 950 + 865 + 765.5 = 2,580.5 over three years and the received model 950 + 850 + 734 = 2,534, a loss of 46.5 life-years per 1,000 patients, about 1.8%.

4. Read survival two ways. In the received model the share alive at cycle 3 is 734 / 1,000 = 0.734 if read from the living states and 1 − 230 / 1,000 = 0.770 if read from the Dead column. The gap of 0.036 is the leak, and a model that reports one figure in a survival table and uses the other for QALYs is internally inconsistent. In the corrected model both readings give 0.7655.

5. Compare with data. Suppose the trial that supplied the probabilities reported three-year survival of 0.77 and a national registry, not used in the model, reported 0.70. The corrected trace sits 0.0045 from the trial, as dependent validation would expect, and 0.0655 above the registry. That second gap may reflect differences between the trial and registry populations or their care, and must be explained or tested in a scenario, since no arithmetic check can settle it.

In an individual-level model the same check reads single histories, and an illustrative patient whose log shows death at 2.1 years and progression at 2.4 years has events in an impossible order.

What a clean trace does and does not show

A trace that sums correctly in every cycle shows only that patients are conserved. The transition probabilities can still be wrong and a smooth survival curve can still be far from what patients experience, so data comparisons and face validity remain separate tasks. A few traced patients exercise only the paths they happen to take, so rare branches can stay untested.

In a partitioned survival model state membership comes from separate survival curves without a transition matrix, so the flow balance does not apply and the non-negativity check does most of the work. A trace can also pass at mean values and fail in some draws of a probabilistic sensitivity analysis, and TECH-VER describes such a case and suggests an automated check for negative numbers in the trace inside the simulation loop.

Sources

  • Abraham K, Corro Ramos I, Braal CL, Feenstra T, Kleijburg A, van Voorn GAK, Uyl-de Groot C. Under-reporting of validation efforts for health economic models persists despite the availability of validation tools: a systematic review. PharmacoEconomics. 2025;43(8):849-858. https://doi.org/10.1007/s40273-025-01491-2
  • Balci O. Verification, validation, and testing. In: Banks J, ed. Handbook of Simulation: Principles, Methodology, Advances, Applications, and Practice. New York: John Wiley & Sons; 1998:335-393. https://doi.org/10.1002/9780470172445.ch10
  • Büyükkaramikli NC, Rutten-van Mölken MPMH, Severens JL, Al M. TECH-VER: a verification checklist to reduce errors in models and improve their credibility. PharmacoEconomics. 2019;37(11):1391-1408. https://doi.org/10.1007/s40273-019-00844-y
  • Coyle D, Haines A, Lee K. The development of a model validation tool to assist in the conduct of economic evaluations. Canadian Journal of Health Technologies. 2024;4(3). https://doi.org/10.51731/cjht.2024.862
  • de Boer PT, Frederix GWJ, Feenstra TL, Vemer P. Unremarked or unperformed? Systematic review on reporting of validation efforts of health economic decision models in seasonal influenza and early breast cancer. PharmacoEconomics. 2016;34(9):833-845. https://doi.org/10.1007/s40273-016-0410-3
  • 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
  • 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
  • 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 4.6.4 and 4.6.18. https://www.nice.org.uk/process/pmg36
  • Pharmaceutical Benefits Advisory Committee. Guidelines for preparing a submission to the Pharmaceutical Benefits Advisory Committee, version 5.0. September 2016. Section 3A.7. https://pbac.pbs.gov.au/section-3a/3a-7-model-validation.html
  • Sargent RG. Verification and validation of simulation models. In: Proceedings of the 2011 Winter Simulation Conference. 2011:183-198. https://www.informs-sim.org/wsc11papers/016.pdf
  • Vemer P, Corro Ramos I, van Voorn GAK, Al MJ, Feenstra TL. AdViSHE: a validation-assessment tool of health-economic models for decision makers and model users. PharmacoEconomics. 2016;34(4):349-361. https://doi.org/10.1007/s40273-015-0327-2

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 (6)

  • What is trace validation?

    Trace validation follows patients or a cohort through a health economic model over time, listing state counts, to check that the model logic is correct.

    Source: Vemer et al. 2016

  • What can inspecting a cohort trace uncover?

    Inspecting a cohort trace during trace validation can uncover faults in a Markov model that totals of costs and QALYs hide, and the TECH-VER checklist by Büyükkaramikli and colleagues sets checks for them. The dead state should never shrink from one cycle to the next, and with a lifetime horizon every patient should be dead by the end. Over the time horizon, the numbers entering and leaving a tunnel state should be equal, and at any age the share alive should not exceed the general population figure. For each state, the number entering minus the number leaving in a cycle should equal the change in its count, which locates the state and cycle where the flows go wrong.

    Source: Büyükkaramikli et al. 2019

  • How is trace validation carried out?

    What is followed depends on the model type. Item C3 of the AdViSHE tool by Vemer and colleagues asks, for a cohort state-transition model, for the number of patients in each disease stage at one, several or all time points, and for an individual patient simulation, for several patients followed through their natural disease progression. The analyst then checks that the counts add up to the starting cohort in every cycle and compares the shape of the trace with clinical knowledge and data. AdViSHE also asks developers to say where the tests and their outcomes are reported, or why none were done.

    Source: Vemer et al. 2016

  • What does trace validation reveal?

    Trace validation exposes faults that totals such as costs and QALYs can hide. Ghabri and colleagues list among verification practices careful checking for bugs such as Markov leaks, where people disappear or reappear illogically, and event sequences in an impossible order. A row of the trace that sums to less than the starting cohort shows a leak, for example from a row of transition probabilities that sums to less than one, and a row above it shows people created from nowhere. A trace that sums correctly shows only that patients are conserved, so the transition probabilities and the fit to observed data still need separate checks.

    Source: Ghabri et al. 2019

  • Why is trace validation useful for Markov models?

    A Markov cohort model applies its transition probabilities cycle after cycle, so a single mistyped probability can move patients out of the model while costs and QALYs look believable. The cohort trace makes such faults visible, because the counts in all states must add up to the starting cohort in every cycle. The TECH-VER checklist by Büyükkaramikli and colleagues reports a NICE appraisal of idelalisib for refractory follicular lymphoma in which the evidence review group found an error in the Markov trace that gave negative numbers of transitions between some states. TECH-VER also suggests an automated check for negative numbers in the cohort trace inside the probabilistic loop, after a partitioned survival case that failed only in some draws.

    Source: Büyükkaramikli et al. 2019

  • How does trace validation relate to model validation?

    Trace validation sits on both sides of the line between verification and validation. As verification it asks whether the model was built right, for example whether every patient is accounted for in every cycle, and Eddy and colleagues in the ISPOR-SMDM Task Force-7 report list trace analysis among verification techniques. As model validation it asks whether this is the right model, for example whether the share alive after five years is clinically plausible. NICE PMG36 (2022, updated 2026) asks in section 4.6.18 that models be checked for clinical plausibility, and in section 4.6.4 for disaggregated results such as mortality rates at separate time points, which reviewers read from the trace.

    Source: Eddy et al. 2012

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-082

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/trace-validation