Why Check Composition?
A transition matrix describes the probabilities of occupying each destination state at a later time, conditional on the state occupied now. If two intervals are adjacent, the transition over their combined duration can be calculated by considering every possible state at the point where the intervals meet. This relationship is the Chapman–Kolmogorov identity.
For estimated matrices, the identity gives a practical coherence check: multiply the matrix estimated for the first interval by the matrix estimated for the second, then compare the product with the matrix estimated directly over the combined interval. The comparison can reveal incompatible calculations, differing definitions, or ordinary variation between separately obtained estimates. Agreement alone, however, does not establish that the underlying assumptions are correct.
Definition and Conditions
For a Markov process, the state occupied at the intermediate time \(u\) contains the information needed to describe the distribution of the future, conditional on the past. The process may be time-inhomogeneous: its transition probabilities may depend on calendar time, so \(P(s,u)\) and \(P(u,t)\) need not depend only on interval lengths.
Each matrix is stochastic: its entries are nonnegative and each row sums to one. To check estimated matrices, use the same state definitions and ordering, the same time origin, and exactly adjacent intervals: \([s,u]\) followed by \([u,t]\). Estimates should also refer to compatible populations, covariate conditions, and estimation procedures. If these conditions do not align, a discrepancy may reflect a comparison of different quantities rather than a failure of the identity.
Why the Identity Holds
Condition on the state \(k\) occupied at time \(u\). To be in state \(j\) at time \(t\), a process starting in state \(i\) must first be in some intermediate state \(k\) at time \(u\), and then move from \(k\) to \(j\) during the second interval. The mutually exclusive intermediate states partition all possibilities. The law of total probability therefore gives
The Markov property removes the dependence on the earlier state \(X(s)=i\) from the first conditional probability. The two terms then equal \(P_{kj}(u,t)\) and \(P_{ik}(s,u)\), respectively. Thus the sum is \(\sum_k P_{ik}(s,u)P_{kj}(u,t)\), which is precisely the \((i,j)\) entry of the matrix product. This derivation also explains why the multiplication order matters: the first interval's matrix is on the left and the second interval's matrix is on the right under the row-state convention.
Performing an Estimated-Matrix Check
Let \(\hat P(s,u)\), \(\hat P(u,t)\), and \(\hat P(s,t)\) be estimated matrices. Form the composition \(\hat P(s,u)\hat P(u,t)\), then calculate the residual matrix
A zero residual means exact agreement. Otherwise, inspect individual entries, the largest absolute entry, and—if useful—a summary such as the Frobenius norm, the square root of the sum of squared entries. These summaries describe the size of the numerical discrepancy; they are not, by themselves, significance tests. There is no universal cutoff that makes a residual acceptable in every application. Its interpretation depends on rounding, the estimation design, and the precision needed for the intended use.
Verify that rows and columns use the same state order, and confirm the intervals meet at \(u\).
Confirm entries are within the probability range and rows sum to one, allowing for reported rounding.
Calculate \(\hat P(s,u)\hat P(u,t)\), using each row-by-column sum.
Inspect \(R\), report a discrepancy summary if helpful, and investigate substantive or computational explanations.
Worked Example: An Exact Three-State Composition
Suppose, hypothetically, that a three-state process has states 1 and 2 as transient states and state 3 as absorbing. Estimated matrices for the first and second adjacent intervals are
Both matrices have nonnegative entries and rows summing to one. The states have the same ordering, and the intervals meet at time 1. Multiplying in chronological order, the first row of the product is
The second row is \((0.115, 0.540, 0.345)\), and the third row remains \((0,0,1)\). Therefore,
For example, the probability of moving from state 1 at time 0 to absorbing state 3 at time 2 is \(0.175\). It includes the paths through state 1, state 2, and state 3 at time 1: \(0.70(0.05)+0.20(0.20)+0.10(1)=0.175\). If the estimated combined-interval matrix equals this product, the composition check has zero residual.
Worked Example: Quantifying a Discrepancy
Keep the two hypothetical adjacent matrices from the previous example, but suppose a separate calculation reports the combined-interval estimate
This is also a stochastic matrix: its entries are nonnegative and each row sums to one. The product of the adjacent matrices was \(\begin{pmatrix}0.570&0.255&0.175\\0.115&0.540&0.345\\0&0&1\end{pmatrix}\). Subtracting that product from the direct estimate gives
The largest absolute residual is \(0.060\), for the transition from state 2 to state 2. The Frobenius norm is \(\sqrt{0.030^2+(-0.005)^2+(-0.025)^2+(-0.015)^2+0.060^2+(-0.045)^2}=\sqrt{0.0074}=0.0860\). These values describe the discrepancy; they do not establish that it is statistically meaningful or that either estimate is wrong. Because the direct matrix was obtained separately, the estimates may differ due to sampling variation or differences in how they were constructed. The next step is to verify that the intervals, states, and target population truly match.
Worked Example: Checking an Absorbing-State Row
Suppose a hypothetical model has states 1 and 2, with state 2 absorbing. The estimated adjacent matrices are
The product's first row is \((0.80(0.75)+0.20(0),\;0.80(0.25)+0.20(1))=(0.60,0.40)\). Its second row is \((0,1)\), so
The probability of being in absorbing state 2 at time 2, starting in state 1 at time 0, is \(0.40\): \(0.20\) have entered state 2 in the first interval, while \(0.80(0.25)=0.20\) enter during the second. If a reported combined estimate gives \(0.40\) in that entry, it agrees for this transition. A full matrix check still requires comparing every entry, not just the absorbing-state probability.
Interpreting Agreement and Diagnosing Failure
When all three matrices are formed from the same estimated transition system, with the same event-time conventions and a split at \(u\), the product-integral construction has a composition property: splitting the ordered updates into those before and after \(u\) gives the product of the two interval-specific matrices. A discrepancy beyond numerical rounding in this setting points first to a computational or bookkeeping problem. For example, check multiplication order, state ordering, and whether events at \(u\) were assigned consistently.
If the matrices were estimated separately, exact equality is not generally expected. The direct estimate and the product of two interval estimates can vary because they are different functions of the observed data. In that situation, a nonzero residual is a diagnostic to investigate, not proof of a violated Markov assumption. Similarly, matrices can compose perfectly while sharing a flawed state definition or an unsuitable estimation procedure. Composition checks algebraic coherence; they do not verify the full conditions needed for valid estimation or establish that the chosen state representation is adequate.
Useful checks include:
- State labels and dimensions: each row and column must refer to the same state in all matrices.
- Time alignment: \(u\) must be the endpoint of the first interval and the start of the second, with consistent boundary conventions.
- Probability structure: negative entries or row sums far from one indicate a basic construction or reporting problem.
- Residual pattern: residuals should have row sums near zero when both the direct estimate and product are stochastic. Large localized residuals can identify which transitions need investigation.
- Precision: multiply using unrounded values where possible. Rounded entries can create small apparent discrepancies.
The main alternative to comparing a direct combined-interval estimate with the product is to construct the combined matrix directly from the underlying estimated transition updates and compare it with the split-interval product. This is especially informative when the same estimation procedure is intended for all intervals: it isolates computational consistency. A direct-versus-composed comparison is more useful when estimates were produced separately and the goal is to assess how much their results differ. Neither comparison substitutes for assessing the assumptions behind the estimation.
Common Mistake
Check Your Understanding
Answer each question, then compare with the brief solutions below.
- Under the row-state convention, which matrix comes first in the product for intervals \([s,u]\) and \([u,t]\)?
- If a process has three states, how is the \((1,3)\) entry of \(P(s,u)P(u,t)\) calculated?
- A product estimate has a row \((0.2,0.3,0.5)\), while the direct estimate has \((0.2,0.4,0.4)\). What is the residual row, using direct estimate minus product?
- Why does a nonzero residual between separately estimated matrices not by itself demonstrate failure of the Markov property?
Solutions. (1) \(P(s,u)\) comes first: the product is \(P(s,u)P(u,t)\). (2) Sum over the possible intermediate states: \(\sum_{k=1}^{3}P_{1k}(s,u)P_{k3}(u,t)\). (3) The residual row is \((0,0.1,-0.1)\); its entries sum to zero. (4) Separately obtained estimates can differ because of sampling variation or construction differences, so the matrices may not be directly comparable as estimates from one coherent transition system.