ABSTRACT
The illness‐death model is widely used to characterize disease progression over time. Previous work focuses either on estimation without causal interpretation or on causal interpretation under a strong Markov assumption where the terminal event depends on the status but not the timing of the intermediate event. To bridge the research gap, we propose a new definition of counterfactual hazard that relaxes the Markov assumption by considering the entire history of the intermediate event. We derive an identification formula that involves an integral with respect to the probability density function of the intermediate event time. Direct and indirect effects refer to the influence of an exposure on the terminal event not mediated by, and mediated through, the intermediate event, respectively. We propose non‐parametric kernel estimators for the two effects and study their asymptotic properties. We conduct numerical simulations to examine the proposed estimators' finite‐sample performance. Applying the method to a hepatitis study where the Markov assumption is violated, we show that the effect of hepatitis C on mortality is not mediated through septicemia during the first 15 years of follow‐up.
Keywords: causal inference, illness‐death model, kernel density estimation, mediation analysis, non‐Markov assumption
1. Introduction
Illness‐death models, which describe transitions between different states, are widely used to characterize disease progression in clinical studies [1, 2]. A motivating example is provided by the REVEAL study [3] on the disease progression of hepatitis C, which can be formulated as an illness‐death model to assess how hepatitis C influences the risk of death through the intermediate development of septicemia. The illness‐death model consists of three states: a healthy state (state 0), an intermediate illness state (state 1; septicemia), and an absorbing terminal state (state 2; death). Individuals may transition either indirectly from the healthy state to the illness state and subsequently to the terminal state or directly from the healthy state to the terminal state.
Modeling transitions in the illness‐death framework using transition hazard functions is a well‐established approach [4, 5, 6]. Specifically, the transition intensities characterize the rates at which individuals move across states:
| (1) |
| (2) |
| (3) |
where and denote the intermediate event and terminal event times, respectively.
A commonly made assumption in illness‐death models is that the occurrence of the terminal event (e.g., death) depends only on whether the intermediate event (e.g., disease) occurs, but not on when it occurs, the so‐called Markov assumption. Formally, . In practice, the Markov assumption does not always hold, despite its analytical convenience in the analysis of illness‐death data. In particular, formal tests for the Markov assumption in illness‐death models have been developed [7, 8, 9]. When violated, classical estimators of transition probabilities‐ such as the Aalen‐Johansen estimator [4], an extension of the Kaplan‐Meier estimator [10]‐ may yield biased estimates of transition rates [6]. To address this issue, a series of papers has proposed non‐parametric methods to assess transition probabilities without the Markov condition [5, 6, 11], many of which were based on Kaplan‐Meier or Pepe‐type estimators [12, 13]. Although these approaches successfully address the issue of the Markov condition, their estimands, such as transition rates, lack causal interpretations.
Additionally, another way to relax the Markov assumption is to allow the illness‐to‐death transition hazard to depend on the sojourn time, or gap time, since the intermediate event. That is, instead of assuming , one may specify [14], or, more generally, , where represents the time elapsed since the occurrence of the intermediate event [15, 16]. Nevertheless, such sojourn‐time‐based approaches still require specifying how the elapsed time since the intermediate event enters the illness‐to‐death transition hazard. In particular, a model depending only on the gap time implicitly assumes that, conditional on the same elapsed time since the intermediate event, the illness‐to‐death hazard is homogeneous with respect to the timing of the intermediate event. Thus, although these approaches relax the Markov assumption, they still rely on specific transition‐hazard modeling assumptions.
To gain a causal insight, we formulate the analysis of illness‐death models under the framework of mediation analysis [17]. The mediation framework follows the classic counterfactual definition proposed by Pearl [18] and Robins [19], in which the effect of an exposure on an outcome is decomposed into a natural indirect effect operating through a mediator and a natural direct effect that affects the outcome not through the mediator. What differs from the classic setting is that the mediator and the outcome in our setting are both time‐to‐event variables that are subject to right‐censoring. Furthermore, the outcome may also censor the mediator, which is the unique feature and challenge in illness‐death models and semi‐competing risks. Causal mediation analysis of illness‐death models or semi‐competing risks has gained increasing attention in recent years [20, 21, 22, 23]. Huang [21] identified a counterfactual hazard function based on a weighted sum of and to assess causal direct and indirect effects of semicompeting risks. Nevo and Gorfine [22] proposed a principal stratification approach, stratifying the population according to potential outcomes of the two events, and under their proposed assumptions, they identified the effects on both outcomes. Valeri et al. [23] characterized the effect of stochastic interventions for the intermediate time‐to‐event on the terminal outcome. Breum et al. [20] quantified the effect of an exposure on the terminal time‐to‐event outcome mediated by the time‐to‐intermediate event under the separable effect framework [24].
Existing causal mediation analyses of illness‐death models still make the Markov or semi‐Markov assumption. For example, the approach of Huang [21] is based on the Markov assumption that the risk of hepatitis B‐induced mortality does not depend on the time of occurrence of liver cancer, but only on the state of liver cancer. Stensrud et al. [25] and Fulcher et al. [26] have argued that such a Markov assumption is overly restrictive and may not adequately capture realistic disease progression. The methods proposed by Breum et al. [20] and Valeri et al. [23] address this issue by relaxing the Markov assumption through model assumptions, that is, the semi‐Markov condition. Specifically, Valeri et al. [23] provided the partial relaxation of the Markov condition based on another model assumption regarding how the mediator's timing affects the risk of the outcome in a pre‐specified parametric form:, where is the baseline hazard and is the exposure. Model misspecification of the relationship may still violate the Markov assumption. To ensure valid causal inference in more general settings, it is important to develop an approach that does not rely on either the Markov or semi‐Markov assumption.
To bridge this research gap, we develop a causal mediation analysis framework that does not rely on the Markov assumption. Specifically, we explicitly model the dependence of the outcome on the timing of the mediator through non‐parametric kernel estimators. Moreover, we rigorously specify the set of assumptions required for identifying mediation effects‐extending from the existing sequential ignorability [27]‐thereby providing a transparent foundation for valid causal inference. Our method accommodates general non‐Markov illness‐death structures, while previous approaches impose the Markovian restriction. Importantly, under the Markov assumption, our framework reduces to the existing approaches by Huang [21] and Valeri et al. [23], establishing comparability and generality.
This article is structured as follows. Section 2 introduces the counterfactual hazard framework and notation, formalizes the causal estimands of interest under a non‐Markov multi‐state process, and describes the proposed non‐parametric estimation procedure. Section 3 presents theoretical results, including unbiasedness, uniform consistency, and the asymptotic distribution of the estimators. Section 4 reports the results from simulation studies conducted under Markov and non‐Markov scenarios, as well as a real‐data application of the REVEAL study that compares the performance of the proposed method with that of Huang's and Valeri's estimators. Finally, Section 5 concludes with a discussion of the main findings and potential directions for future research. Technical details and proofs associated with Section 3 are provided in the Supporting Information.
2. Counterfactual Hazard Function and Causal Assumptions
2.1. Counterfactual Hazard
Let and denote the intermediate event time and primary event time, respectively, with the corresponding underlying counting processes for counting the disease and death events defined as and . Moreover, let be a binary exposure factor and be a ‐dimensional vector of confounders.
In this article, we establish the inference of causal validity within the counterfactual outcome framework. Specifically, represents the counterfactual process of at time , under the setting , where is the realization of , with denoting the history of the time to the intermediate event before time . Additionally, tracks the history of the underlying process up to time . Furthermore, denotes the counterfactual process of at time , had the exposure factor been set to .
Therefore, we can define the jump of counterfactual cumulative hazard at time using the counterfactual counting processes described above, as follows:
| (4) |
Precisely, represents the index function capturing the instantaneous jump of the arbitrary counting process in the interval . The major difference between Equation (4) and the counterfactual hazard function mentioned in Huang [21] is that the cumulative hazard of the primary event depends on the entire history of the intermediate event up to , , rather than only the status at time .
Building on the ideas proposed by Pearl [18] and Robins [19], we define the natural direct effect (DE) and natural indirect effect (IE) on the scale of cumulative hazard at time as follows:
| (5) |
and
| (6) |
We also define two survival‐scale causal effect measures. The first is the survival difference: and . The second is the survival ratio: and .
2.2. Causal Assumptions
We introduce the causal assumptions used in this article to identify the proposed cumulative counterfactual hazard as follows:
-
B1.
Ignorability: .
-
B2.Sequential Ignorability I:
(7) Equation (7) means that the hazard of the primary event, given the exposure and the history of the intermediate event, does not depend on how the exposure affects the potential process of the intermediate event, as long as the intermediate processes are identical, that is, .
-
B3.Sequential Ignorability II:
Equation (8) means that the history of the intermediate event among survivors of the primary event does not depend on how the exposure affects the potential process of the primary event.(8) -
B4.
Consistency: if and , then .
Assumption (B1) ensures that given , there is no unmeasured confounding between and , as well as between and . Assumptions (B2) and (B3) ensure that given , there is no unmeasured confounding between and (Assumption (B2)) as well as between and (Assumption (B3)). The black component of Figure 1 depicts a single‐world intervention graph (SWIG), representing the causal structure implied by Assumptions (B1)‐(B3). The terms and denote the error terms associated with and , respectively.
FIGURE 1.

No unmeasured mediator‐outcome confounder.
We show in Figure 1 that Assumptions (B2) and (B3) would be violated in the presence of a mediator‐outcome confounder . In particular, Assumption (B2) is violated because can reach through the path: ; Assumption (B3) is also violated because can reach through the path: . Assumptions (B2) and (B3) exclude the presence of a mediator‐outcome confounder induced by the exposure , . As shown in Figure 2, the ‐induced mediator‐outcome confounder contributes to both direct () and indirect effects (). Even with the data on , and controlling for would no longer have the interpretation of direct and indirect effects, respectively.
FIGURE 2.

No ‐induced mediator‐outcome confounder.
Assumption (B4) states a standard consistency condition: for subjects whose observed exposure equals and whose history of the intermediate event equals , the observed counting processes coincide with their corresponding individual‐level counterfactual processes under and . It does not imply that all subjects with the same observed exposure and intermediate‐event history have identical realizations of the counting process; rather, the equality is defined at the individual level between the observed and counterfactual processes.
We present a structural causal model to describe the counterfactual data‐generating process in Web Appendix 15 of the Supporting Information. Based on this framework and under Assumptions (B1)‐(B4), we demonstrate that Equation (4) can be identified through the counting process in the following Theorem 1 (detailed in Subsection A). For simplicity, we omit in the subsequent development, but the related results concerning can be easily established.
Theorem 1
(Identification Formula) Under Assumptions (B1)–(B4),
(9) where
(10)
(11)
(12)
(13)
Specifically, the derived quantities and are equivalent to the changes in the transition cumulative hazards from state 0 to state 2 and from state 1 to state 2, respectively. Therefore, the cumulative counterfactual hazard function can be obtained as
| (14) |
| (15) |
Equation (11) represents the transition hazard from the healthy state (state 0) to the absorbing state (state 2) in the illness‐death model. Equation (13) describes the transition hazard from state 1 to state 2, given that the intermediate event occurred at time . The identification formula (14) consists of two components: the first represents the transition probability from state 0 to state 2, weighted by the probability of not experiencing the intermediate event, ; the second accounts for the transition probability given the occurrence of the intermediate event, weighted by its occurrence probability density across all historical paths, . This formulation generalizes Huang [21] by relaxing the Markov assumption, making his identification formula a special case of our approach.
2.3. The Proposed Estimator
Consider an individual from a population of size , where the observed data may involve potential independent right censoring at time . Under the illness‐death model, the observation can be expressed as , , , and .
In Web Appendix 1 of the Supporting Information, we show that Equations (10), (11), (12), and (13) can be reformulated in terms of observed random variables accounting for right censoring. Based on these formulations, we propose the following non‐parametric estimators for , , , , respectively, using observable data.
| (16) |
| (17) |
| (18) |
| (19) |
where
| (20) |
| (21) |
The statistical properties of the kernel function and bandwidth are further discussed in the Supporting Information. We obtain an estimator for the counterfactual cumulative hazard:
| (22) |
by plugging in. The proposed estimators of and are as follows:
| (23) |
| (24) |
The survival‐scale estimators are obtained by plugging the cumulative hazard estimators into the corresponding survival‐scale effect measures. Specifically, , , , and .
For implementation, we use a symmetric and bounded kernel function, such as the Gaussian kernel, satisfying the kernel regularity conditions in Assumption (A1). The bandwidth controls the smoothness of the estimated density of the intermediate event time in and . In our asymptotic development, the bandwidth is chosen to achieve undersmoothness because the weak convergence results in Theorems 4 and 5 are established for zero‐mean Gaussian processes. In particular, the bandwidth conditions in Assumption (A2) are mainly governed by as and for every . The condition ensures that the kernel smoothing bias is asymptotically negligible. The summability condition is used in the asymptotic proofs to establish almost sure uniform convergence of the relevant kernel estimators. These conditions suggest searching for the bandwidth over a range slightly smaller than the usual mean‐squared‐error optimal order , such as to . In practice, we select by a maximum‐likelihood‐type criterion: we maximize a cross‐validated counterfactual log‐likelihood over a prespecified grid of bandwidths in this range, as illustrated in Section 4.2.
3. Asymptotic Results
In this subsection, we demonstrate the asymptotic properties of and . Before establishing the uniform unbiasedness, we verify the consistency, theoretical boundedness, and variance of the estimators in Web Appendices 2, 3, and 4 of the Supporting Information, respectively. We then apply Proposition W.21, as presented by Helland [28], in Web Appendix 5. The proof of Theorem 2, which builds upon the triangle inequality and the results discussed in Web Appendix 5, is provided in Web Appendix 6.
Theorem 2
(Uniform Unbiasedness) Under Assumptions (A1–A7),
(25) and
(26) as .
Based on the discussion in Web Appendix 5 of the Supporting Information and by applying Proposition W.25 from Gill [29], we prove the uniform consistency in Theorem 3 in Web Appendix 8, using the triangle inequality and the results established in Web Appendix 7.
Theorem 3
(Uniform Consistency) Under Assumptions (A1–A7),
(27) and
(28) as .
We then discuss the finite‐dimensional distribution (f.d.d.) and tightness in Web Appendices 9 and 10 of the Supporting Information. Based on these results, we derive and in Lemmas W.40 and W.41, respectively. Applying the functional delta method discussed in Web Appendix 11, we then prove Theorem 4 in Web Appendix 12.
Theorem 4
(Weak Convergence) Under Assumptions (A1–A7) and selecting ,
(29) where
(30) is a zero‐mean Gaussian process with variance function , as .
Following the similar development as Theorem 4, we derive and , which can be found in Lemmas W.42 and W.39, respectively, in the Supporting Information. Applying the functional delta method, we prove Theorem 5 in Web Appendix 13.
Theorem 5
(Weak Convergence) Under Assumptions (A1–A7) and selecting ,
(31) where
(32) is a zero‐mean Gaussian process with variance function , as .
In practice, the variance functions, and , are estimated using the bootstrap method [30]. Extensions of the asymptotic results to the survival‐scale causal effect measures are provided in Web Appendix 14. In particular, we establish the unbiasedness and consistency of and , and briefly discuss the asymptotic properties of and . Consistency follows from the continuous mapping theorem, whereas weak convergence follows from the functional delta method.
4. Numerical Studies
4.1. Simulation
To evaluate the performance of the proposed method, we conduct two simulation scenarios. The event times and in both scenarios are generated according to the following specifications:
| (33) |
| (34) |
where the exposure variable is independently drawn from a Bernoulli distribution with . We retain the original realization of and set if (Assumption (A5)), where denotes the realization of , indicating that the intermediate event does not occur before the primary event. Otherwise, we retain the original value of and regenerate from the cumulative hazard function:
| (35) |
where . The censoring time is independently generated from an exponential distribution with rate 0.1. We consider two scenarios in our simulation study:
Scenario 1 (Markov): The parameter values are set as Under this setting, the 25th, 50th, and 75th percentiles of the primary event times are approximately 1.00, 1.44, and 1.93, respectively.
Scenario 2 (non‐Markov): The parameters are set as In this scenario, the corresponding 25th, 50th, and 75th percentiles are approximately 0.99, 1.54, and 2.22, respectively.
Each scenario is replicated 100 times with a sample size of . For each estimator, we compute the average curve across replications and construct the 95% pointwise confidence intervals using the corresponding standard errors. The proposed non‐Markov‐based method is evaluated against the Markov‐based approach of Huang [21], using hazard difference metrics, and the semi‐Markov approach of Valeri et al. [23], using survival difference metrics.
We use the Gaussian kernel function for all kernel‐based estimations. In this section, we present results using two bandwidth choices: and , and Web Appendix 16 provides additional results based on bandwidths , , , and .
Web Figures 3 and 4 in the Supporting Information present the survival effect estimators from the three approaches in the Markov setting (Scenario 1), where all methods are correctly specified. As expected, the three approaches provide approximately unbiased results under this setting. Our method is capable of handling the Markov condition. Although our approach exhibits relatively larger variance, this increased variability is anticipated due to its non‐parametric nature with the use of kernel smoothing.
FIGURE 3.

Direct and indirect effects in the simulation study with in the non‐Markov setting. The corresponding bandwidths are and .
FIGURE 4.

Survival direct and indirect effects in the simulation study with in the non‐Markov setting.
The results in Figures 3 (hazard difference) and 4 (survival difference) show that the average estimated direct and indirect effects in a non‐Markov setting (Scenario 2). All three methods closely align with their true values before the 50th percentile of the primary event times (i.e., for ). However, as time progresses, Huang's method tends to introduce substantial bias due to its dependence on the Markov assumption, which ignores the influence of the mediator's occurrence time on the outcome risk. The semi‐Markov estimator by Valeri et al. [23] may also lead to notable bias due to its misspecification of the transition hazard function . Therefore, the results demonstrate that our method performs reliably under both Markov and non‐Markov conditions, showing its robustness relative to the other two approaches.
Next, we examine the empirical coverage probabilities of our proposed method under the non‐Markov setting (Scenario 2). The variances of the direct and indirect effects are estimated using the bootstrap method with 1000 resamples. For each sample size , 1000 replicated data sets are generated to compute the variances and assess the empirical coverage of the 95% pointwise confidence intervals.
Figure 5 demonstrates that the proposed method achieves appropriate coverage rates in regions where observations of both the mediator and outcome are relatively rich, particularly around the 25th and 50th percentiles of the primary event times (indicated by the first and second vertical dashed lines). In contrast, coverage tends to decline in both the early and late time regions, such as those before and after , where data (either the mediator's or the outcome's occurrence) are sparse and estimation becomes more challenging. Specifically, coverage drops noticeably below 95% before time 0.5, likely due to limited information in this early period. For , the performance of the estimators varies by bandwidth: the bandwidth maintains relatively stable coverage (see Web Figures 9 and 10 in the Supporting Information), while exhibits a substantial drop, with coverage falling below 0.6. This decline is likely attributable not only to data sparsity in the tail region but also to the fact that fails to satisfy the condition , which is required for weak convergence to a zero‐mean Gaussian process, as established in Theorems 4 and 5.
FIGURE 5.

Empirical coverage probabilities of the 95% pointwise bootstrap confidence intervals under the non‐Markov setting.
4.2. Data Application
The REVEAL study is a community‐based, prospective cohort study conducted in Taiwan. A total of 23,820 participants enrolled between 1991 and 1992 [3] were followed through 2017. Chronic hepatitis C infection was defined as the presence of hepatitis C antibodies (anti‐HCV) at baseline. Information on septicemia incidence and mortality was obtained from the National Health Insurance Research Database (NHIRD) and the Death Certification Profile, respectively.
To reduce potential confounding, we restricted the analysis to male participants without a history of alcohol consumption ( = 7,262), as both sex and alcohol consumption may be associated with septicemia and mortality [3, 31]. Although sequential ignorability is not empirically testable, this restriction makes the assumption more clinically plausible; however, unmeasured confounding cannot be ruled out.
In the data set, hepatitis C is treated as the exposure variable, septicemia as the mediator event, and death as the primary outcome. To assess the presence of non‐Markovian characteristics, we apply the global logrank‐based test proposed by Titman and Putter [9] (detailed in Web Appendix 19 of the Supporting Information.) The resulting ‐values is less than 0.01, providing strong evidence against the Markov assumption. In our analysis, we compare the results of three approaches. For all estimators, 95% confidence intervals are constructed using the bootstrap method. The primary objective is to assess whether the effect of hepatitis C on mortality is mediated through septicemia (indirect effects) or whether it operates independently (direct effects). By quantifying both effects, we aim to gain a deeper understanding of the causal pathways linking hepatitis C infection to mortality and to compare the aforementioned three methods under a non‐Markov setting.
To determine the optimal bandwidth, we employ a 5‐fold cross‐validation based on the counterfactual log‐likelihood function of the primary event. Specifically, the optimal bandwidth is defined as
| (36) |
where denotes the ‐th validation set, and represents the estimated counterfactual cumulative hazard function computed excluding the th validation set. The set of candidate bandwidths considered is . The optimal bandwidth for this data set is 0.097.
As shown in the upper‐left panel of Figure 6, the 95% confidence interval for the natural direct effect does not include zero under both approaches after approximately the fourth year, suggesting evidence of a direct effect. The estimates from the proposed method initially closely align with those obtained using the method of Huang [21]. However, as time progresses, the difference between the two estimators becomes more apparent. The positive direct‐effect estimates suggest that the effect of hepatitis C on mortality may operate directly. The bandwidth sensitivity analysis in Web Figure 11 further supports the robustness of this conclusion, as the direct‐effect estimates remain qualitatively similar across the selected bandwidths.
FIGURE 6.

Direct and indirect effects of hepatitis C on mortality mediated through septicemia.
Regarding the natural indirect effect, shown in the lower‐left panel of Figure 6, the two methods show noticeable differences at the beginning of follow‐up. Under the proposed method, the confidence interval includes zero for most of the first 20 years, whereas the method of Huang [21] suggests statistical significance after approximately six years. However, the bandwidth sensitivity analysis in Web Figure 12 shows that the indirect effect estimator is more sensitive to the choice of bandwidth. This sensitivity is likely related to the sparsity of intermediate events. The data provide relatively robust evidence that the indirect effect of hepatitis C on mortality through septicemia is close to zero before approximately 15 years; however, the indirect effect during later follow‐up remains uncertain.
Additionally, we compared the survival causal effects estimated by the three approaches: the method by Valeri et al. [23], the method by Huang [21], and our proposed method. For the direct effects (upper‐right panel), the confidence interval of the semi‐Markov estimator proposed by Valeri et al. [23] is almost entirely contained within the confidence intervals of both our method and that of Huang [21]. Valeri's semi‐parametric estimator exhibits smaller variance and produces a smoother curve compared with the other two methods. For the indirect effects (lower‐right panel), the curve generated by Valeri's method lies below those of our method and Huang's estimator, indicating statistically significant indirect effects. Although the method of Valeri et al. [23] accounts for the non‐Markov condition, its results still diverge from ours for both the direct and indirect effects. This discrepancy may be attributable to model misspecification.
In real data applications, it is necessary to assess whether the Markov assumption holds at each time point within the study period. At certain times, the assumption may hold, whereas at others, it may not. Our proposed method is applicable to both Markov and non‐Markov data structures and, in particular, performs better when the Markov assumption is violated. This advantage eliminates the need to verify the assumption explicitly, allowing for direct application to survival data that may exhibit non‐Markov dynamics.
All computations were performed on a MacBook Pro equipped with an Apple M3 Pro chip, 11 CPU cores (5 performance cores and 6 efficiency cores), and 18 GB of memory. Using a time grid of 0.1, the proposed method required 14.36 min to complete the analysis, whereas the Markov‐based method of Huang [21] required 3.90 min. In contrast, the multistate approach of Valeri et al. [23] required approximately 582 min.
In summary, our analyses did not support the mechanism of hepatitis C‐related mortality that is mediated through septicemia during the first 15 years of follow‐up, particularly when accounting for the non‐Markov nature of the disease process.
5. Discussion
In this work, we propose a non‐parametric approach to estimate causal direct and indirect effects in a non‐Markov illness‐death model and implement it in our publicly available R package nmSurvMed. Our mediation analysis accounts for the full history of mediator occurrences, thereby better capturing the realistic nature of the data compared to the methods of Huang [21]. To relax the Markov assumption in illness‐death models, recent studies by Valeri et al. [23] and Breum et al. [20] adopt proportional hazards models [32] to specify transition hazards, incorporating the timing of the intermediate event as a covariate in the regression component. As illustrated in the numerical simulation and data application, such a model‐based approach to the non‐Markov condition is subject to model misspecification. In other words, the estimation would lead to a severe bias when the non‐Markov mechanism is incorrectly modeled. Moreover, both simulation and the REVEAL data analyses show that our estimated effects may initially resemble those obtained using the methods of Huang [21] (which assumes a Markov process) and Valeri et al. [23] (which assumes a semi‐Markov process); however, as time progresses, substantial differences emerge. The late divergence reflects the failure and inadequacy to account for the accumulating influence of long‐term mediator history by Huang [21] and Valeri et al. [23], respectively.
In the standard illness‐death model, all individuals are assumed to start in state 0 at time 0. However, Assumption (A7) allows individuals to begin in state 1 or state 2 at time 0. This relaxation introduces a trade‐off: it ensures that the conditioning event in is non‐empty. Without this assumption, the probability of the conditional event may be zero near time zero, rendering theoretical derivations and estimation procedures difficult or undefined at early time points.
In addition, the semi‐Markov estimates were implemented using the R package provided by Valeri et al. [23], which outputs effect estimates on the survival difference scale. Therefore, comparisons with this method are restricted to settings where the estimands are defined on the same scale‐specifically, the survival difference scale‐as shown in Figure 4 and Web Figures 3, 4, 7 and 8 of the Supporting Information.
Our work has several potential future directions. While the proposed non‐parametric method offers robustness against model misspecification, it may sacrifice estimation efficiency when confounders must be adjusted via stratification. This reflects an inherent trade‐off between robustness and statistical efficiency. A promising direction for future research is to extend our method to accommodate regression models that more flexibly incorporate covariates, thereby improving efficiency while retaining robustness. It is also possible to conduct a hypothesis test by comparing the proposed non‐Markov estimates with the Markov‐based estimates of Huang [21]. Such a testing procedure requires additional methodological development and theoretical justification, which warrants further research. Another natural extension of the current work is to consider two or more time‐to‐event mediators within a non‐Markov multi‐state modeling framework. One may aim to formalize causal pathways involving multiple intermediate events and define corresponding path‐specific effects [33], building upon recent developments in causal mediation analysis for multistate processes.
Funding
This work was supported by the National Science and Technology Council (Grant No. 113‐2118‐M‐001‐013‐MY3) and Academia Sinica (Grant No. AS‐IV‐114‐M05).
Conflicts of Interest
The authors declare no conflicts of interest.
Supporting information
Data S1: The supporting information (.pdf file) includes the mathematical proofs of the main results and additional simulation studies. Web Figure 1: Direct effects in the simulation study with in the Markov setting. The bandwidth choices considered are , , , and . Web Figure 2: Indirect effects in the simulation study with in the Markov setting. Web Figure 3: Survival direct effects in the simulation study with in the Markov setting. Web Figure 4: Survival indirect effects in the simulation study with in the Markov setting. Web Figure 5: Direct effects in the simulation study with in the non‐Markov setting. Web Figure 6: Indirect effects in the simulation study with in the non‐Markov setting. Web Figure 7: Survival direct effects in the simulation study with in the non‐Markov setting. Web Figure 8: Survival indirect effects in the simulation study with in the non‐Markov setting. Web Figure 9: Empirical coverage probabilities of the 95% pointwise bootstrap confidence intervals under the non‐Markov setting. Web Figure 10: Empirical coverage probabilities of the 95% pointwise bootstrap confidence intervals under the non‐Markov setting. Web Figure 11: Bandwidth sensitivity analysis for the natural direct effect in the REVEAL data analysis. Each panel corresponds to one candidate bandwidth. The solid curve represents the estimated natural direct effect, and the shaded region represents the 95% bootstrap confidence interval. The panel labeled CV corresponds to the bandwidth selected by the cross‐validation criterion. Web Figure 12: Bandwidth sensitivity analysis for the natural indirect effect in the REVEAL data analysis. Each panel corresponds to one candidate bandwidth. The solid curve represents the estimated natural indirect effect, and the shaded region represents the 95% bootstrap confidence interval. The panel labeled CV corresponds to the bandwidth selected by the cross‐validation criterion. Web Figure 13: Local and global tests for the Markov assumption in the simulation study. Web Figure 14: Local and global tests for the Markov assumption in the REVEAL data analysis.
Acknowledgments
The authors gratefully acknowledge Jia‐Yuan Dai for valuable discussions on the mathematical aspects of this work.
Appendix A.
Statistical Assumptions
Here, we introduce the statistical assumptions required to establish the proposed theorems using the kernel smoothing approach under the survival outcome framework. These assumptions are listed as follows:
-
A1.
The kernel function is symmetric, bounded, Lipschitz continuous, and of bounded variation. It satisfies and for , and has a finite second moment.
-
A2.
The bandwidth satisfies , , and as . Additionally, for every , .
-
A3.
The densities , and are bounded, Lipschitz continuous, square‐integrable, and twice continuously differentiable, with square‐integrable second derivatives.
-
A4.
Within the study period , we assume that
-
A5.
We assume that if the subject dies before experiencing the intermediate event, that is, .
-
A6.
The supports of the survival time and the potential censoring time include the study period .
-
A7.
The conditional probability of the exposure factor , the intermediate event process , and the death event process given the confounder satisfies the positivity assumption, that is, for .
Assumptions (A1) and (A2) are widely accepted for controlling the convergence rates of the bias and variance of the smoothing estimator. Assumption (A3) provides that the density function admits at least a second‐order Taylor expansion. Assumption (A4) states that, conditional on and , the censoring time is independent of both and . Assumption (A5) is a regularity condition derived from the illness‐death model framework of Xu et al. [14], where the joint probability density function of the fully observable data satisfies . Assumption (A6) ensures that we can analyze the joint probability within the case study period . Assumption (A7) ensures that the set is possible in all stratifications.
Proof of Theorem 1
Define which indicates whether the intermediate event has occurred before time . Based on this distinction, we decompose the jump of counterfactual cumulative hazard
Applying ignorability (B1), sequential ignorability I (B2), and consistency (B4), we obtain
Next, applying sequential ignorability II (B3) and consistency (B4), we further identify the counterfactual hazard in a counting‐process form:
We discretize the interval into small subintervals, each representing a potential jump time of the intermediate event process. By letting the mesh size go to zero, this construction captures all possible jump times of the intermediate event in . Formally,
where By the mean value theorem, we obtain
where We reformulate the expression and apply a Riemann‐sum argument to obtain the identification formula:
Data Availability Statement
The data that support the findings of this study are available from the corresponding author upon reasonable request.
References
- 1. Andersen P. K., Borgan Ø., Gill R. D., and Keiding N., Statistical Models Based on Counting Processes (Springer‐Verlag, 1993). [Google Scholar]
- 2. Hougaard P., “Multi‐State Models: A Review,” Lifetime Data Analysis 5 (1999): 239–264. [DOI] [PubMed] [Google Scholar]
- 3. Huang Y.‐T., Jen C.‐L., Yang H.‐I., et al., “Lifetime Risk and Sex Difference of Hepatocellular Carcinoma Among Patients With Chronic Hepatitis b and c,” Journal of Clinical Oncology 29, no. 27 (2011): 3643–3650. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4. Aalen O. O. and Johansen S., “An Empirical Transition Matrix for Non‐Homogeneous Markov Chains Based on Censored Observations,” Scandinavian Journal of Statistics 5, no. 3 (1978): 141–150. [Google Scholar]
- 5. de Uña‐Álvarez J. and Meira‐Machado L., “Nonparametric Estimation of Transition Probabilities in the Non‐Markov Illness–Death Model: A Comparative Study,” Biometrics 71, no. 2 (2015): 364–375. [DOI] [PubMed] [Google Scholar]
- 6. Meira‐Machado L., de Uña‐Álvarez J., and Cadarso‐Suárez C., “Nonparametric Estimation of Transition Probabilities in a Non‐Markov Illness‐Death Model,” Lifetime Data Analysis 12, no. 3 (2006): 325–344. [DOI] [PubMed] [Google Scholar]
- 7. Rodríguez‐Girondo M. and de Uña‐Álvarez J., “A Nonparametric Test for Markovianity in the Illness‐Death Model,” Statistics in Medicine 31, no. 25 (2012): 2763–2774. [DOI] [PubMed] [Google Scholar]
- 8. Soutinho G. and Meira‐Machado L., “Methods for Checking the Markov Condition in Multi‐State Survival Data,” Computational Statistics 37, no. 3 (2022): 751–780. [Google Scholar]
- 9. Titman A. C. and Putter H., “General Tests of the Markov Property in Multi‐State Models,” Biostatistics 21, no. 3 (2020): 400–416. [DOI] [PubMed] [Google Scholar]
- 10. Kaplan E. L. and Meier P., “Nonparametric Estimation From Incomplete Observations,” Journal of the American Statistical Association 53, no. 282 (1958): 457–481. [Google Scholar]
- 11. Titman A. C., “Transition Probability Estimates for Non‐Markov Multi‐State Models,” Biometrics 71, no. 4 (2015): 1034–1041. [DOI] [PubMed] [Google Scholar]
- 12. Pepe M. S., “Inference for Events With Dependent Risks in Multiple Endpoint Studies,” Journal of the American Statistical Association 86 (1991): 770–778. [Google Scholar]
- 13. Pepe M. S., Longton G., and Thornquist M., “A Qualifier q for the Survival Function to Describe the Prevalence of a Transient Condition,” Statistics in Medicine 10 (1991): 413–421. [DOI] [PubMed] [Google Scholar]
- 14. Xu J., Kalbfleisch J. D., and Tai B., “Statistical Analysis of Illness‐Death Processes and Semicompeting Risks Data,” Biometrics 66, no. 3 (2010): 716–725. [DOI] [PubMed] [Google Scholar]
- 15. Eulenburg C., Mahner S., Woelber L., and Wegscheider K., “A Systematic Model Specification Procedure for an Illness‐Death Model Without Recovery,” PLoS One 10 (2015): e0123489. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16. Tassistro E., Bernasconi D. P., Rebora P., Valsecchi M. G., and Antolini L., “Modeling the Hazard of Transition Into the Absorbing State in the Illness‐Death Model,” Biometrical Journal 62 (2020): 836–851. [DOI] [PubMed] [Google Scholar]
- 17. Baron R. M. and Kenny D. A., “The Moderator‐Mediator Variable Distinction in Social Psychological Research: Conceptual, Strategic, and Statistical Consideration,” Journal of Personality and Social Psychology 51 (1986): 1173–1182. [DOI] [PubMed] [Google Scholar]
- 18. Pearl J., “Direct and Indirect Effects,” in Proceedings of the Seventeenth Conference on Uncertainty in Artificial Intelligence (Morgan Kaufmann, 2001), 411–420. [Google Scholar]
- 19. Robins J. M., Semantics of Causal DAG Models and the Identification of Direct and Indirect Effects (Oxford University Press, 2003). [Google Scholar]
- 20. Breum M. S., Munch A., Gerds T. A., and Martinussen T., “Estimation of Separable Direct and Indirect Effects in a Continuous‐Time Illness‐Death Model,” Lifetime Data Analysis 30, no. 1 (2024): 143–180. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21. Huang Y.‐T., “Causal Mediation of Semicompeting Risks,” Biometrics 77, no. 4 (2021): 1143–1154. [DOI] [PubMed] [Google Scholar]
- 22. Nevo D. and Gorfine M., “Causal Inference for Semi‐Competing Risks Data,” Biostatistics 23, no. 4 (2022): 1115–1132. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23. Valeri L., Proust‐Lima C., Fan W., Chen J. T., and Jacqmin‐Gadda H., “A Multistate Approach for the Study of Interventions on an Intermediate Time‐To‐Event in Health Disparities Research,” Statistical Methods in Medical Research 32, no. 8 (2023): 1445–1460. [DOI] [PubMed] [Google Scholar]
- 24. Stensrud M. J., Young J. G., Didelez V., Robins J. M., and Hernán M. A., “Separable Effects for Causal Inference in the Presence of Competing Events,” Journal of the American Statistical Association 117, no. 537 (2022): 175–183. [Google Scholar]
- 25. Stensrud M. J., Young J. G., and Martinussen T., “Discussion on Causal Mediation of Semicompeting Risks by Yen‐Tsung Huang,” Biometrics 77, no. 2 (2021): 709–711. [DOI] [PubMed] [Google Scholar]
- 26. Fulcher I. R., Shpitser I., Didelez V., Zhou K., and Scharfstein D. O., “Discussion on Causal Mediation of Semicompeting Risks by Yen‐Tsung Huang,” Biometrics 77, no. 2 (2021): 706–708. [DOI] [PubMed] [Google Scholar]
- 27. Deng Y., Wang Y., and Zhou X.‐H., “Direct and Indirect Treatment Effects in the Presence of Semicompeting Risks,” Biometrics 80, no. 2 (2024): ujae032. [DOI] [PubMed] [Google Scholar]
- 28. Helland I. S., “Applications of Central Limit Theorems for Martingales With Continuous Time,” Bulletin of the International Statistical Institute 50, no. 1 (1983): 346–360. [Google Scholar]
- 29. Gill R. D., “Discussion of the Papers by Helland and Kurtz,” Bulletin of the International Statistical Institute 50, no. 3 (1983): 239–243. [Google Scholar]
- 30. Efron B., “Bootstrap Methods: Another Look at the Jackknife,” Annals of Statistics 7, no. 1 (1979): 1–26. [Google Scholar]
- 31. J. M. O'Brien, Jr. , Lu B., Ali N. A., et al., “Alcohol Dependence Is Independently Associated With Sepsis, Septic Shock, and Hospital Mortality Among Adult Intensive Care Unit Patients,” Critical Care Medicine 35, no. 2 (2007): 345–350. [DOI] [PubMed] [Google Scholar]
- 32. Cox D. R., “Regression Models and Life‐Tables,” Journal of the Royal Statistical Society. Series B, Statistical Methodology 34, no. 2 (1972): 187–202. [Google Scholar]
- 33. Avin C., Shpitser I., and Pearl J., “Identifiability of Path‐Specific Effects,” in Proceedings of the International Joint Conference on Artificial Intelligence (IJCAI) (International Joint Conferences on Artificial Intelligence (IJCAI), 2005), 357–363. Technical Report R‐321, June 2005, Cognitive Systems Laboratory, UCLA. [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data S1: The supporting information (.pdf file) includes the mathematical proofs of the main results and additional simulation studies. Web Figure 1: Direct effects in the simulation study with in the Markov setting. The bandwidth choices considered are , , , and . Web Figure 2: Indirect effects in the simulation study with in the Markov setting. Web Figure 3: Survival direct effects in the simulation study with in the Markov setting. Web Figure 4: Survival indirect effects in the simulation study with in the Markov setting. Web Figure 5: Direct effects in the simulation study with in the non‐Markov setting. Web Figure 6: Indirect effects in the simulation study with in the non‐Markov setting. Web Figure 7: Survival direct effects in the simulation study with in the non‐Markov setting. Web Figure 8: Survival indirect effects in the simulation study with in the non‐Markov setting. Web Figure 9: Empirical coverage probabilities of the 95% pointwise bootstrap confidence intervals under the non‐Markov setting. Web Figure 10: Empirical coverage probabilities of the 95% pointwise bootstrap confidence intervals under the non‐Markov setting. Web Figure 11: Bandwidth sensitivity analysis for the natural direct effect in the REVEAL data analysis. Each panel corresponds to one candidate bandwidth. The solid curve represents the estimated natural direct effect, and the shaded region represents the 95% bootstrap confidence interval. The panel labeled CV corresponds to the bandwidth selected by the cross‐validation criterion. Web Figure 12: Bandwidth sensitivity analysis for the natural indirect effect in the REVEAL data analysis. Each panel corresponds to one candidate bandwidth. The solid curve represents the estimated natural indirect effect, and the shaded region represents the 95% bootstrap confidence interval. The panel labeled CV corresponds to the bandwidth selected by the cross‐validation criterion. Web Figure 13: Local and global tests for the Markov assumption in the simulation study. Web Figure 14: Local and global tests for the Markov assumption in the REVEAL data analysis.
Data Availability Statement
The data that support the findings of this study are available from the corresponding author upon reasonable request.
