Tutorials › Competing Risks and Multi-State Models › Covariate Effects in Panel-Observed Transition Models

Interval Censoring and Panel Data · Tutorial 522 of 699

Covariate Effects in Panel-Observed Transition Models

Build transition-specific covariate models for panel-observed states and interpret their effects on endpoint probabilities over a fixed interval.

Advanced 12 min read

What You'll Learn

  • Define endpoint transition probabilities conditional on the starting state, covariates, and fixed interval.
  • Formulate baseline-category logit models with a separate covariate effect for each destination.
  • Interpret transition-specific odds ratios without mistaking them for probability ratios or causal effects.
  • Calculate full probability rows and see how competing destinations affect probability changes.
  • Recognize modeling assumptions, sparse-data warnings, and limits of panel-observed endpoints.

Why Covariates Need Transition-Specific Models

In panel-observed multi-state data, a subject’s state is recorded at visits, while changes between visits may be unobserved. A covariate model must therefore describe the probability of the state at the next visit conditional on the state at the current visit. The effect of a covariate can differ according to the starting state and the destination state; a single coefficient for “progression” may conceal these differences.

This tutorial formulates transition-specific models for a fixed observation interval. The modeled quantities are endpoint transition probabilities: probabilities of being in each possible state at the end of the interval, given the state at its start and covariates. They need not equal probabilities of making exactly one transition, because an unobserved path may include several changes before the next visit.

Definition: Let \(S\) be a finite set of states and let \(Y_m\) denote the state observed at visit \(m\). For a fixed interval of length \(\Delta\), define \(P_{ij}(\Delta\mid x)=P(Y_{m+1}=j\mid Y_m=i,x)\). A transition-specific covariate model specifies how these probabilities vary with covariates \(x\), separately for each starting state \(i\) and destination state \(j\).

The formulation below treats \(x\) as a covariate measured at the start of the interval and holds the interval length \(\Delta\) fixed. Its coefficients therefore describe differences in endpoint probabilities over that particular interval, not effects per unit of elapsed time.

Baseline-Category Logit Model for a Transition Row

For each starting state \(i\), select one possible destination \(r_i\) as a reference category. For every other allowed destination \(j\), model the log odds of ending in \(j\) rather than \(r_i\) as a linear function of covariates:

$$ \log\left\{\frac{P_{ij}(\Delta\mid x)}{P_{i r_i}(\Delta\mid x)}\right\} =\alpha_{ij}+\beta_{ij}^{\mathsf T}x,\qquad j\ne r_i. $$

Writing \(\eta_{ij}(x)=\alpha_{ij}+\beta_{ij}^{\mathsf T}x\), and setting \(\eta_{i r_i}(x)=0\), gives the complete row of probabilities:

$$ P_{ij}(\Delta\mid x)= \frac{\exp\{\eta_{ij}(x)\}} {\sum_{k\in A_i}\exp\{\eta_{ik}(x)\}}, \qquad j\in A_i, $$

where \(A_i\) is the set of destinations allowed from state \(i\), including the reference destination. The probabilities in each row are nonnegative and sum to one. If a destination is structurally impossible from \(i\), it should be excluded from \(A_i\), rather than assigned an ordinary finite logit coefficient.

The coefficient \(\beta_{ij,q}\) for covariate \(x_q\) is a change in the log odds of destination \(j\) versus the reference destination, per one-unit increase in \(x_q\), holding other modeled covariates fixed. Thus \(\exp(\beta_{ij,q})\) is the corresponding odds ratio. It is not, in general, a ratio of probabilities, and it is not automatically a causal effect.

Assumptions and Interpretation

The regression equation is meaningful only alongside a clear data and sampling model. The following assumptions define one common setting:

  • Well-defined states and visits. State categories are mutually exclusive and collectively exhaustive at each scheduled visit. The interval being modeled is fixed at \(\Delta\), or the analysis is restricted to intervals of that length.
  • Conditional transition description. Given the state at the start of the interval and the included covariates, the modeled next-visit probabilities do not depend on earlier observed history. This is a first-order Markov assumption at the visit times. If history has additional predictive value, it must be represented by covariates or the assumption is inadequate.
  • Correct covariate specification. The chosen linear predictors, reference categories, interactions, and functional forms adequately describe the log odds. Effects may vary by starting state; imposing the same coefficient across rows is an additional restriction, not a default fact.
  • Observed endpoint and appropriate missingness handling. The endpoint state and relevant covariates are observed, or missingness is handled under a stated model. Unobserved transitions between visits are allowed; the endpoint model does not require their path to be observed.
  • Independent subjects for the usual likelihood analysis. Subjects contribute independent histories, unless clustering or other dependence is explicitly modeled. Repeated intervals from one subject are not independent merely because they are separate rows.

The model does not identify the timing or order of unobserved changes within the interval. For example, observing state 0 at one visit and state 2 at the next establishes an endpoint transition probability from 0 to 2, but alone does not show whether state 1 was visited in between. This distinction is central when interpreting covariates.

A Short Derivation: Why One Odds Ratio Does Not Determine One Probability Effect

Consider a starting-state row with destinations \(j\), \(k\), and reference \(r_i\). Let a scalar covariate be \(x\), and write the slope for destination \(k\) as \(\beta_{ik}\), with reference slope zero. Differentiating the softmax probability gives:

$$ \frac{\partial P_{ij}}{\partial x} =P_{ij}\left(\beta_{ij}-\sum_{k\in A_i}P_{ik}\beta_{ik}\right). $$

To see this, write \(P_{ij}=\exp(\eta_{ij})/D\), where \(D=\sum_k\exp(\eta_{ik})\). Then \(\partial\exp(\eta_{ij})/\partial x=\beta_{ij}\exp(\eta_{ij})\), and \(\partial D/\partial x=\sum_k\beta_{ik}\exp(\eta_{ik})\). The quotient rule yields \(\partial P_{ij}/\partial x=P_{ij}\{\beta_{ij}-\sum_kP_{ik}\beta_{ik}\}\).

Consequently, a positive slope for destination \(j\) versus the reference does not guarantee that \(P_{ij}\) rises: competing destinations’ probabilities and slopes also matter. Probabilities should be computed from the full row before making statements about absolute probability changes.

Worked Example: Age and Three Possible Endpoints

Suppose a hypothetical panel study records subjects in state 0 (well), state 1 (ill), or state 2 (dead) at visits separated by one year. For subjects starting in state 0, use state 0 as the reference destination. Let \(x\) be age in decades above 50, and suppose the fitted model is \(\log(P_{01}/P_{00})=\log(0.30)\) and \(\log(P_{02}/P_{00})=\log(0.10)+0.40x\). The illness-versus-well log odds have no age slope in this illustration.

At \(x=0\), the relative odds for destinations 0, 1, and 2 are \(1\), \(0.30\), and \(0.10\). The denominator is \(1+0.30+0.10=1.40\), so the one-year endpoint probabilities are \(P_{00}=1/1.40=0.7143\), \(P_{01}=0.30/1.40=0.2143\), and \(P_{02}=0.10/1.40=0.07143\).

At age 60, \(x=1\). The death-versus-well odds are \(0.10\exp(0.40)=0.1491825\), while the illness-versus-well odds remain \(0.30\). Thus the denominator is \(1+0.30+0.1491825=1.4491825\). Dividing each relative weight by this denominator gives \(P_{00}=0.6900\), \(P_{01}=0.2070\), and \(P_{02}=0.1029\), to four decimal places.

The age coefficient means the death-versus-well endpoint odds are multiplied by \(\exp(0.40)=1.492\) per additional decade of age, holding the model’s other covariates fixed. Although illness-versus-well odds stay at 0.30, the illness probability falls from 0.2143 to 0.2070 because the death probability increases. These are one-year endpoint associations, not claims about the unobserved path or a causal effect of age.

Estimation and a Binary Transition Row

With one observed interval per independent subject and fully observed endpoints, the contribution to the likelihood for a subject starting in \(i\) and ending in \(j\) is \(P_{ij}(\Delta\mid x)\). Multiplying these contributions over subjects gives the likelihood. With repeated visits, a subject’s likelihood contribution is the product of the relevant conditional row probabilities only under the stated conditional transition structure; uncertainty calculations must still account for the subject as the sampling unit. Estimates are commonly obtained by maximum likelihood, and standard errors describe sampling uncertainty under the model.

When a starting-state row has only two possible destinations, the baseline-category model reduces to ordinary logistic regression for the probability of one destination. The coefficient then gives a covariate effect on the odds of that endpoint versus the other endpoint. This is often easier to interpret, but it remains specific to the chosen starting state and interval length.

Worked Example: Estimating a Binary Transition Effect From Counts

In a hypothetical sample, 100 subjects begin in state 0 and are observed again after one fixed interval. A binary covariate \(x\) indicates exposure status. Among the 100 with \(x=0\), 20 end in state 1 and 80 remain in state 0. Among the 100 with \(x=1\), 35 end in state 1 and 65 remain in state 0. Fit the logistic model \(\log\{P_{01}/P_{00}\}=\alpha+\beta x\).

The estimated endpoint odds for \(x=0\) are \(20/80=0.25\). Hence \(\hat{\alpha}=\log(0.25)=-1.3863\), and the estimated probability is \(20/(20+80)=0.20\).

For \(x=1\), the endpoint odds are \(35/65=0.53846\). The odds ratio comparing \(x=1\) with \(x=0\) is \((35/65)/(20/80)=2.1538\). Therefore \(\hat{\beta}=\log(2.1538)=0.7673\). The fitted probability for \(x=1\) is \(\exp(-1.3863+0.7673)/\{1+\exp(-1.3863+0.7673)\}=0.3500\), matching the observed proportion.

This two-group fit is saturated: it reproduces the two group proportions. Its odds ratio describes the one-interval endpoint odds in this hypothetical sample; it does not establish that exposure caused the difference. In a larger analysis, confidence intervals and tests would also be needed to quantify estimation uncertainty.

State-Specific Effects and Probability Contrasts

A model can use different coefficients in each starting-state row. This is often scientifically important: a covariate could be associated with recovery among ill subjects but have a different association with illness onset among well subjects. A shared coefficient across rows should be imposed only when it is a defensible restriction. Likewise, destination-specific coefficients allow a covariate to shift the balance among competing endpoints in different directions.

A useful reporting sequence is to state the modeled interval and starting state, identify the reference destination, report the log-odds coefficient or odds ratio with its units, and then show predicted probabilities for meaningful covariate values. Predicted probabilities make the competing destinations visible. If uncertainty is reported, intervals for probabilities should reflect the joint uncertainty in the row’s estimated coefficients, rather than treating each destination probability as an unrelated estimate.

Worked Example: A Covariate Can Shift Two Destinations Differently

For a hypothetical one-month interval among subjects starting ill, suppose the destinations are remaining ill, recovery, and death. Take remaining ill as the reference. Let \(x\) be a binary treatment indicator, and suppose \(\log(P_{\mathrm{rec}}/P_{\mathrm{ill}})=\log(0.50)-0.60x\) and \(\log(P_{\mathrm{death}}/P_{\mathrm{ill}})=\log(0.20)+0.30x\).

For \(x=0\), the weights for remaining ill, recovery, and death are \(1\), \(0.50\), and \(0.20\); the denominator is \(1.70\). The probabilities are therefore \(0.5882\), \(0.2941\), and \(0.1176\).

For \(x=1\), the corresponding weights are \(1\), \(0.50\exp(-0.60)=0.2744\), and \(0.20\exp(0.30)=0.2700\). Their sum is \(1.5444\). The probabilities are \(1/1.5444=0.6475\), \(0.2744/1.5444=0.1777\), and \(0.2700/1.5444=0.1748\).

The fitted recovery-versus-remaining-ill odds ratio is \(\exp(-0.60)=0.5488\), while the death-versus-remaining-ill odds ratio is \(\exp(0.30)=1.350\). In this parameterization treatment is associated with lower recovery probability and higher death probability over the month; the remaining-ill probability also rises because the recovery weight falls relative to its reference. The calculation illustrates why coefficients and probabilities answer related but distinct questions.

Diagnostics, Alternatives, and Limits

Warnings that the model may be failing include fitted probabilities near zero or one with very large coefficient estimates, sparse starting-state/destination combinations, and poor agreement between observed and predicted endpoint proportions across covariate groups. Complete or quasi-complete separation can make maximum-likelihood estimates unstable or effectively unbounded. A nearly empty destination category may require combining categories only if scientifically justified, simplifying the predictor structure, or using an appropriate penalized method. It should not be “fixed” by silently treating an allowed destination as impossible.

Check that each predicted row sums to one, that no impossible endpoint has been included, and that covariate effects are not being interpreted outside their observed range. Compare predicted and observed frequencies by starting state and relevant covariate strata, and examine whether earlier history still predicts the next observed state after conditioning on the model variables. Such checks can reveal inadequate functional forms or a failure of the visit-time Markov assumption. Repeated observations also require appropriate subject-level uncertainty calculations.

A multinomial row model respects the requirement that destination probabilities sum to one. Fitting separate binary regressions for every destination can yield probabilities that do not sum to one and can produce mutually incompatible predictions; it is appropriate only when those separate outcomes are explicitly part of a different model. A proportional hazards regression for interval-censored times instead models event-time hazard structure and is not interchangeable with a regression for a multi-state endpoint row. A marginal model for whether a subject is in a particular state, without conditioning on the starting state, also answers a different question.

Finally, fixed-interval transition probabilities should not be compared as though they were rates per unit time when interval lengths differ. The model does not recover transition timing, distinguish alternative paths with the same observed endpoints, or guarantee good predictions beyond the covariate range used to fit it. The introductory material on panel-observed transition likelihoods establishes how endpoint transitions contribute to likelihoods; here the additional task is to model how covariates alter those endpoint probabilities.

Key takeaway: In a panel-observed transition model, specify a probability row for each starting state, use destination-specific covariate effects relative to a stated reference, and calculate the full row before interpreting changes in endpoint probabilities.

Check Your Understanding

Answer each question, then compare with the brief solutions below.

  1. In a three-destination row, what does \(\exp(\beta_{ij})\) mean when destination \(r_i\) is the reference?
  2. Why can the probability of destination \(j\) fall even when its odds versus the reference destination do not change with a covariate?
  3. For a binary row, suppose the endpoint probability is 0.25 at \(x=0\), and the fitted odds ratio for \(x=1\) versus \(x=0\) is 2. What is the fitted probability at \(x=1\)?
  4. State one reason that an observed endpoint transition from state 0 to state 2 does not necessarily establish a direct, single transition from 0 to 2.

Solutions. (1) It is the multiplicative change in the conditional endpoint odds of \(j\) versus \(r_i\) for a one-unit increase in the covariate, holding other modeled variables fixed. (2) Other destinations may gain probability, changing the common denominator; the full probability depends on all destination weights. (3) At \(x=0\), the odds are \(0.25/0.75=1/3\). Multiplying by 2 gives odds \(2/3\), hence probability \((2/3)/(1+2/3)=0.40\). (4) A subject may have entered an unobserved intermediate state and then moved to state 2 before the next visit, so panel endpoints alone do not reveal the path.

Clinical Biostats