Concept Architecture
State Occupancy in Markov and Partitioned Survival Models
State occupancy is the amount of model time a cohort accumulates in each health state, built up cycle by cycle from the share of the cohort found in that state. In a cost-effectiveness model it is the quantity that turns transition probabilities or survival curves into life years, QALYs and costs, because each state's utility and cost are earned per unit of time spent there. Two models with identical transitions can still report different occupancy if they count the cohort at different points in the cycle, so the counting rule has to be reported with the result.
Occupancy at a moment and occupancy over time
Two related quantities share the name, and many errors come from mixing them. The first is the proportion of the cohort in a state at a given time. NICE Decision Support Unit Technical Support Document 19 (TSD 19) calls this state membership, and the multi-state survival literature, including Williams and colleagues, speaks of state occupancy probabilities. The second is the accumulated time in the state over the time horizon, which is what a model finally values.
The accumulated quantity is the sum, or in continuous time the integral, of the proportions over the horizon.
where is the expected occupancy of state , is the cycle length in years, is the number of cycles, is the proportion of the cohort in state at the start of cycle , is the probability of being in state at time , and is the horizon. This discrete form counts each cycle by its starting proportion, one of several conventions. When is taken as the set of all alive states, is the restricted mean survival time up to .
Occupancy is an expectation over the cohort, so 2.5 years in a progressed state is an average over patients who never progress and patients who progress early and live long.
How a cohort model produces occupancy
A Markov cohort model moves the cohort's distribution forward one cycle at a time. The proportions in each state at the next cycle are the current proportions multiplied by the transition matrix, and the cycle-by-cycle record of those proportions is the cohort trace.
where is the row vector of state proportions at the start of cycle and is the transition matrix for that cycle, with rows for the state of origin and columns for the destination, each row summing to one.
Sonnenberg and Beck describe the bookkeeping. Each cycle, the fraction of the cohort in each state is multiplied by that state's incremental utility and summed to give the cycle sum, which is added to a running cumulative utility. Unadjusted life expectancy is the sum of the alive-state columns, counted at the end of each cycle, divided by the cohort size. In their prosthetic heart valve example, cohort members spend on average 1.5 cycles in the WELL state and 1.25 cycles in the DISABLED state, for an unadjusted life expectancy of 2.75 cycles.
Once occupancy is known for every state, totals follow by weighting it with each state reward.
where is expected QALYs per person, is the utility of state for a full year, is expected cost per person, is the annual cost of state , and is occupancy in years. This form holds when utilities and costs are constant within each state. When rewards change with age or time since entry, or when outcomes are discounted, each cycle's proportion is weighted by that cycle's reward and discount factor before summing, and the result is no longer a plain time in state.
Exact occupancy from the fundamental matrix
When transition probabilities are constant, occupancy over an unlimited horizon has a closed form. For absorbing Markov chains, Grinstead and Snell show that inverting the identity minus the submatrix of transitions among transient (alive) states gives the expected number of times the chain is in each transient state.
where is the matrix of one-cycle transition probabilities among the transient states, is the identity matrix of the same size, and entry of is the expected number of cycles spent in transient state by a person starting in transient state . The initial state is counted when equals . Summing a row of gives the expected number of cycles before absorption, which in a model whose only absorbing state is death is life expectancy in cycles.
Sonnenberg and Beck note that this fundamental matrix shows, for each starting state, the expected length of time spent in each state, and that it is equivalent to counting state membership at the beginning of each cycle. The correction they give for a matrix result is to subtract half a cycle from the membership of each starting state. Because the method is restricted to constant transition probabilities, which rules out age-specific mortality, and has other practical drawbacks, Sonnenberg and Beck judged it largely superseded for medical applications. A modeller can still use it to check a simulated trace with the probabilities held constant.
Counting rules and the half-cycle correction
A cohort trace records proportions at cycle boundaries, while people in reality leave states continuously. Sonnenberg and Beck compare a Markov simulation with estimating the area under a survival curve by rectangles. Counting membership at the end of each cycle consistently underestimates that area and counting at the start consistently overestimates it.
The half-cycle correction assumes transitions occur on average halfway through each cycle. In the cohort trace this amounts to giving the first and last recorded rows half weight, which is the trapezoidal rule and equals the average of the start-of-cycle and end-of-cycle totals. The ISPOR-SMDM task force report on state-transition models by Siebert and colleagues recommends a half-cycle correction for costs and effectiveness in the first cycle, and in the final cycle when the horizon is not lifetime. Sonnenberg and Beck add that the size of the error depends on cycle length relative to average survival, so short cycles make the counting rule matter less.
Worked example with a three-state progression model
All numbers in this example are illustrative. A cohort starts progression free (PF) in a model with a progressed state (PD) and death, annual cycles and a five-year horizon. Each year, 70% of PF patients stay PF, 20% progress and 10% die, while 75% of PD patients stay PD and 25% die. Patients in PD cannot return to PF.
1. Build the trace. Starting from , each row is the previous row multiplied by the transition matrix. For cycle 2, PF is 0.70 × 0.70 = 0.49 and PD is 0.70 × 0.20 + 0.20 × 0.75 = 0.29, leaving 0.22 dead.
| Cycle boundary | PF | PD | Dead |
|---|---|---|---|
| 0 | 1.000 | 0.000 | 0.000 |
| 1 | 0.700 | 0.200 | 0.100 |
| 2 | 0.490 | 0.290 | 0.220 |
| 3 | 0.343 | 0.316 | 0.342 |
| 4 | 0.240 | 0.305 | 0.455 |
| 5 | 0.168 | 0.277 | 0.555 |
The unrounded PD values are 0.3155 at cycle 3, 0.305225 at cycle 4 and 0.27693875 at cycle 5, and every unrounded row sums to one.
2. Count at the start of each cycle. Summing rows 0 to 4 gives PF occupancy of 1 + 0.7 + 0.49 + 0.343 + 0.2401 = 2.7731 years and PD occupancy of 0.2 + 0.29 + 0.3155 + 0.305225 = 1.110725 years.
3. Count at the end of each cycle. Summing rows 1 to 5 gives PF occupancy of 0.7 + 0.49 + 0.343 + 0.2401 + 0.16807 = 1.94117 years and PD occupancy of 1.110725 + 0.27693875 = 1.38766375 years.
4. Apply the half-cycle correction. Averaging the two counts gives PF occupancy of (2.7731 + 1.94117) / 2 = 2.357135 years and PD occupancy of (1.110725 + 1.38766375) / 2 = 1.249194 years. Total time alive within five years is 3.606 years. The two uncorrected PF counts sit 0.416 years either side of this value.
5. Value the occupancy. With illustrative utilities of 0.80 for PF and 0.50 for PD, PF contributes 0.80 × 2.357135 = 1.885708 QALYs and PD contributes 0.50 × 1.249194 = 0.624597 QALYs, so undiscounted QALYs total 1.885708 + 0.624597 = 2.510305. With illustrative annual costs of GBP 12,000 in PF and GBP 5,000 in PD, PF accounts for 12,000 × 2.357135 = GBP 28,286 and PD for 5,000 × 1.249194 = GBP 6,246, so undiscounted cost is 28,286 + 6,246 = GBP 34,532 per person.
6. Check the lifetime value with the fundamental matrix. Here has PF to PF of 0.70, PF to PD of 0.20 and PD to PD of 0.75. Its inverse gives, for a person starting in PF, 1 / 0.30 = 3.333 cycles in PF and 0.20 / (0.30 × 0.25) = 2.667 cycles in PD, a life expectancy of 6.0 cycles on the start-of-cycle count. Subtracting half a cycle from the starting state gives 2.833 years in PF and 2.667 years in PD, or 5.5 years alive.
7. Interpretation. The five-year horizon captures 3.606 of the 5.5 expected life years, so a lifetime horizon would add about 1.9 years of occupancy, most of it in PD. Comparing state-by-state occupancy between arms would show whether a treatment's QALY gain comes from longer progression-free time or longer survival after progression.
Occupancy in partitioned survival and multi-state models
A partitioned survival model needs no transition probabilities. TSD 19 explains that the PFS curve gives the proportion progression free over time, the dead state is one minus the OS curve, and the progressed state is the difference between the OS and PFS curves at each time point. The area under the extrapolated OS curve estimates mean life expectancy, so occupancy of the progressed state is the area between the two curves.
TSD 19 notes that each endpoint is modelled independently, so the PFS and OS curves chosen for each arm alone determine progressed-state occupancy, which matters when most of a treatment's gain sits after progression.
Williams and colleagues compared the two approaches with a multi-state survival model in a cost-effectiveness setting. In their partitioned survival analysis, mean time in progression came from the difference in the areas under the PFS and OS curves, calculated by the trapezoidal rule in one-month steps. They note that state occupancy probabilities in a multi-state model combine the hazards for each transition into the state, so comparing the fit of models for single transitions does not assess the occupancy probabilities that are ultimately of interest.
What occupancy can and cannot show in an appraisal
Time spent in each state is a useful intermediate result. The ISPOR-SMDM task force recommends presenting intermediate outcomes that make results understandable, citing the average time spent without a stroke in a model of stroke prevention in atrial fibrillation. Such summaries also support validation against empirical survival curves, and inspection of the trace can expose programming errors.
Occupancy totals from a Markov model evaluated as a cohort are means. The same task force notes that a decision maker may need the distribution of an outcome, for example whether a one-year gain in life expectancy is shared evenly or concentrated in some patients. Distributions come most easily from individual-level simulation such as Markov microsimulation, where occupancy is the average of each simulated person's time in the state.
Occupancy does not count events. A state can hold a large share of the cohort for many cycles while receiving few new entrants, so incidence, event counts and one-off transition costs have to be tracked separately from time in state. Occupancy of a tunnel state is bounded by design, since Sonnenberg and Beck define temporary states as ones a patient can occupy for at most one cycle per visit.
Common errors with state occupancy
Many occupancy errors pass unnoticed because the trace still sums to one in every row. Most of them concern what is summed and how the total is labelled.
- Reporting a proportion as time. A state membership of 0.30 at year five is not 0.30 years of occupancy, which needs the sum or integral over the horizon.
- Summing every row of the trace. A five-cycle trace has six rows, so adding rows 0 to 5 in full counts six cycles of membership for a five-year horizon.
- Using the fundamental matrix when probabilities vary. The matrix result assumes constant transitions and a start-of-cycle count, and needs the half-cycle adjustment to the starting state.
- Calling discounted occupancy life years. Once a discount factor is applied, the total is a valuation input and no longer measures elapsed time.
- Treating occupancy differences as patient-level effects. A difference between arms in mean PD time says nothing about how that time is spread across patients.
Sources
- Grinstead CM, Snell JL. Introduction to Probability. 2nd ed. American Mathematical Society; 2003. Free version by PG Doyle, 2006. Chapter 11, section 11.2 (Absorbing Markov chains), Theorems 11.4 and 11.5. https://math.dartmouth.edu/~prob/prob/prob.pdf
- Siebert U, Alagoz O, Bayoumi AM, Jahn B, Owens DK, Cohen DJ, Kuntz KM. State-transition modeling: a report of the ISPOR-SMDM Modeling Good Research Practices Task Force-3. Value in Health. 2012;15(6):812-820. https://doi.org/10.1016/j.jval.2012.06.014
- Sonnenberg FA, Beck JR. Markov models in medical decision making: a practical guide. Medical Decision Making. 1993;13(4):322-338. https://doi.org/10.1177/0272989X9301300409
- Williams C, Lewsey JD, Mackay DF, Briggs AH. Estimation of survival probabilities for use in cost-effectiveness analyses: a comparison of a multi-state modeling survival analysis approach with partitioned survival and Markov decision-analytic modeling. Medical Decision Making. 2017;37(4):427-439. https://doi.org/10.1177/0272989X16670617
- Woods B, Sideris E, Palmer S, Latimer N, Soares M. NICE DSU Technical Support Document 19: Partitioned survival analysis for decision modelling in health care: a critical review. Decision Support Unit, ScHARR, University of Sheffield; 2 June 2017. https://orda.shef.ac.uk/articles/report/TSD_19_Partitioned_survival_analysis_as_a_decision_modelling_tool/33848653
Related Concepts (3)
Library
Publications
1
An Introduction to Markov Modelling for Economic Evaluation — Briggs & Sculpher, Vol. 13, No. 4 ed., 1998 (PharmacoEconomics)
The foundational tutorial paper introducing Markov (state-transition) models for health economic evaluation, covering health states, cycle length, transition probabilities and the calculation of expected costs and outcomes. Widely cited as the standard entry point to Markov modelling.
Journal ArticleView source →
Frequently Asked Questions (6)
What is state occupancy?
State occupancy is the expected time a modelled cohort spends in a health state, found by adding the share of the cohort in that state across model cycles.
Source: Sonnenberg & Beck 1993
What does state occupancy measure over a model run?
The quantity is the accumulated time, in cycles or years, that a modelled cohort spends in each health state up to the end of the time horizon. It differs from state membership, the share of the cohort in a state at one moment, which is only one input to that total. In the prosthetic heart valve example of Sonnenberg and Beck, cohort members spend on average 1.5 cycles in the WELL state and 1.25 cycles in the DISABLED state, giving an unadjusted life expectancy of 2.75 cycles. Because the figure is an average over the cohort, it can combine patients who never leave a state with patients who leave early.
Source: Sonnenberg & Beck 1993
How is state occupancy calculated?
In a Markov cohort model, the share of the cohort in each state is carried forward one cycle at a time by multiplying the current proportions by the transition matrix, and the cycle-by-cycle record forms the cohort trace. Occupancy of a state is then the sum of its proportions across cycles, multiplied by the cycle length. Sonnenberg and Beck show that counting membership at the end of each cycle underestimates the area under the survival curve, while counting at the start overestimates it. The half-cycle correction, which assumes transitions happen on average halfway through each cycle, balances the two errors.
Source: Sonnenberg & Beck 1993
Why is state occupancy important?
Costs and health outcomes in a state-transition model are earned per unit of time spent in each state, so occupancy is the quantity that turns transition probabilities into life years, QALYs and costs. Two models with identical transitions can report different totals if they count the cohort at different points in the cycle. The ISPOR-SMDM task force report by Siebert and colleagues recommends presenting intermediate outcomes that make results understandable, such as the average time spent without a stroke in a model of stroke prevention in atrial fibrillation. Time in each state can also be compared with survival curves from empirical studies to validate the model.
Source: Siebert et al. 2012
How does state occupancy drive costs and effects?
Each health state carries a utility and a cost per unit of time, so expected QALYs per person are the sum over states of utility multiplied by occupancy, and expected cost is built the same way from annual state costs. Sonnenberg and Beck describe the bookkeeping, in which the fraction of the cohort in each state is multiplied by that state's incremental utility every cycle to give a cycle sum, which is added to a running cumulative utility. When values change with age or are discounted, each cycle's proportion is weighted separately before summing. Occupancy does not count events, so one-off transition costs are tracked apart from time in state.
Source: Sonnenberg & Beck 1993
How does state occupancy relate to the cohort trace?
The cohort trace is the table of proportions in each state at every cycle boundary, and the occupancy of a state comes from adding down that state's column and multiplying by the cycle length. Sonnenberg and Beck find unadjusted life expectancy by summing the columns for the alive states and dividing by the cohort size, leaving out the starting memberships because their bookkeeping is done at the end of each cycle. A five-cycle trace has six rows, so adding every row counts six cycles of membership for a five-year horizon. A trace that sums to one in every row can still give a wrong occupancy total.
Source: Sonnenberg & Beck 1993
Trust Record
Verified by Dr Darrin Baines
British health economist
Professional identity: darrinbaines.org
Verification date: 29 Oct 2026
Content version: 1.0.1
Canonical Identity
- Persistent URI
- https://healtheconomics.wiki/concept/state-occupancy
- Term code
- HE-EM-MM-018
Stable URI · Machine-readable · Resolvable · CC BY 4.0
