← 6. Survival analysis
Multi-State Models
Try this analysis →

Multi-State Models

A method for analyzing how people or units move between several states over time, and how long they stay in each state.

State transitionsTransition hazardState occupation probabilitySojourn time

UnemployedTemporaryPermanentEmploymentTransitionDirect permanent hireJob lossMove to temporary

How long does it take for someone who was unemployed to take a temporary job and then move into a permanent one? How do people who get a permanent job right away differ from those who get there by way of temporary work? Can we also analyze the process of losing a job again after being employed?

The method that analyzes how units move between several states over time and how long it takes to make each transition is the multi-state model. Instead of checking only whether someone got a job once, it handles changes among distinct states such as unemployed, temporary employment and permanent employment.

Standard survival analysis usually focuses on the time until a single event. A multi-state model, by contrast, can analyze each transition separately: from unemployment to temporary work, from temporary to permanent work, and back to unemployment after being employed. This lets you look not only at transition hazards but also at the probability of being in each state at a given time and the sojourn time in each state.

Multi-state models are useful for data in which states change several times, such as employment histories, disease progression in patients, hospital admissions and discharges, and the stages of customers' service use. In this article we use a job-seeker example to look at defining states and transitions, setting up the data, interpreting transition hazards and state occupation probabilities, how the model differs from other survival analyses, and what to watch for when reporting results.

SECTION 1

What is a multi-state model?

It models the process of change among several states rather than a single event.

A multi-state model tracks states that change over time and analyzes from which state to which state, and when, units move. States are defined so that they do not overlap, such as 'unemployed', 'temporary' and 'permanent'. One person may move several times during the study period.

A transition is defined as a combination of a particular starting state and a destination state. For example, unemployed → temporary and temporary → permanent are different transitions, so the effects of explanatory variables can also be estimated separately.

SECTION 2

Why are multi-state models needed?

The time of first employment alone can hardly explain movement after employment or job stability.

Analyzing the time from unemployment to a first job tells you how fast people get hired. But whether that job is temporary or permanent, whether someone moved from a temporary job to a permanent one, or whether they became unemployed again is hard to express with a single event time.

A multi-state model analyzes the speed of each transition and the distribution across states separately. For example, job training experience may be unrelated to first employment yet related to how quickly people move from temporary to permanent jobs.

SECTION 3

How do you define states and transitions?

First create states that fit the research question and decide the possible paths of movement.

A job seeker's employment status doesn't change just onceTracking transitions between states and time spent in each state togetherUnemployedTemporaryPermanentEmploymentTransitionDirect permanent hireJob lossMove to temporaryThe arrows are examples of transitions that may be allowed in the analysis;they do not represent the number of observed transitions.
An example diagram of transitions among unemployment, temporary work and permanent work. It does not show observed counts or estimated results.

This example uses three states: unemployed (U), temporary (T) and permanent (P). Which of U→T, U→P, T→P, T→U, P→T and P→U to allow is decided by how the actual data were observed and the purpose of the study. An arrow being drawn does not necessarily mean every transition can be estimated.

Key point: Employment status must be classified consistently in every survey. If you do not decide up front how to handle part-time work, contract work, self-employment and so on, the same person may be classified differently at different survey times.
SECTION 4

Worked example: changes in job seekers' employment status

We look at different employment paths using hypothetical follow-up data on job seekers.

Suppose 300 job seekers were followed for 24 months and their employment status was checked every month. At the first survey everyone is unemployed, and participation in job training, education, age and so on are also recorded. What follows is a hypothetical example for learning purposes.

Item observedExampleRole in the analysis
Person identifierA001Links repeated observations of the same person
Time of state change3 months, 9 months, 18 monthsDistinguishes time taken to transition
Employment statusUnemployed / temporary / permanentState before and after transition
Explanatory variablesJob training participation, education, ageExplore differences by transition
End of observation24 months or dropoutEnd of follow-up · censoring

For example, suppose A001 took a temporary job at 3 months, moved to a permanent job at 9 months and stayed in permanent work through 24 months. This one person's record contains two transitions, U→T and T→P.

SECTION 5

How are multi-state data set up?

Split each person's time into intervals and record the starting and ending state.

idStart (month)End (month)Start stateEnd stateTransition occurred
A00103UnemployedTemporaryYes
A00139TemporaryPermanentYes
A001924PermanentPermanentNo (censored)
A00207UnemployedPermanentYes
A002724PermanentPermanentNo (censored)

The table above is a simple record format for understanding the concept. When entering data into actual software, you may expand the data to match the risk set for each transition or define a separate transition ID. If you observed only the state at each monthly survey rather than the exact time of transition, you may need an approach that reflects the fact that the transition happened somewhere within the interval.

SECTION 6

What does a transition hazard mean?

It is the risk that someone currently in a particular state moves to another state in the next instant.

A transition hazard is the instantaneous rate of moving to a given destination state among people currently in the starting state. The transition hazards for unemployed → temporary and unemployed → permanent are estimated separately, even though both start from the same unemployed state.

For example, if the U→P transition hazard ratio (HR) for job training participants is 1.40, then under the conditions and assumptions of the model, compared with non-participants in the same unemployed state, their instantaneous hazard of moving to a permanent job is 40% higher. It does not mean the probability of getting hired is exactly 40% higher.

SECTION 7

How do you interpret state occupation probabilities?

They show how likely someone is to be unemployed, in temporary work or in permanent work at a particular time.

Distribution of employment status by follow-up time · hypothetical example0 months6 months12 months24 months100%55%30%15%35%32%33%25%30%45%UnemployedTemporaryPermanent
A mock-up comparing the share in each state. The probabilities at each time sum to 100%, and they are not actual model estimates.

In the example above, the 24-month values are shown as 25% unemployed, 30% temporary and 45% permanent. These are the probabilities of being in each state at that time, which differ from the share of people who were ever in a permanent job during the 24 months. When there are reverse transitions such as losing a job again, the gap between the two can be large.

SECTION 8

How do sojourn time and transition probability differ?

Separate the time spent in a state from the probability of moving to the next state.

Sojourn time is the time from entering a state until leaving it. Even if the sojourn time in unemployment gets shorter, the quality of employment can be judged differently depending on whether the next state is temporary or permanent.

A transition probability is the probability of being in the destination state after a certain amount of time, given the current state. Because a person may have passed through another state and come back in between, do not confuse the transition probability between states over an interval with the number of direct transitions in that interval.

MeasureQuestionExample interpretation
Transition hazardHow fast do people move from unemployment to permanent jobs?Relative size of the instantaneous transition rate
State occupation probabilityWhat is the probability of being in a permanent job at 24 months?Distribution of states at a particular time
Sojourn timeHow long do people stay in temporary work?Time from entering a state to leaving it
Transition probabilityWhat is the probability that someone unemployed now is in a permanent job 6 months later?Probability of moving between states over specified start and end times
SECTION 9

How do you compare the effects of explanatory variables?

You can estimate separately in which transitions the same variable plays a role.

Suppose we estimated the effect of job training in hypothetical transition-specific Cox models. Because the effects on unemployed → permanent and temporary → permanent may differ, summarizing every transition with a single hazard ratio loses information.

TransitionJob training HR95% CIp-value
Unemployed → temporary1.080.83–1.41.570
Unemployed → permanent1.401.10–1.79.006
Temporary → permanent1.651.23–2.21.001
Permanent → unemployed0.820.58–1.16.260

The figures in the table are hypothetical values made up to illustrate how results are reported; they were not computed from the data on 300 people. A transition hazard ratio greater than 1 means the instantaneous risk of that transition is higher, but whether that is a good or bad outcome depends on the direction of the transition.

SECTION 10

Cautions with multi-state models

Check the definition of states, the observation interval, the time scale and the model assumptions together.

Observation interval and exact transition times

With a monthly survey, you may not know the exact date a state changed, or you may miss states that changed several times within a month. Treating such data as if every transition time were observed exactly can introduce bias.

The Markov assumption and sojourn time

A basic Markov model uses a structure in which future transitions are explained by the current state (and the time and covariates in the model) and do not further depend on the earlier path. If the length of time spent unemployed itself affects the chance of getting a job, a semi-Markov approach that reflects sojourn time, among others, may be more suitable.

Risk sets and number of transitions

A given transition is possible only for people in its starting state. If there are too few events for a transition, estimates become unstable, and when the same person makes repeated transitions, you may need to account for within-person correlation.

Censoring and time-varying covariates

Distinguish dropout, end of observation, the start of job training and so on. Treating time-varying information such as job training participation as if people had participated from the start of the study can introduce bias.

Interpretation caution: Observing a relationship between changes in employment status and job training participation does not prove a causal effect of job training. Confounders such as participants' backgrounds and the selection process must be considered separately.
SECTION 11

How does it differ from other analyses?

Distinguish a single event, competing first events and multiple state transitions.

MethodMain question addressedDifference
Kaplan–Meier / CoxHow long until the first job?Usually analyzes time to a particular event
Competing risks analysisIs the first job temporary or permanent?Distinguishes types of first event as competing events
Recurrent events analysisHow many times does job loss recur?Analyzes repeated occurrences of the same type of event
Multi-State ModelsHow do unemployed → temporary → permanent → unemployed follow one another?Analyzes transitions and occupation probabilities among different states

Multi-state models can encompass competing risks analysis, but they are especially useful when re-entry into or return between states matters. Not every problem needs the most complex model; choose the analysis based on the research question.

SECTION 12

How do you report multi-state model results?

Explain the state diagram and transition definitions first, then present the estimates for each transition.

A report should include the people followed and the observation period, the starting state, the possible transitions, the actual transition frequencies, how censoring was handled, the time scale, the model and assumptions used, and hazard ratios with confidence intervals for each transition. If you present state occupation probabilities, state the estimation method and the time points.

Example report sentence

In a hypothetical example following 300 job seekers for 24 months, a multi-state model was built with three states: unemployed, temporary employment and permanent employment. In illustrative results from transition-specific Cox models, job training participation was associated with a higher hazard of transitioning from unemployment to permanent employment (HR = 1.40, 95% CI [1.10, 1.79], p = .006), and showed an association in a similar direction for the transition from temporary to permanent employment (HR = 1.65, 95% CI [1.23, 2.21], p = .001). These figures are hypothetical examples for interpreting the model and do not represent causal effects.

In actual research, do not use this sentence as is; write it to reflect the number of events, estimates, model diagnostics and state occupation probabilities from your own data.

SECTION 13

Where can multi-state models be used?

They are used in fields where the process of changing states over time matters.

FieldExample statesMain research question
Labor marketUnemployed → temporary → permanentEmployment paths and job stability
Medicine & healthHealthy → ill → recovered / deadDisease progression and recovery
Hospital operationsAdmission → ICU → general ward → dischargeBed use paths and length of stay
Customer analyticsTrial → paid → dormant → resubscribedCustomer state transitions and retention
Equipment operationsNormal → abnormal → repair → normalFailure and recovery process and uptime
✓ Wrap-up

A multi-state model analyzes paths of change, not a single outcome.

It looks not only at which state was reached, but also at the process of getting there and the moves that follow.


In the job-seeker example, checking only whether someone got a first job makes it hard to explain the difference between people who moved from unemployment into temporary work and those who went straight into permanent jobs. By distinguishing starting and destination states and looking at the hazard of each transition and the state occupation probabilities at particular times, a multi-state model helps you understand in more detail how employment status changes.

Before starting the analysis, however, you need to define states consistently and specify the possible transitions clearly. Also check whether a long observation interval makes transition times hard to know, whether the same person changes state repeatedly, and whether past paths and sojourn time matter in addition to the current state. Only by considering these conditions can you interpret transition hazards and probabilities in a way that fits the research question.

KEY TAKEAWAY

Multi-state models analyze movement among several states and the time spent in each state. Transition hazard ratios, state occupation probabilities and sojourn times provide different information, so they must not be interpreted as meaning the same thing. Check the definitions of states and transitions, the observation times and the model assumptions first to interpret the results accurately.