Why Separate Destination Effects Matter
A person in one state may leave it through either of two destinations—for example, a disease state may end in recovery or death. A covariate can affect the instantaneous rate of these transitions differently. A regression model that forces the effect to be the same for both destinations may hide that difference; separate models, in turn, need a formal comparison if the question is whether the effects differ.
This tutorial develops that comparison for two transitions from a shared source state. The destinations are absorbing, so a person who reaches either destination no longer contributes time at risk in the source state. The focus is on transition hazards and their regression coefficients, not on predicting destination probabilities.
A Piecewise-Exponential Regression Model
Divide follow-up time into intervals \(I_j\). Within interval \(I_j\), specify a separate baseline intensity for each destination and a possibly different coefficient vector for each transition:
Here \(\lambda_{kj}>0\) is the baseline intensity for destination \(k\) in interval \(j\), \(x\) is the covariate vector, and \(\beta_k\) is the vector of transition-specific coefficients. A one-unit increase in covariate \(x_r\), holding other covariates fixed, multiplies the intensity of transition \(0\to k\) by \(\exp(\beta_{kr})\). This is a hazard ratio for that transition, not a ratio of overall destination probabilities.
The model assumes that each transition intensity is constant within each specified interval, that the chosen covariate effects and their functional forms are correctly specified, and that censoring is independent of the unobserved transition times conditional on the modeled covariates. Covariates must be defined at the appropriate time: a baseline covariate stays fixed, whereas a time-varying covariate must be updated using information available at that time. The two transition intensities jointly determine the rate of leaving state 0; they do not describe two independent opportunities to remain at risk after departure.
Likelihood and the Coefficient-Comparison Question
For a person observed in state 0 until time \(T\), let \(\delta_k=1\) if the observed exit is to destination \(k\), and let both indicators be zero if follow-up is censored without an observed transition. Conditional on the covariates, the likelihood contribution is
The exponential term accounts for remaining in state 0 up to time \(T\), and the event factor identifies which destination occurred. Taking logarithms gives a sum of one term for each transition. In piecewise-exponential data, if \(E_{ikj}\) denotes person \(i\)'s time at risk in interval \(j\) and \(d_{ikj}\) indicates an observed transition to \(k\) there, the contribution has the form
This factorization explains how each destination contributes event and exposure information to its transition-specific regression. It does not mean each person can experience both competing events during the same spell in state 0: after the first transition, that person leaves the risk set. If the scientific question is whether covariate \(x_r\) has the same effect on both intensities, the null hypothesis is \(H_0:\beta_{1r}=\beta_{2r}\). The alternative is that the two coefficients differ.
Worked Example: Estimating Two Effects From Person-Time
Suppose a hypothetical study follows people from state 0 and records two absorbing exits. The covariate \(x\) is a binary exposure, with \(x=0\) unexposed and \(x=1\) exposed. Assume constant transition intensities over follow-up and independent censoring conditional on \(x\). The observed totals are:
| Exposure group | Person-years in state 0 | Transitions to 1 | Transitions to 2 |
|---|---|---|---|
| \(x=0\) | 1,000 | 80 | 40 |
| \(x=1\) | 800 | 48 | 64 |
The model assumption of constant intensities is being made for this calculation; in an actual analysis it should be supported by an appropriate time partition or other diagnostics. For a constant-intensity model, the estimated rate in a group is the event count divided by its person-time.
For destination 1, the estimated rates are \(80/1000=0.0800\) and \(48/800=0.0600\) transitions per person-year. Thus the exposed-to-unexposed intensity ratio is \(0.0600/0.0800=0.750\), and the estimated coefficient is
For destination 2, the rates are \(40/1000=0.0400\) and \(64/800=0.0800\) transitions per person-year. Hence
The estimated difference is \(0.6931-(-0.2877)=0.9808\). Its exponential, \(\exp(0.9808)=2.667\), is the ratio of the two estimated transition-specific intensity ratios. The exposure is associated with a lower intensity of transition \(0\to1\) and a higher intensity of transition \(0\to2\) in these hypothetical data. This does not by itself quantify either destination’s absolute probability.
Testing Whether the Effects Differ
A Wald test uses the estimated contrast and its estimated covariance. In general, for \(D=\hat\beta_{1r}-\hat\beta_{2r}\),
Under \(H_0\) and standard large-sample regularity conditions, \(Z\) is approximately standard normal. The covariance term must be included when available; treating estimates as independent without justification can give the wrong standard error. A confidence interval for the coefficient difference is \(D\pm z_{1-\alpha/2}SE(D)\), where \(z_{1-\alpha/2}\) is the standard normal quantile. Exponentiating its endpoints gives an interval for the ratio of the transition-specific intensity ratios.
Worked Example: Wald Test for a Difference in Effects
Suppose a hypothetical fitted model uses age measured in decades and reports \(\hat\beta_{1}=0.18\), \(\hat\beta_{2}=-0.12\), estimated variances \(0.0064\) and \(0.0100\), and estimated covariance \(0.0020\). Assume the model is adequately specified and the large-sample normal approximation is reasonable. Test \(H_0:\beta_1=\beta_2\) against a two-sided alternative at \(\alpha=0.05\).
The estimated contrast is \(D=0.18-(-0.12)=0.300\). Its standard error is
Therefore \(Z=0.300/0.1114=2.69\), giving a two-sided \(p\)-value of approximately \(0.0071\). Since \(0.0071<0.05\), reject the equality null at the 5% level. A 95% confidence interval for the coefficient difference is
Exponentiating gives \((\exp(0.0816),\exp(0.5184))=(1.085,\ 1.679)\). For each additional decade of age, the estimated transition-specific hazard ratio for destination 1 is about \(\exp(0.18)=1.197\); for destination 2 it is about \(\exp(-0.12)=0.887\). The interval indicates that the ratio of these two hazard ratios is estimated to be between 1.085 and 1.679. It is a confidence interval for a model-based contrast, not a probability statement about the fixed parameter.
Constrained Models and a Likelihood-Ratio Test
An alternative is to fit two nested models with the same data, covariates, time intervals, and baseline-intensity specification. The unrestricted model estimates \(\beta_{1r}\) and \(\beta_{2r}\) separately. The constrained model imposes \(\beta_{1r}=\beta_{2r}\), while retaining destination-specific baseline intensities. The likelihood-ratio statistic is \(2(\ell_{\text{unrestricted}}-\ell_{\text{constrained}})\). Under \(H_0\), regularity conditions, and adequate information, it is approximately chi-squared with one degree of freedom for this single equality constraint.
Worked Example: Likelihood-Ratio Test of Equal Coefficients
For a hypothetical data set, suppose the unrestricted model has log likelihood \(-510.1\), and the model imposing equal destination effects has log likelihood \(-512.4\). Both models use the same transition-specific baseline intensities and all the same nuisance terms; only the coefficient equality constraint differs. This ensures the comparison isolates the effect of that constraint.
The statistic is
Against a chi-squared distribution with \(df=1\), this gives \(p\approx0.032\). At \(\alpha=0.05\), the data provide evidence against equal coefficients, subject to the model assumptions and the likelihood-ratio approximation. This test addresses equality of the specified regression effect; it does not establish that the model’s time structure or covariate form is correct.
Diagnostics, Alternatives, and Limitations
The comparison is only as credible as the two transition models. Examine event counts and person-time separately by destination, covariate pattern, and time interval. Very few events can produce unstable estimates, large standard errors, or near-separation. Check whether the chosen time intervals are adequate: marked variation in estimated rates within an interval can indicate that a piecewise-constant baseline is too coarse. Inspect the covariate specification as well; a linear effect on the log-intensity scale may be inappropriate for a continuous predictor, and an effect may vary over time even when the model assumes a constant coefficient.
A standard alternative is a stacked transition-regression design with a transition indicator and interactions between that indicator and the covariates. The interaction for \(x_r\) represents the difference between its transition-specific coefficients, so testing that interaction is equivalent to testing equality in the separate-coefficient parameterization. Whichever representation is used, retain destination-specific baseline terms unless a shared baseline is scientifically justified. If subjects contribute multiple spells or dependence is otherwise expected, use an appropriate variance estimator, such as a subject-clustered sandwich estimator; account for covariance in the contrast.
A common mistake is to compare the two coefficient estimates by eye, or to conclude that effects differ because one transition’s coefficient is statistically significant and the other’s is not. Those are not tests of \(H_0:\beta_{1r}=\beta_{2r}\). The correct comparison estimates the difference and its uncertainty, or directly compares constrained and unconstrained likelihoods. Another mistake is to describe \(\exp(\beta_{kr})\) as the relative probability of reaching destination \(k\). It is a transition-specific hazard ratio conditional on being in the source state; it is not an overall risk ratio.
Finally, this model does not make competing exits independent in the sense of allowing a person to remain at risk for both after the first exit. It describes the two intensities while the person occupies the source state. The fitted coefficients are conditional, model-based associations; causal interpretation requires additional design and confounding assumptions beyond those stated here.
Check Your Understanding
Answer each question, then compare with the solutions below.
- In a two-destination model, what does \(\exp(\beta_{2r})\) represent for a one-unit increase in covariate \(x_r\)?
- Suppose \(\hat\beta_1=0.20\), \(\hat\beta_2=0.05\), and \(SE(\hat\beta_1-\hat\beta_2)=0.10\). Calculate the Wald statistic and state the approximate two-sided conclusion at the 5% level.
- What is the null hypothesis for a likelihood-ratio test of equal effects, and how many degrees of freedom does it use for one coefficient comparison?
- Why is “significant for destination 1 but not significant for destination 2” not enough to conclude that the coefficients differ?
Solutions. (1) It is the multiplicative change in the transition \(0\to2\) intensity for a one-unit increase in \(x_r\), holding other modeled covariates fixed. (2) The contrast is \(0.20-0.05=0.15\), so \(Z=0.15/0.10=1.50\); the two-sided \(p\)-value is about \(0.134\), so the equality null is not rejected at 5%. (3) The null is \(H_0:\beta_{1r}=\beta_{2r}\), and the test has one degree of freedom because it imposes one independent constraint. (4) The two significance tests assess whether each coefficient separately equals zero, not whether the coefficients equal each other; their difference and its standard error must be tested directly.