Why Separate the Starting State?
An event-history likelihood describes how plausible an observed sequence of transitions and periods without transitions is under a model. But a participant’s initial state can itself be random. For example, a cohort may include people who enter follow-up in different disease states, with probabilities governed by a separate model. The probability of entering in a particular state and the likelihood of the subsequent path are distinct contributions.
Separating these contributions clarifies what is being estimated. A likelihood conditional on the observed starting state uses information in the path after entry, but not information in how often each starting state occurred. A joint likelihood uses both. The distinction matters especially when the initial-state distribution and the transition intensities share parameters.
The time origin must be explicit: it might be diagnosis, enrollment, or another defined entry time. The initial state is the state recorded at that origin. A transition that occurred before entry is not part of the observed post-entry path; if the entry state is unknown, it cannot simply be treated as a known starting state.
Conditional Likelihood for a Transition Path
Consider a finite-state process with transition counting process \(N_{ij}(t)\), which counts observed transitions from state \(i\) to state \(j\), for \(i\ne j\). Let \(Y_i(t)=I\{X(t-)=i\}\) indicate that the subject is in state \(i\) just before time \(t\). Suppose the transition intensity is
where \(\mathcal F_{t-}\) is the observed history just before \(t\), and \(\alpha_{ij}(t;\theta)\) is the transition rate when the subject is in state \(i\). It may depend on time and on predictable covariates or history. This intensity specification means that, over a sufficiently short interval of length \(dt\), the conditional probability of an \(i\)-to-\(j\) transition is approximately \(Y_i(t)\alpha_{ij}(t;\theta)dt\).
For the usual single-jump path likelihood, assume the transition process has no simultaneous jumps, the intensities correctly describe the post-entry process given the observed history, and follow-up is observed through a known endpoint \(\tau\). Assume also that censoring or the observation endpoint is noninformative for the event-process likelihood, conditional on the information included in the model. In particular, an observation mechanism that depends on unobserved future transitions cannot be ignored. The path likelihood below is conditional on the initial state and on the observation scheme; it does not model how the subject came to have that initial state.
The product includes only factors at actual jumps: if no \(i\)-to-\(j\) transition occurs at a time, then \(\Delta N_{ij}(t)=0\) and that time contributes no jump factor. The integral accounts for the information in not seeing a transition. While a subject occupies state \(i\), the total outgoing rate is \(\sum_{j\ne i}\alpha_{ij}(t;\theta)\). In an absorbing state, all outgoing rates are zero.
Why the Likelihood Has This Form
The formula follows from the local meaning of an intensity. Over a short interval in which the subject is in state \(i\), the probability of no outgoing transition is approximately \(1-\sum_{j\ne i}\alpha_{ij}(t;\theta)dt\). Multiplying such probabilities across the intervals with no jump gives the exponential survival factor in the likelihood. At an observed transition from \(i\) to \(j\) at time \(t\), the transition-time density contributes \(\alpha_{ij}(t;\theta)\).
A more explicit justification divides follow-up into small intervals. On an interval of width \(dt\) with no jump, the log contribution is approximately \(\log\{1-\sum_{j\ne i}\alpha_{ij}(t;\theta)dt\}\), which is approximately \(-\sum_{j\ne i}\alpha_{ij}(t;\theta)dt\). Summing these terms and taking the limit gives the negative integrated outgoing rate. Each observed jump contributes the logarithm of its transition intensity. Thus the log-likelihood is
This expression is conditional on the specified initial state: the path after time zero is the object being modeled. If simultaneous jumps are possible, the single-jump product above is not automatically the correct contribution for a tied event; the joint jump structure must be specified. Likewise, a state recorded with error requires a model for that measurement process.
Worked Example: A Two-Transition Path Starting in a Known State
Suppose a hypothetical subject starts in state 0 at time zero. The possible transitions from state 0 are \(0\to1\), with constant rate \(\lambda_{01}=0.8\) per year, and \(0\to2\), with constant rate \(\lambda_{02}=0.2\) per year. From state 1, the rate of \(1\to2\) is \(\lambda_{12}=0.5\) per year, and state 2 is absorbing. The observed path is: remain in state 0 for 0.5 years, transition to state 1, remain there for 0.9 years, transition to state 2 at time 1.4 years, and observe through year 2.
The conditional likelihood has one factor for each observed transition and an integrated outgoing rate for each occupied state interval. There is no outgoing-rate contribution after entering absorbing state 2:
Substituting the values gives \(L_{\mathrm{path}}=e^{-0.5}(0.8)e^{-0.45}(0.5)=0.4e^{-0.95}\approx0.1547\). This is a path density, with units of years\(^{-2}\), because two transition times are observed. It is conditional on starting in state 0; it does not include a probability of being in state 0 at time zero. If the initial state were modeled with probability \(\pi_0\), the corresponding joint contribution would be \(\pi_0(0.1547)\).
Factoring the Initial-State Distribution
The separation can be stated directly using the probability chain rule. Let \(Z\) denote covariates observed at entry, and suppose the model gives an initial-state probability \(\pi_{x_0}(\psi\mid Z)=P(X(0)=x_0\mid Z;\psi)\), where \(\psi\) indexes the initial-state model. If \(D\) denotes the observed post-entry path, then the joint likelihood factors as
For independent subjects, the corresponding factors multiply across subjects. If \(\psi\) and \(\theta\) are distinct parameters, the initial-state factor informs \(\psi\), while the conditional path factor informs \(\theta\). If the same parameter appears in both factors, omitting the initial-state term changes the likelihood for that parameter. Conditioning on \(X(0)=x_0\) is a deliberate change in the inferential target, not an algebraic step that is always harmless.
Worked Example: Initial-State Data Can Inform a Parameter
In a hypothetical sample of 10 independent subjects, six start in state A and four in state B. Suppose each subject’s initial state has probability \(q\) of being A, and the post-entry path model has a separate parameter \(\theta\). Write \(L_i(\theta)\) for subject \(i\)’s path likelihood conditional on that subject’s recorded starting state.
The joint likelihood is \(q^6(1-q)^4\prod_{i=1}^{10}L_i(\theta)\). The conditional path likelihood is only \(\prod_{i=1}^{10}L_i(\theta)\), because all ten starting states are treated as given. In the joint likelihood, the part involving \(q\) has log-likelihood \(6\log q+4\log(1-q)\). Its score is
Thus the observed initial states estimate the initial probability as 0.6 under the joint model. The conditional path likelihood contains no information about \(q\); it cannot estimate \(q\). If a parameter were shared between the initial-state distribution and the transition intensities, its joint estimate could differ from the estimate based only on conditional paths.
When the Initial State Is Not Observed
Conditioning on a specified starting state is not appropriate merely because the model includes states. If \(X(0)\) is unobserved, the likelihood for the observed path must account for uncertainty about it. For a discrete initial-state distribution, this means summing the state-specific path likelihoods weighted by their initial probabilities:
This is marginalization, not conditioning. The same principle applies if the initial state is known only imperfectly: a measurement or classification model may also be needed. The following calculation shows why choosing one state-specific likelihood without evidence can give a different answer.
Worked Example: Marginalizing an Unknown Starting State
Suppose a hypothetical subject starts in A with probability 0.7 and in B with probability 0.3. There is one event type, with constant event rate 0.2 per year in A and 1.0 per year in B. The subject’s actual initial state is not observed, and no event is observed during one year. Assume the initial-state probabilities are correctly specified and observation is complete for that year.
Conditional on A, the no-event likelihood is \(e^{-0.2(1)}\approx0.8187\); conditional on B, it is \(e^{-1.0(1)}\approx0.3679\). Since the starting state is unknown, the likelihood is the weighted sum:
The marginal likelihood, 0.6835, differs from either state-specific likelihood. Using \(e^{-0.2}\) alone would amount to conditioning on A, which the observed data do not justify.
Practical Checks and Common Errors
Before interpreting or maximizing a path likelihood, check that the state at time zero is defined and recorded, that the transition intensities apply after that time origin, and that the observed follow-up corresponds to the modeled observation scheme. If the state is uncertain, use a model that incorporates that uncertainty rather than assigning a state without justification. If follow-up begins only after a selection process, conditioning on the recorded state does not automatically account for selection or delayed entry; those mechanisms may require additional likelihood terms.
A frequent mistake is to write the initial-state probability into every likelihood even when the analysis is explicitly conditional on the observed initial states. The correction is to state the target first: the conditional path likelihood omits that factor, while the joint likelihood includes it when the initial state is modeled as random. The reverse mistake is also consequential: dropping \(\pi_{x_0}(\psi\mid Z)\) from a joint likelihood when it depends on the parameter being estimated discards information and changes the model.
A second common error is to call a conditional path likelihood a complete likelihood for the study. It is complete only for the post-entry event process under the stated conditioning and observation assumptions. It does not describe the frequency of initial states, the process before entry, or an informative censoring mechanism unless those components have been modeled.
Check Your Understanding
For each question, identify whether the likelihood is conditional, joint, or marginal, and show the relevant calculation.
- A subject starts in state C. While in C, the total outgoing rate is 0.4 per month. The subject remains in C for 2 months and then makes one observed transition with rate 0.1 per month. Write the conditional path likelihood contribution.
- In a joint model, the initial-state probability depends on parameter \(\eta\), while all transition rates depend on a separate parameter \(\theta\). Can the initial-state factor be omitted when estimating \(\eta\)? What about when estimating \(\theta\)?
- An unobserved initial state is A with probability 0.4 or B with probability 0.6. The no-event likelihood over one year is 0.5 from A and 0.2 from B. Calculate the marginal likelihood.
- A researcher observes a subject in state A at entry but uses the initial probability of A in a likelihood explicitly conditioned on that entry state. What is the mistake?
Solutions. (1) The contribution is the no-transition factor multiplied by the observed transition rate: \(e^{-0.4(2)}(0.1)=0.1e^{-0.8}\approx0.04493\) per month. (2) The initial-state factor cannot be omitted when estimating \(\eta\), because it contains information about \(\eta\). If \(\theta\) appears only in transition rates, that factor is constant with respect to \(\theta\) and does not change its likelihood estimate. (3) Marginalize over the two possible starting states: \(0.4(0.5)+0.6(0.2)=0.32\). (4) The researcher has mixed a conditional likelihood with a joint-likelihood factor. Given that the analysis conditions on the observed starting state, its probability is not part of the conditional path likelihood.