Tutorials › Competing Risks and Multi-State Models › Simultaneous Events In Matrix Product Integrals

Transition Intensities and Probabilities · Tutorial 288 of 699

Simultaneous Events In Matrix Product Integrals

You will learn to aggregate tied transition counts by origin and destination, construct the single product-integral factor, and diagnose invalid or misleading tie updates.

Advanced 10 min read

What You'll Learn

  • Define transition counts and risk sets at a shared recorded event time.
  • Construct the off-diagonal and diagonal entries of the tied-time increment matrix.
  • Apply one row-stochastic update factor to an existing transition-probability matrix.
  • Check whether counts and risk sets produce a valid update.
  • Explain why sequentially processing tied transitions can create artificial paths.
  • Recognize the assumptions and limitations of a tied-time product-integral update.

Why a Shared Event Time Needs One Update

In observed multi-state data, distinct transitions can have the same recorded time. Some may be different transition types from the same origin state; others may start from different states. If the time records are tied, the product-integral update treats all transitions at that time as one jump in the estimated cumulative transition-hazard matrix. It does not invent an order among events whose order was not observed.

The key operation is therefore to count transitions by origin and destination using the risk set just before the shared time, assemble one matrix increment, and apply one update factor. This is not merely a convenient calculation. Processing tied transitions one at a time can make the result depend on an arbitrary ordering and can introduce paths that were not observed.

Definition: At event time \(t\), let \(Y_i(t)\) be the number of individuals in state \(i\) and at risk of a transition immediately before \(t\). For \(i\ne j\), let \(dN_{ij}(t)\) be the number of observed transitions from state \(i\) to state \(j\) at \(t\). The tied-time estimated increment has off-diagonal entries \(d\widehat A_{ij}(t)=dN_{ij}(t)/Y_i(t)\), when \(Y_i(t)>0\). Its diagonal entry is \(d\widehat A_{ii}(t)=-\sum_{j\ne i}d\widehat A_{ij}(t)\). The single product-integral update factor is \(I+d\widehat A(t)\).

This convention uses row probabilities: row \(i\) describes probabilities conditional on starting in state \(i\), and a current transition-probability matrix is updated on the right. The diagonal increment makes every row of \(d\widehat A(t)\) sum to zero. Thus the diagonal entry of the update factor is the estimated fraction still in the origin state through that event-time update, while its off-diagonal entries are the estimated fractions transitioning to each destination.

The risk set must be defined consistently as the set at risk immediately before the shared time. In particular, the data protocol must say how an event tied with censoring is handled. A zero risk set cannot support an increment estimate: if \(Y_i(t)=0\), the ratio is undefined, and no transition increment from state \(i\) should be calculated at that time.

Constructing the Tied-Time Factor

Suppose there are several possible destinations from a particular origin state \(i\). First count every observed transition from \(i\) at \(t\), separately for each destination \(j\). Divide each count by the same pre-time risk set \(Y_i(t)\). The denominator is not reduced after each tied event: all those events belong to the same event-time update, not to a sequence of updates.

Counts from different origin states use their own risk sets. This gives the complete matrix increment, including rows for origins with no observed transition at \(t\), whose increments are zero. The update factor \(I+d\widehat A(t)\) is then applied once to the transition-probability matrix accumulated up to just before \(t\).

$$ \widehat P(s,t) = \widehat P(s,t-)\bigl[I+d\widehat A(t)\bigr] $$

This recursion is the relevant product-integral step at a discrete event time. The tied counts determine one matrix factor; they do not supply an ordering for multiplying separate event factors. If there are no events from a state at \(t\), the corresponding row of the factor is the identity row.

Worked Example: Two Tied Competing Transitions From One State

Consider three states, with state 3 absorbing. At one recorded time \(t\), there are \(Y_1(t)=10\) individuals at risk in state 1. Two move from state 1 to state 2, and one moves from state 1 to state 3. No transition from state 2 is recorded at \(t\). Assume each individual can undergo at most one transition at that instant.

The counts are \(dN_{12}(t)=2\) and \(dN_{13}(t)=1\). Using the shared pre-time risk set gives \(d\widehat A_{12}(t)=2/10=0.2\) and \(d\widehat A_{13}(t)=1/10=0.1\). The diagonal increment for state 1 is \(-(0.2+0.1)=-0.3\). All other increments are zero.

$$ d\widehat A(t)= \begin{pmatrix} -0.3 & 0.2 & 0.1\\ 0 & 0 & 0\\ 0 & 0 & 0 \end{pmatrix}, \qquad I+d\widehat A(t)= \begin{pmatrix} 0.7 & 0.2 & 0.1\\ 0 & 1 & 0\\ 0 & 0 & 1 \end{pmatrix}. $$

The first row sums to \(0.7+0.2+0.1=1\). The update therefore assigns probability 0.7 to remaining in state 1 through this step, 0.2 to moving to state 2, and 0.1 to moving to state 3. These are the components of the tied-time update factor, not estimates of the probability that an individual experiences a particular event in some additional time interval.

Why the Matrix Has This Form

The empirical transition fraction for the move from \(i\) to \(j\) at \(t\) is the number of such moves divided by the number exposed to the possibility of leaving state \(i\) just before \(t\). Those fractions fill the off-diagonal entries. Since a subject who does not make one of the counted outgoing transitions remains in the origin state through this update, the remaining fraction is one minus the sum of outgoing fractions.

$$ 1-\sum_{j\ne i}\frac{dN_{ij}(t)}{Y_i(t)} = 1+\left(-\sum_{j\ne i}d\widehat A_{ij}(t)\right) = \bigl[I+d\widehat A(t)\bigr]_{ii}. $$

This calculation explains both the diagonal and why all tied outgoing counts from an origin state enter together. When each individual can have at most one outgoing transition at that instant, the sum of those counts cannot exceed the risk set: \( \sum_{j\ne i}dN_{ij}(t)\le Y_i(t)\). Consequently, the diagonal of the update factor is nonnegative, and each row sums to one. A row with no outgoing events has diagonal one and zeros elsewhere.

The product-integral recursion then carries the previous transition probabilities forward by distributing each row of the current matrix across the single tied-time factor. This is the event-time counterpart of the general recursion for a product integral; the important tie-specific point is that all counts at \(t\) define one increment before multiplication.

Worked Example: Updating an Existing Transition Matrix

Suppose that immediately before \(t\), the transition-probability matrix is \(\widehat P(s,t-)=\begin{pmatrix}0.6&0.3&0.1\\0.2&0.5&0.3\\0&0&1\end{pmatrix}\). At the tied time, \(Y_1(t)=8\), with one transition from state 1 to state 2 and one from state 1 to state 3. Also \(Y_2(t)=5\), with two transitions from state 2 to state 3. State 3 has no outgoing transition.

For state 1, the two outgoing increments are \(1/8=0.125\) each, so its diagonal update entry is \(1-0.125-0.125=0.75\). For state 2, the outgoing increment is \(2/5=0.4\), so its diagonal entry is \(0.6\). Thus

$$ I+d\widehat A(t)= \begin{pmatrix} 0.75&0.125&0.125\\ 0&0.6&0.4\\ 0&0&1 \end{pmatrix}. $$

Apply the one factor on the right. For example, the first entry of the updated first row is \(0.6(0.75)+0.3(0)=0.45\), and its second entry is \(0.6(0.125)+0.3(0.6)=0.255\). Carrying out the other entries gives

$$ \widehat P(s,t)= \begin{pmatrix} 0.45&0.255&0.295\\ 0.15&0.325&0.525\\ 0&0&1 \end{pmatrix}. $$

For example, the updated probability of being in state 3 at \(t\), starting in state 1 at \(s\), is \(0.6(0.125)+0.3(0.4)+0.1(1)=0.295\). Each updated row sums to one: the first sums to \(1.000\), the second to \(1.000\), and the absorbing-state row to \(1.000\). The output is consistent with a valid probability update.

Why Tied Events Must Not Be Serialized

An event-time tie is not evidence that one of the tied transitions happened first. Sequential multiplication treats it as if an order were known. That can create a transition path through two states at one recorded instant and make the result depend on which event was arbitrarily processed first.

Worked Example: An Artificial Path From Sequential Updates

Suppose one individual is recorded moving from state 1 to state 2 at time \(t\), while another is recorded moving from state 2 to state 3 at the same time. Let the relevant risk sets be \(Y_1(t)=5\) and \(Y_2(t)=2\). The aggregated increment gives \(d\widehat A_{12}(t)=1/5=0.2\) and \(d\widehat A_{23}(t)=1/2=0.5\). Its single factor is

$$ I+d\widehat A(t)= \begin{pmatrix} 0.8&0.2&0\\ 0&0.5&0.5\\ 0&0&1 \end{pmatrix}. $$

If instead the state-1-to-state-2 factor is applied first and the state-2-to-state-3 factor second, their product is

$$ \begin{pmatrix} 0.8&0.2&0\\ 0&1&0\\ 0&0&1 \end{pmatrix} \begin{pmatrix} 1&0&0\\ 0&0.5&0.5\\ 0&0&1 \end{pmatrix} = \begin{pmatrix} 0.8&0.1&0.1\\ 0&0.5&0.5\\ 0&0&1 \end{pmatrix}. $$

The sequential calculation assigns 0.1 to a path from state 1 through state 2 to state 3 at the same recorded time. Reversing the order gives the aggregated factor instead: the transition from state 2 to state 3 occurs before the state-1-to-state-2 factor is applied, so that multiplication cannot create the same path. There is no basis in the tied records for preferring either order. The single aggregated update avoids this arbitrary ordering.

Assumptions, Checks, and Limitations

The calculation is well-defined when the state occupied just before each transition time is known, the risk sets and transition counts refer to that same time convention, and the risk set is positive for every origin with an observed outgoing transition. For the empirical fractions to describe the intended transition process, observation and censoring must also support valid risk-set estimation; in particular, censoring should not selectively remove individuals with different transition prospects after conditioning on the information used by the model.

For the update factor to be a probability matrix, each row must have nonnegative entries and sum to one. A useful check is to verify, for every origin \(i\),

$$ 0\le \sum_{j\ne i}\frac{dN_{ij}(t)}{Y_i(t)}\le 1. $$

If the sum exceeds one, do not repair the row by truncating its diagonal. Investigate whether the risk set is incorrect, whether events were double-counted, or whether the data contain multiple transitions by one individual at the same recorded time. The one-jump update assumes a subject cannot make two successive state changes at one instant. If that is not a reasonable representation of the data, the observation process or model needs reconsideration.

Other warning signs include a transition count from an empty risk set, inconsistent event and censoring tie conventions, or an updated matrix with negative entries or rows that fail to sum to one apart from rounding. These checks assess the arithmetic and data structure; they do not establish that censoring assumptions or the transition model are appropriate.

The main alternative—processing individual tied events in sequence—requires information about within-time ordering that the recorded data do not supply. The matrix-exponential approach is a different model-based calculation for continuous, constant intensities over an interval; it is not a substitute for the tied-time empirical update described here. The single-factor method is tied to the recorded event-time increments and cannot recover a true ordering that was lost through time rounding. If times have been coarsened, ties may combine events that occurred at distinct underlying times.

Key takeaway: At a shared recorded time, pool counts by origin-destination pair, calculate each origin row using its pre-time risk set, construct one increment with a zero row sum, and apply exactly one factor \(I+d\widehat A(t)\). Do not infer an order among tied transitions.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions below.

  1. At a tied time, \(Y_1(t)=20\), with three transitions from state 1 to state 2 and one from state 1 to state 3. What are the three entries in row 1 of the update factor?
  2. Why should the denominator for each tied outgoing transition from the same origin be the same pre-time risk set?
  3. If \(Y_2(t)=0\), can an increment from state 2 be calculated by dividing its event count by \(Y_2(t)\)? What should be checked?
  4. What problem can occur if a transition from state 1 to state 2 and a transition from state 2 to state 3 at the same recorded time are processed in sequence?

Solutions. (1) The off-diagonal entries are \(3/20=0.15\) and \(1/20=0.05\); the diagonal is \(1-0.15-0.05=0.80\). The row is \((0.80,0.15,0.05)\), with entries placed in the columns for states 1, 2, and 3. (2) All tied events belong to one update based on who was at risk immediately before that time; reducing the denominator event by event invents an ordering. (3) No. The ratio is undefined; check the risk-set construction, time conventions, and whether the event was assigned to the correct origin state. (4) The ordering may create an artificial path from state 1 through state 2 to state 3 at one instant, and reversing the arbitrary order can change the result.

Clinical Biostats