Manuscript Offprint
arXiv:2610.32498Random Jump Forests
Abstract
Random jump forests are introduced as a nonparametric tool for estimating conditional cumulative transition rates and occupation probabilities in multi-state models. The main idea is that a single tree partitions the covariate space for all transitions simultaneously, using partially observed trajectories, and with Nelson–Aalen estimators at the terminal nodes. Occupation probabilities are recovered through the product integral without requiring the Markov assumption. Uniform consistency and a functional central limit theorem for the estimators of cumulative rates can be established under the assumption that the covariate vector takes finitely many values, and under suitable splitting conditions. In particular, pointwise confidence intervals and simultaneous bands are available in the Markov case. Simulation studies show a predictive accuracy close to the correctly specified benchmark models and marked improvements when benchmarks are misspecified, with further illustration on four biomedical data sets. In the coverage study, confidence bands attain near-nominal coverage in several settings, with pooling of heterogeneous rates being the main source of possible undercoverage. The method, including prediction assessment and variable importance, is implemented in the R package JumpForests.
Keywords: random forests; multi-state models; Nelson–Aalen estimator; counting processes; bootstrap; consistency; weak convergence; survival analysis.
MSC 2020 subject classifications: Primary 62N02, 62G20; secondary 60J74.
1 Introduction
(Limnios and Oprišan, 2001), epidemiology (Commenges, 1999) and queueing theory (Fabens, 1961).
Our aim is to estimate all transition rates using a common covariate partition, allowing the splitting criterion to use information from every transition. Under the classical Markov assumption, transition probabilities follow from the transition rates through the Kolmogorov equations; see Amsler (1968) and Hoem (1969, 1988) for early insurance applications and Koller (2012) for a modern account. Without covariates, the rates and the transition probabilities are estimated nonparametrically by the Nelson–Aalen and Aalen–Johansen estimators (Nelson, 1972; Aalen, 1978; Aalen and Johansen, 1978). With covariates, the standard practice is to fit a Cox proportional hazards regression to each transition separately (Andersen and Ravn, 2023). This transition-wise approach requires the analyst to specify the functional form of every covariate effect and every interaction and it imposes a proportional hazards restriction on each transition. It also relies on the Markov assumption to combine the fitted transitions into occupation probabilities. However, the Markov assumption itself is often questionable, since the time already spent in a state frequently affects the rate of leaving it; the duration of a disability period, for instance, affects the probability of returning to work. Semi-Markov models (Janssen and de Dominicis, 1984; Nollau, 1980; Helwich, 2008; Janssen and Limnios, 1999; Korolyuk et al., 1975) address duration dependence and have a long history in insurance (Janssen, 1966; Hoem, 1972), in credit risk (Vasileiou and Vassiliou, 2006) and in nonparametric estimation (Lagakos et al., 1978; Voelkel and Crowley, 1984), but retain assumptions on the dependence of transition intensities on the process history. Machine learning offers an automated alternative to hand-specified regression models. The random survival forest of Ishwaran et al. (2008) can be fitted in an ad-hoc fashion to each transition separately, resetting the clock whenever a new state is entered. This transition-wise forest serves as a benchmark in our numerical studies.
Two lines of work estimate multi-state quantities nonparametrically without a Markov assumption. Landmarking (van Houwelingen, 2007; Putter and Spitoni, 2018) fits the Aalen–Johansen estimator to the individuals occupying a given state at a landmark time. Its consistency was studied by Datta and Satten (2001) and, with covariates, by Hoff et al. (2019), and its weak convergence by Glidden (2002) and Nießl et al. (2023); see also Overgaard (2019) and Munch et al. (2023) on state occupation probabilities in non-Markov models and Sandqvist (2026) for a combination of landmarking with boosted trees. Landmarking targets transition probabilities conditional on the state at a fixed landmark time; here we target occupation probabilities conditional on baseline covariates. Kernel smoothing targets the rates directly. It goes back to Beran (1981) and Dabrowska (1987) for survival data and to Ramlau-Hansen (1983), McKeague and Utikal (1990), Nielsen and Linton (1995) and Dabrowska (1997) for counting processes and multi-state models; see Ghosh (2017) for background. The conditional Aalen–Johansen estimator of Bladt and Furrer (2025) targets conditional occupation probabilities without a Markov assumption. The present paper retains this setup and replaces kernel smoothing by adaptive tree partitions shared across transitions, so that covariate interactions can be represented through successive splits.
1.2 Contributions
We introduce the random jump forest, called the jump forest for short, an extension of random forests (Breiman, 1996a, 2001; Breiman et al., 1984) to general multi-state models. Random forests have previously been adapted to quantile regression (Meinshausen, 2006), survival analysis (Ishwaran et al., 2008) and competing risks (Ishwaran et al., 2014); the jump forest grows a single forest for all transitions of a multi-state process at once. Our contributions are the following.
(i) Methodology. Each tree partitions the covariate space using splitting rules that merge information across all transitions, and each terminal node stores Nelson–Aalen estimators of every transition rate together with the empirical initial distribution. Occupation probabilities are recovered from the forest-averaged rates through the product integral. No Markov assumption is needed, out-of-bag Brier and Kullback–Leibler scores provide built-in error assessment, and a permutation variable importance applies to general multi-state models.
(ii) Theory and inference. Assuming that the covariate vector takes finitely many values and that suitable splitting conditions hold, we establish uniform consistency of the estimators of cumulative rates and occupation probabilities obtained from the forest, together with a functional Gaussian limit for the estimator of cumulative rates. In the Markov case, a consistent variance estimator yields pointwise confidence intervals and simultaneous confidence bands. The results account for both sampling variation and the additional randomness from subsampling and aggregation.
(iii) Empirical results. The numerical studies assess prediction under a threshold interaction, irrelevant covariates and non-proportional hazards, together with four biomedical applications. They demonstrate adaptation to covariate structure and time-varying effects that the fitted Cox models cannot represent. Complementary studies examine correctly specified proportional hazards, variable importance, and the benefits and limitations of pooling for interval coverage.
(iv) Software. All methods are implemented in the R package JumpForests.
Theoretical guarantees for adaptive random forests remain challenging even in regression. Consistency and asymptotic normality have been established for non-adaptive or simplified splitting schemes (Biau, 2012; Scornet, 2016; Klusowski, 2021), for honest forests that separate the observations used for splitting from those used for estimation (Wager and Athey, 2018), through the theory of generalised U-statistics (Peng et al., 2022), or, as in the consistency proof for random survival forests of Ishwaran and Kogalur (2010), under the assumption that the covariates take finitely many values. We assume that the covariate vector takes finitely many values and adapt the assumptions of Ishwaran and Kogalur (2010) to general multi-state models. With finitely many covariate values and a splitting scheme satisfying Assumption 4, terminal nodes eventually separate those values, reducing the analysis to stratified Nelson–Aalen estimation and its aggregation over subsamples. The theory does not describe how forests borrow strength across neighbouring covariate values, which is central to their use with continuous covariates. The numerical studies also consider continuous covariates. The supplementary coverage study examines the intervals under the practical fitting procedure with discrete covariates.
The paper is organised as follows. Section 2 introduces the multi-state setup and the target quantities. Section 3 presents the algorithm, its estimators and the default splitting rule. Section 4 develops the asymptotic theory and inference, Section 5 the simulation studies and biomedical applications, and Section 6 a discussion of limitations and recommendations. The supplement contains additional methodological components, supporting asymptotic results, all proofs and further numerical studies, including the coverage assessment.
2 Preliminaries
Notation. Throughout, , denotes the indicator of an event , and the left limit at of a càdlàg function . Estimators are written in blackboard bold, so that estimates and estimates . The data consist of independent and identically distributed (iid) copies of a generic observation, indexed by a superscript , and all limits are taken as unless otherwise stated.
Let be a pure-jump process on the finite state space , defined on a probability space . We assume that and let denote the (possibly infinite) absorption time of . To is associated a multivariate counting process with components given by
for and . We assume that
for all and in which also guarantees that is non-explosive. Let be a covariate vector with values in . Define conditional occupation probabilities
and let denote the row vector of these probabilities. We define auxiliary quantities
along with conditional transition rates
Whenever we write , we implicitly assume that . The identity
can be verified for any dependence structure of Z. From this relation, it follows from the inhomogeneous equation for the product integral, see Theorem 10 in Gill and Johansen (1990), that
(2.1)
This recovers the occupation probabilities from the initial distribution and the cumulative transition rates. If Z is Markov conditionally on X, the relation (2.1) also holds for transition probabilities. To be precise, if we have and let
denote the matrix of transition probabilities, we have the relation
(2.2)
The case of smooth Markov models where Z allows for transition intensities is of particular practical interest. In that case,
and (2.2) becomes the classical Kolmogorov differential equations. Whenever Z is Markov conditionally on X, smooth or not, is the compensator of with respect to the natural filtration of . When Z is not Markov, (2.2) no longer applies, and transition probabilities need to be estimated via conditioning on internal covariates. In this case, the transition rates have no interpretation as compensators for the counting processes . They are population rates instead: is the expected number of transitions from j to k during among the individuals with covariate value x, divided by the fraction of these individuals currently occupying state j. These population rates are the targets of Nelson–Aalen estimation even when Z is not Markov, and (2.1) shows that they determine the occupation probabilities in either case; see Datta and Satten (2001) and Overgaard (2019) for the corresponding results on the Aalen–Johansen estimator in non-Markov models.
It remains to consider right-censoring, which is modelled by a random variable with . We observe the covariates and the path of on , hence also the time and the indicator of absorption before censoring. We write the observed data as
To handle censoring, introduce the quantities
We impose the following censoring assumption to identify the transition rates from censored observations in non-Markov models.

(a) A jump tree.
(b) Forest aggregation.
Figure 1: Jump-tree construction and forest aggregation. (a) Splits on and produce three terminal nodes. Each node provides Nelson–Aalen estimates of the cumulative transition rates and an empirical initial distribution . (b) For a covariate value , these quantities are averaged over the corresponding terminal nodes of trees grown on independent subsamples.
Assumption 1. Right-censoring is conditionally entirely random,
The assumption allows censoring to depend on the covariates but not to carry further information about the trajectory. In a Markov model an unconditional independent censoring condition of Andersen et al. (1993) suffices. Instead, the occupation probabilities above can only be recovered from censored data if censored and uncensored individuals with the same covariate information have the same distribution. Under this assumption,
Since and can be estimated from right-censored data, so can under Assumption 1.
3 The jump forest
The jump forest extends the random survival forest of Ishwaran et al. (2008) to multi-state data. A single forest is grown for all transitions. In each terminal node, cumulative transition rates are estimated nonparametrically from the observed event histories. Algorithm 1 summarises the procedure and Figure 1 illustrates it.
The tuning parameters are the number of trees B, the subsample size m, the number q of candidate covariates per split and the minimum numbers of observed jumps in a terminal node. Trees are grown as deep as the constraint on observed jumps allows; the implementation instead uses a minimum number of observations per node, as specified in Subsection 5.1.
Algorithm 1 The random jump forest
Require: Data of right-censored trajectories with covariates; number of trees ; subsample size ; number of candidate covariates per split; minimum numbers of observed jumps out of each non-absorbing state ; a splitting statistic (see subsection 3.2).
1: for do
2: Draw a subsample of size from , with or without replacement.
3: Grow a tree on the subsample by treating each node , starting from the root, as follows:
4: draw candidate covariates at random;
5: among all splits of on a candidate covariate specified by a threshold or subset of levels that leave at least observed jumps out of every non-absorbing state in both children, choose the one maximising ;
6: if no such split exists, declare terminal and compute the Nelson–Aalen estimators of all transition rates and the empirical initial distribution computed from the observations in (as per subsection 3.1).
7: end for
Ensure: For a covariate value , the forest predictions and are the averages over the trees of the estimators stored in the terminal node containing ; occupation probabilities follow from formula (2.1).
These are distinct stopping constraints. We require from the splitting rule that a node can split whenever an admissible split exists, as is formalised in Assumption 4. A split on a continuous covariate is described by a threshold , where observations with go to the left child and the remaining ones to the right child. For a categorical covariate, a split is a partition of its levels into two subsets, one of which defines the left child. We use the term bootstrap sample for a subsample drawn with or without replacement. We next describe the node estimators, predictions and default splitting rule.
3.1 Estimators and prediction
Suppose that a terminal node contains the observations
The estimator of in h is
and analogously, the estimator of in h is
With the convention at times with no observations at risk, these yield the Nelson–Aalen estimator of in terminal node ,
and the initial probability vector is estimated in a terminal node h by
Note that does not appear in these expressions since the estimator is the same for all observations in a node; conditioning has nonetheless happened by growing the tree. For the case , we define . All these quantities are represented together in the matrix . For a covariate value , the predicted rate matrix of a single tree is obtained by dropping down the tree, namely when belongs in (and similarly, ). For a forest of trees, let and denote the predictions from the tree grown on the th bootstrap sample. The forest predictions are the averages
These predictions are defined for any covariate value x and are used for new data. For error estimation on the training data, one instead uses the out-of-bag (OOB) prediction of an observation i, which averages only over the trees whose bootstrap sample does not contain i; we say that i is out-of-bag for such a tree. Letting be equal to one precisely when i is OOB for bootstrap data set b, the OOB estimate of for observation i is given by
and OOB estimates of the initial probabilities are computed analogously. The OOB error estimation is a built-in analogue of cross-validation, since the OOB errors can be computed while the forest is fitted, without requiring refitting on validation subsets (Breiman, 1996b).
3.2 Log-rank splitting
The default splitting rule sums transition-specific log-rank statistics comparing the child nodes induced by a split. We refer to Chapter V.2 of Andersen et al. (1993) for further background on these tests. Fix a node and a split on a covariate; we exemplify with notation for continuous covariates, with discrete, categorical or mixed cases being analogous. Let denote the distinct times at which uncensored transitions occur in . For a transition from to and , the numbers at risk in state just before in the left and right child are
with total , and the numbers of observed transitions from to at are
with total . The log-rank statistic of the split is
(3.1)
and the split maximising over the candidate covariates and thresholds is selected. Terms with no variance contribution are assigned zero. Each remaining summand is the standardised log-rank statistic for the transition to , with the associated hypergeometric variance in the denominator. For a survival model with a single transition, (3.1) reduces to the log-rank splitting rule of Ishwaran and Kogalur (2007) and Ishwaran et al. (2014).
Summing the signed standardised statistics over transitions rewards splits that separate the two child nodes consistently across transitions. When a covariate changes different transition rates in opposite directions, the transition-specific statistics may partially cancel; a sum of squared statistics would be a natural alternative in such situations; we do not pursue the idea further.
3.3 Prediction assessment, variable importance and extensions
Prediction assessment and covariate importance complement the rate and occupation-probability estimators developed above. Supplementary Section S1 provides their full construction. Censoring-adjusted Brier and logarithmic scores assess occupation-probability predictions, and their integrated versions summarise performance over time. Out-of-bag evaluation provides a criterion for tuning without reserving a separate validation sample. Permutation importance measures the contribution of each covariate to occupation-probability prediction and is available both on held-out data and internally through out-of-bag observations. Weighted and approximate alternatives to the log-rank splitting criterion are also developed. These components form part of the implemented jump forest procedure.
4 Asymptotic theory and inference
We establish uniform consistency and a Gaussian limit for the forest, then derive confidence intervals and simultaneous bands in the Markov case. Supplementary Section S2 develops the supporting single-tree and conditional bootstrap results, the general Markov variance formula and additional transition-probability results. Proofs of the three main results are collected in Supplementary Section S3.
4.1 Assumptions and scope
Together with Assumption 1 on censoring, the assumptions below are the standing assumptions for the asymptotic results. We assume that the covariate vector takes finitely many values, as in the survival setting of Ishwaran and Kogalur (2010). Under the splitting condition below, terminal nodes eventually separate these values, reducing the asymptotic analysis to stratified estimation. The argument applies to the log-rank splitting statistic and its weighted and approximate variants, subject to Assumption 4.
Assumption 2. The image of the covariate vector is contained in a subset such that is finite and discrete. Furthermore, for every .
Under Assumptions 2–4, every terminal node of a tree eventually contains a single covariate value (see the proof of Theorem S2.2), so that the tree prediction for coincides, for all large , with the Nelson–Aalen estimator computed from the observations with . The results below therefore establish that trees and forests converge to the fully stratified Nelson–Aalen estimator, and that the aggregation over bootstrap samples preserves its Gaussian limit, and also its rate when the subsample size is proportional to .
In order to state our results without unnecessary restrictions on the transition rates, we introduce the following notation. Let
denote the largest time horizon on which all transition rates for the covariate value are finite, and let denote the right endpoint of the conditional distribution of the censoring variable given , that is, the largest horizon over which individuals with covariate value remain under observation with positive probability. We let and ; Assumption 2 ensures that these minima make sense. Some regularity of is also needed. For a fixed state , consider the total number of observed jumps out of ,
We impose the following condition.
Assumption 3. It holds that for every and every non-absorbing state .
A sufficient condition for Assumption 3 is given in Proposition S2.1.
The asymptotic results also require that the tree-growing algorithm keeps splitting a node as long as it contains several distinct covariate values. With randomly drawn candidate covariates, or with randomly drawn candidate thresholds, an implementation may declare a node terminal although a covariate separating its covariate values was not examined. We therefore impose the following condition on the splitting scheme.
Assumption 4. A node containing at least two distinct covariate values is split whenever an admissible split exists.
It is sufficient that every threshold is a candidate split point and that candidate covariates are drawn until a covariate that varies within the node has been examined. This holds in particular when all covariates are candidates at every split. The condition is vacuous at a node admitting no such split, so it does not conflict with a minimum node size in finite samples; it specifies a behaviour as grows, when every value in eventually has enough observed jumps to be split.
Finally, asymptotic results for the Nelson–Aalen estimator require the denominator not to vanish on the time interval under consideration.
Assumption 5 (Non-vanishing occupation probabilities). For the covariate value x and the time horizon t under consideration, for all non-absorbing states j.
The above assumption requires every non-absorbing state to be occupied with positive probability throughout , including at time zero. It excludes, for instance, an illness–death model in which all individuals start in the healthy state. The condition is needed for the continuity of the Nelson–Aalen functional at the limit; see the proof of Theorem S2.2. It can be relaxed by fixing with for all non-absorbing . All limit theorems then hold verbatim for the increments on and their estimators, with the same proofs, and occupation probabilities on may be recovered from (2.1) started at , with estimated again by the empirical frequencies.
Standing assumptions. Throughout Section 4, Assumptions 1 to 5 are taken as valid, is a fixed covariate value and is a fixed time horizon; in particular, Assumption 5 is related to this and . Beyond this fixed , the presented results may extend to all simultaneously, whenever and Assumption 5 holds for every ; routine restatements are omitted. For a matrix , we let denote the maximum row-sum norm.
4.2 Uniform consistency
The forest estimates both cumulative rates and occupation probabilities consistently. The proof proceeds through consistency of single trees and bootstrap trees; the occupation probabilities are obtained from the forest-averaged rates and initial distribution through (2.1).
Theorem 4.1 (Consistency of forests). Suppose that for all . Consider a forest of a fixed number of trees, each grown on a bootstrap sample obtained by multinomial subsampling or subsampling without replacement. Let the subsample size satisfy . Then
If, in addition, for all and the subsample size satisfies , both convergence statements hold almost surely.
4.3 Gaussian limits for the forest
All process limits below are in the uniform norm on . Write and let denote the tight mean-zero Gaussian limit of the single-tree estimation error scaled by the square root of its terminal-node sample size. Its representation and the supporting conditional bootstrap limits are given in Supplementary Section S2.2.
The limit is centred at the rate for a fixed covariate value x. In finite samples, a terminal node may pool values with different rates, introducing bias not represented by this Gaussian approximation.
Theorem 4.2 (Unconditional weak convergence of forests). Suppose that for all . Consider a forest of a fixed number of trees, each grown on an independent bootstrap sample of size . Assume either multinomial subsampling with , or subsampling without replacement with . Define
(4.1)
Then, for each ,
The factor separates the common full-data contribution from the Monte Carlo contribution, which is proportional to . Conditional on the data, averaging independent trees reduces Monte Carlo fluctuation, but does not remove the full-data estimation error. Sampling without replacement reduces the Monte Carlo contribution by the finite-population factor . This is a first-order covariance decomposition for fixed . For a single tree sampled without replacement, .
4.4 Confidence intervals and simultaneous bands
When is Markov conditionally on and is continuous, the Gaussian limit has covariance , where
For the th tree, let be the terminal node containing , let be its sample size, counting multiplicities, and let and be its empirical at-risk proportion and mean observed transition count, respectively. Define
with zero contribution at times when no observations are at risk. Let be the standard normal quantile and the -quantile of for a standard Brownian motion .
Corollary 4.3 (Confidence intervals and simultaneous bands). Suppose that the assumptions of Theorem 4.2 hold, that Z is Markov conditionally on X, and that is continuous on . Then
For every , the following coverage limits hold:
(i) For every with ,
(ii) If , then
Part (i) yields pointwise intervals and part (ii) a constant-width band simultaneous over time for the fixed transition and covariate value . Since , replacing a negative lower limit by zero does not reduce the coverage. The band in part (ii) rests on the fact that, in the Markov case with continuous rates, is a Gaussian process with independent increments and variance function , that is, a time-changed Brownian motion. All quantities entering are computed in the terminal nodes when the Nelson–Aalen estimators are formed, so the intervals and bands require no additional model fitting or resampling.
The coverage study in Supplementary Section S6.4 examines these intervals and bands under the practical split search and prediction-oriented tuning. Forest bands attain coverage close to nominal in several settings, and pooling substantially improves coverage over fully stratified estimation for sparse transitions, although it does not always restore the nominal level. Conversely, pooling heterogeneous rates can introduce bias and undercoverage. Thus, improved precision from pooling does not by itself ensure nominal coverage at a fixed covariate value.
5 Numerical studies
We examine prediction under a threshold interaction, its robustness to irrelevant covariates, and prediction under non-proportional hazards, followed by four biomedical applications. Two complementary studies in the supplement assess the cost of flexibility and variable importance under correctly specified proportional hazards, and the finite-sample coverage of confidence intervals and simultaneous bands under practical fitting. Table S6.1 summarises all four simulation designs. All simulated processes are Markov conditionally on the covariates.
5.1 Design and evaluation
All analyses use the JumpForests package described in Section 7. In the prediction studies, each jump forest (JF) has trees, candidate covariates and 10 randomly drawn thresholds per split, and uses subsamples without replacement of size . The log-rank rule is used with minimum node size , where is the number of training observations. Because candidate covariates and thresholds are sampled, the implementation need not satisfy Assumption 4.
Cox denotes transition-wise proportional hazards models with main effects, whose occupation probabilities are obtained by product integration of the Breslow cumulative-hazard estimators. Cox adds to the linear predictor of every transition, and Cox interactions add all two- and three-way products of , and . Cox lasso uses an penalty chosen by five-fold cross-validation within each training set.
RSF is an ad-hoc method derived from the random survival forest fitted separately to each transition with the clock reset on entry into a new state (in terms of software, we use the survival implementation in JumpForests, with the same number of trees and minimum node size as JF; occupation probabilities are computed from the transition-specific cumulative hazards). AJ null is the Aalen–Johansen estimator without covariates.
Predictive accuracy is measured on held-out data by the normalised integrated Brier score (IBS), as formally defined in the Supplementary Section S1.2, with uniform state weights and horizon equal to the largest observed event time in the training data. We report the paired relative difference , so positive values favour JF. Each prediction simulation uses 100 independently generated data sets split 80/20 into training and test observations; the biomedical comparisons use 100 such splits of each fixed data set. For inverse probability of censoring weighting (IPCW), the censoring distribution is estimated by a marginal Kaplan–Meier estimator across all models.
For the biomedical data and the study in Subsection 5.2, all subjects start in state 1, so the initialisation is the same across methods. In the Cox sample-size, noise and variable-importance studies, occupation-probability predictions for all methods, including JF, are initialised at the observed initial state of each subject to ensure comparability. The internal OOB importance of JF instead uses the estimated initial distribution.
5.2 Proportional hazards with a threshold interaction
We first consider the three-state time-homogeneous Markov model with intensity matrix
with , where , and are independent. All individuals start in state 1, and we impose no censoring. Every transition intensity is of the form , so that the ratio of the intensities for two covariate values does not depend on time and the hazards are proportional for every transition. The population consists of two groups: individuals with and , whose

Model Cox Cox X1:X2 Cox interactions RSF
Figure 2: Threshold-interaction study, 100 replications. Relative difference (percent) in test-set IBS of the transition-wise Cox models (Cox, Cox X1:X2 and Cox interactions) and random survival forest (RSF) with respect to the jump forest (JF), as a function of sample size n. The vertical axis uses the transformation . Positive values favour JF.
intensities are between four and ten times those of depending on , and the remaining individuals, whose intensities are those of . The covariates therefore act through a threshold interaction. A tree can represent the partition into the two groups exactly, through a split on and splits on at , and approximates the linear dependence on within the high-intensity group by a step function, whereas none of the Cox models of Subsection 5.1 can represent the threshold.
Figure 2 compares the models for n = 50, 100, 500, 1000, 2000, 3000, 4000 and 5000. Adding products of the original covariates does not compensate for the missing threshold: at , the three Cox specifications have nearly identical median relative differences of 3.5–4.1 percent in favour of JF. RSF has larger median relative differences, decreasing from 15.0 percent at n = 500 to 8.1 percent at n = 5000. This comparison concerns the complete prediction procedures; it does not isolate the contribution of sharing splits across transitions.
To assess robustness to irrelevant predictors, we fix and add noise covariates, drawn independently from the standard normal distribution. The advantage of JF under threshold misspecification persists across the noise levels considered, against every fitted Cox specification including lasso (Figure 3). Median relative differences range from 1.7 to 5.6 percent, and every lower quartile exceeds 1 percent.

Model Cox Cox Lasso Cox X1:X2 Cox interactions
Figure 3: Threshold-interaction study, n = 1000, 100 replications. Relative difference (percent) in test-set IBS of the transition-wise Cox models (Cox, Cox X1:X2, Cox interactions and Cox Lasso) with respect to the jump forest (JF), as a function of the number of added noise covariates. Positive values favour JF.
5.3 Prediction under non-proportional hazards
We next examine time-varying covariate effects in a three-state Markov process with absorbing state 3 and transition intensities
where , , and . Independently, and is uniform on . All individuals start in state 1, and censoring is independent of and uniform on ; JF and both Cox models use , and , without noise covariates. The design combines crossing hazards with a time-varying interaction: affects only when and , while the hazards also cross. Hence no fitted Cox model with time-constant coefficients can represent the design, even with a coefficient for every covariate combination.
Figure 4 compares JF with Cox and Cox interactions for n = 50, 100, 250, 500, 1000, 2000,

Model Cox Cox interactions
Figure 4: Non-proportional hazards study, 100 replications. Relative difference (percent) in test-set IBS of the transition-wise Cox models (Cox and Cox interactions) with respect to the jump forest (JF), as a function of sample size n. Positive values favour JF.
3000, 4000 and 5000. Because all individuals start in state 1, Assumption 5 fails at time zero; the supplementary coverage study changes the initial distribution to satisfy it.
Adding interactions improves Cox prediction, but the median paired differences still favour JF at every sample size. For , the median paired relative differences favour JF by 14.2–15.8 percent against Cox and 6.9–8.9 percent against Cox interactions, consistent with the remaining misspecification of time-varying effects.
Under correctly specified proportional hazards, Cox instead has a small advantage without noise covariates (median relative difference -1.6 percent), while JF and cross-validated lasso remain comparable as noise is added (Supplementary Section S6.1).
5.4 Biomedical applications
We compare the methods on four data sets from the literature (Table 1). The ebmt3 bone marrow transplantation data, distributed with the R package mstate (de Wreede et al., 2011), studies platelet recovery and relapse or death after transplantation. The remaining data and covariate descriptions accompany Andersen and Ravn (2023): bmt studies graft-versus-host disease, relapse and death after transplantation; cphholter follows atrial fibrillation, stroke and death in the Copenhagen Holter Study; and prova studies bleeding and death in a four-arm trial for liver cirrhosis.
| 经济体 | ebmt3 | bmt | cphholter | prova |
|---|---|---|---|---|
| States | 3 | 4 | 4 | 3 |
| Individuals | 2204 | 2009 | 678 | 286 |
| Covariates | 4 | 5 | 10 | 7 |
| Not absorbed | 1363 (62%) | 1272 (63%) | 417 (62%) | 211 (74%) |
| Observed transitions | ||||
| 1 → 2 | 1169 | 976 | 70 | 50 |
| 1 → 3 | 458 | 168 | 64 | 46 |
| 1 → 4 | — | 198 | 190 | — |
| 2 → 3 | 383 | 91 | 9 | 29 |
| 2 → 4 | — | 307 | 27 | — |
| 3 → 2 | — | — | 7 | — |
| 3 → 4 | — | 232 | 44 | — |
| all | 2010 | 1972 | 411 | 125 |
| Jump forest | ||||
| Minimum node size | 42 | 41 | 24 | 16 |
| Splitting rule | log-rank | |||
Table 1: The four data sets and the settings of the jump forest. Observed transitions are counted from the available data using the state definitions as depicted in the Supplementary Figure S6.11; a dash marks a transition that the corresponding model does not contain. “Not absorbed” is the number (in percentage) of individuals censored before reaching the absorbing state. All covariates counted in the table enter every model except for bmt, where the 255-level categorical variable team is excluded. The settings follow Subsection 5.1; no tuning parameter is selected from the data.
Using the protocol of Subsection 5.1 and the node sizes in Table 1, we compare JF with Cox and AJ null. We repeat the comparison with 10, 25 and 50 added independent standard normal noise covariates, also including Cox lasso in these settings.
Without added noise, JF and Cox have comparable IBS on the transplantation data: median relative differences are -0.1 percent on ebmt3 and 0.1 percent on bmt (Figure 5). Results are more variable for the small prova data, while the median paired relative IBS difference on cphholter is -5.0 percent, favouring Cox. This data set has fewer than ten observations for each of two transitions, a setting in which the regression structure may stabilise estimation.
With added noise, JF generally improves on unpenalised Cox. Its comparisons with lasso are closer: median differences favour JF in all twelve settings, by 0.2–4.7 percent, although several interquartile ranges include zero. AJ null has higher median paired relative IBS in all sixteen settings, suggesting predictive information in the covariates. Supplementary Section S6.6 explores fitted covariate interactions.

Model ☐ AJ Null ☐ Cox ☐ Cox Lasso
Figure 5: Biomedical data, 100 random 80/20 training–test splits. Relative difference (percent) in test-set IBS of the Aalen–Johansen estimator without covariates (AJ Null), the transition-wise Cox model (Cox) and its lasso-penalised version (Cox Lasso) with respect to the jump forest (JF). Rows correspond to the four data sets; columns to 0, 10, 25 and 50 added noise covariates. Positive values favour JF. Symbols inside the boxes mark the means.
6 Discussion
The jump forest estimates the cumulative rates of a multi-state process within a common covariate partition and recovers occupation probabilities without a Markov assumption. Its clearest empirical advantage is prediction when the fitted Cox specifications cannot represent the covariate effects: under a threshold interaction, including with irrelevant covariates, and under non-proportional hazards. The complementary proportional-hazards study shows only a small loss relative to correctly specified Cox regression. Performance on the biomedical data varies across data sets.
The theory establishes consistency and Gaussian limits when covariates take finitely many values and the split search eventually separates them. Practical inference also depends on the bias from pooling different covariate values within terminal nodes. The coverage study finds near-nominal forest band coverage in several settings and gains over stratified estimation for sparse transitions, but substantial undercoverage when this bias dominates the reported uncertainty. The study uses practical fitting without censoring on the evaluation interval; it does not assess calibration under the theoretical splitting conditions.
For prediction, the studies use the log-rank rule and a minimum node size of . OOB IBS permits tuning without a separate validation sample, but optimising prediction error does not ensure valid confidence intervals at a given covariate value. Fitted rate curves can help explore departures from a Cox specification, but should not be interpreted as formal evidence of interaction.
Two extensions follow from these findings. Extending the theory to continuous covariates requires control of the error from pooling within data-dependent nodes; honest splitting, which separates the observations used for partitioning from those used for estimation, is one possible starting point. For inference, smaller nodes and a more exhaustive split search warrant study as ways to reduce pooling bias, with their effect on coverage assessed separately from prediction error.
7 Software and reproducibility
All methods are implemented in the R package JumpForests, whose repository provides installation instructions and worked examples. The package is written in C++ through Rcpp, parallelises over trees, and provides fitting, prediction, OOB and test-set error estimation and permutation variable importance for regression, classification, survival and multi-state forests, including all five splitting rules for multi-state forests. The ebmt3 data are obtained with the R package mstate (de Wreede et al., 2011), and the bmt, cphholter and prova data are available from the companion website of Andersen and Ravn (2023). Scripts for all numerical results in the paper and supplement are available in the JumpForests/manuscript folder.
Acknowledgements
The research of both authors was supported by the Carlsberg Foundation, grant CF23-1096, and was carried out within the project framework InterAct.
References
O. O. Aalen. Nonparametric inference for a family of counting processes. The Annals of Statistics, 6(4):701–726, 1978. doi:10.1214/aos/1176344247.
O. O. Aalen and S. Johansen. An empirical transition matrix for non-homogeneous Markov chains based on censored observations. Scandinavian Journal of Statistics, 5(3):141–150, 1978.
O. O. Aalen, Ø. Borgan, and H. K. Gjessing. Survival and Event History Analysis: A Process Point of View. Statistics for Biology and Health. Springer, New York, 2008. ISBN 978-0-387-20287-7. doi:10.1007/978-0-387-68560-1.
M. H. Amsler. Les chaînes de Markov des assurances vie, invalidité et maladie. In Transactions of the 18th International Congress of Actuaries, volume 5, pages 731–746, Munich, 1968.
P. K. Andersen and H. Ravn. Models for Multi-State Survival Data: Rates, Risks, and Pseudo-Values. Texts in Statistical Science. Chapman & Hall/CRC, Boca Raton, 2023. ISBN 9780429029684. doi:10.1201/9780429029684.
P. K. Andersen, Ø. Borgan, R. D. Gill, and N. Keiding. Statistical Models Based on Counting Processes. Springer Series in Statistics. Springer, New York, 1993. ISBN 0-387-97872-0. doi:10.1007/978-1-4612-4348-9.
S. Asmussen and M. Steffensen. Risk and Insurance, volume 96 of Probability Theory and Stochastic Modelling. Springer, Cham, 2020. ISBN 978-3-030-35175-5. doi:10.1007/978-3-030-35176-2.
R. Beran. Nonparametric regression with randomly censored survival data. Technical report, Department of Statistics, University of California, Berkeley, 1981.
G. Biau. Analysis of a random forests model. Journal of Machine Learning Research, 13:1063–1095, 2012.
M. Bladt. Statistics for Insurance: Theory and Methods for Life and Non-Life Insurance Data. Preprint, 2026.
M. Bladt and C. Furrer. Conditional Aalen–Johansen estimation. Scandinavian Journal of Statistics, 52(2):873–902, 2025. doi:10.1111/sjos.12774.
L. Breiman. Bagging predictors. Machine Learning, 24(2):123–140, 1996a. doi:10.1007/BF00058655.
L. Breiman. Out-of-bag estimation. Technical report, Statistics Department, University of California, Berkeley, 1996b. URL https://www.stat.berkeley.edu/~breiman/00Bestimation.pdf.
L. Breiman. Random forests. Machine Learning, 45(1):5–32, 2001. doi:10.1023/A:1010933404324.
L. Breiman, J. H. Friedman, R. A. Olshen, and C. J. Stone. Classification and Regression Trees. Wadsworth, Belmont, CA, 1984.
M. C. Christiansen. Multistate models in health insurance. AStA Advances in Statistical Analysis, 96(2):155–186, 2012. doi:10.1007/s10182-012-0189-2.
D. Commenges. Multi-state models in epidemiology. Lifetime Data Analysis, 5(4):315–327, 1999. doi:10.1023/A:1009636125294.
D. M. Dabrowska. Non-parametric regression with censored survival time data. Scandinavian Journal of Statistics, 14(3):181–197, 1987.
D. M. Dabrowska. Smoothed Cox regression. The Annals of Statistics, 25(4):1510–1540, 1997. doi:10.1214/aos/1031594730.
S. Datta and G. A. Satten. Validity of the Aalen–Johansen estimators of stage occupation probabilities and Nelson–Aalen estimators of integrated transition hazards for non-Markov models. Statistics & Probability Letters, 55(4):403–411, 2001. doi:10.1016/S0167-7152(01)00155-9.
L. C. de Wreede, M. Fiocco, and H. Putter. mstate: An R package for the analysis of competing risks and multi-state models. Journal of Statistical Software, 38(7):1–30, 2011. doi:10.18637/jss.v038.i07.
A. J. Fabens. The solution of queueing and inventory models by semi-Markov processes. Journal of the Royal Statistical Society. Series B (Methodological), 23(1):113–127, 1961. doi:10.1111/j.2517-6161.1961.tb00395.x.
S. Ghosh. Kernel Smoothing: Principles, Methods and Applications. John Wiley & Sons, Chichester, 2017. ISBN 978-1-118-45605-7. doi:10.1002/9781118890370.
R. D. Gill and S. Johansen. A survey of product-integration with a view toward application in survival analysis. The Annals of Statistics, 18(4):1501–1555, 1990. doi:10.1214/aos/1176347865.
D. V. Glidden. Robust inference for event probabilities with non-Markov event data. Biometrics, 58(2):361–368, 2002. doi:10.1111/j.0006-341X.2002.00361.x.
M. Helwich. Durational Effects and Non-Smooth Semi-Markov Models in Life Insurance. PhD thesis, University of Rostock, 2008.
J. M. Hoem. Markov chain models in life insurance. Blätter der DGVFM, 9(2):91–107, 1969. doi:10.1007/BF02810082.
J. M. Hoem. Inhomogeneous semi-Markov processes, select actuarial tables, and duration-dependence in demography. In T. N. E. Greville, editor, Population Dynamics, pages 251–296. Academic Press, New York, 1972. doi:10.1016/B978-1-4832-2868-6.50013-8.
J. M. Hoem. The versatility of the Markov chain as a tool in the mathematics of life insurance. In Transactions of the 23rd International Congress of Actuaries, volume 3, pages 171–202, Helsinki, 1988.
R. Hoff, H. Putter, I. S. Mehlum, and J. M. Gran. Landmark estimation of transition probabilities in non-Markov multi-state models with covariates. Lifetime Data Analysis, 25(4): 660–680, 2019. doi:10.1007/s10985-019-09474-0.
H. Ishwaran and U. B. Kogalur. Random survival forests for R. R News, 7(2):25–31, October 2007. URL https://CRAN.R-project.org/doc/Rnews/.
H. Ishwaran and U. B. Kogalur. Consistency of random survival forests. Statistics & Probability Letters, 80(13–14):1056–1064, 2010. doi:10.1016/j.spl.2010.02.020.
H. Ishwaran, U. B. Kogalur, E. H. Blackstone, and M. S. Lauer. Random survival forests. The Annals of Applied Statistics, 2(3):841–860, 2008. doi:10.1214/08-A0AS169.
H. Ishwaran, T. A. Gerds, U. B. Kogalur, R. D. Moore, S. J. Gange, and B. M. Lau. Random survival forests for competing risks. Biostatistics, 15(4):757–773, 2014. doi:10.1093/biostatistics/kxu010.
J. Janssen. Application des processus semi-markoviens à un problème d'invalidité. Bulletin de l'Association Royale des Actuels Belges, 63:35–52, 1966.
J. Janssen and R. de Dominicis. Finite non-homogeneous semi-Markov processes: Theoretical and computational aspects. Insurance: Mathematics and Economics, 3(3):157–165, 1984. doi:10.1016/0167-6687(84)90057-X.
J. Janssen and N. Limnios, editors. Semi-Markov Models and Applications. Kluwer Academic Publishers, Dordrecht, 1999. ISBN 978-0-7923-5963-0. doi:10.1007/978-1-4613-3288-6.
R. A. Jarrow, D. Lando, and S. M. Turnbull. A Markov model for the term structure of credit risk spreads. The Review of Financial Studies, 10(2):481–523, 1997. doi:10.1093/rfs/10.2.481.
J. M. Klusowski. Sharp analysis of a simple model for random forests. In Proceedings of the 24th International Conference on Artificial Intelligence and Statistics, volume 130 of Proceedings of Machine Learning Research, pages 757–765. PMLR, 2021.
M. Koller. Stochastic Models in Life Insurance. EAA Series. Springer, Berlin, Heidelberg, 2012. ISBN 978-3-642-28438-0. doi:10.1007/978-3-642-28439-7.
V. S. Korolyuk, S. M. Brodi, and A. F. Turbin. Semi-Markov processes and their applications. Journal of Soviet Mathematics, 4(3):244–280, 1975. doi:10.1007/BF01097184.
S. W. Lagakos, C. J. Sommer, and M. Zelen. Semi-Markov models for partially censored data. Biometrika, 65(2):311–317, 1978. doi:10.1093/biomet/65.2.311.
D. Lando. Credit Risk Modeling: Theory and Applications. Princeton Series in Finance. Princeton University Press, Princeton, 2004. ISBN 0-691-08929-9. doi:10.1515/9781400829194.
N. Limnios and G. Oprișan. Semi-Markov Processes and Reliability. Statistics for Industry and Technology. Birkhäuser, Boston, 2001. ISBN 978-0-8176-4196-2. doi:10.1007/978-1-4612-0161-8.
I. W. McKeague and K. J. Utikal. Inference for a nonlinear counting process regression model. The Annals of Statistics, 18(3):1172–1187, 1990. doi:10.1214/aos/1176347745.
N. Meinshausen. Quantile regression forests. Journal of Machine Learning Research, 7:983–999, 2006.
A. Munch, M. S. Breum, T. Martinussen, and T. A. Gerds. Targeted estimation of state occupation probabilities for the non-Markov illness-death model. Scandinavian Journal of Statistics, 50(3):1532–1551, 2023. doi:10.1111/sjos.12644.
W. Nelson. Theory and applications of hazard plotting for censored failure data. Technometrics, 14(4):945–966, 1972. doi:10.1080/00401706.1972.10488991.
J. P. Nielsen and O. B. Linton. Kernel estimation in a nonparametric marker dependent hazard model. The Annals of Statistics, 23(5):1735–1748, 1995. doi:10.1214/aos/1176324321.
A. Nießl, A. Allignol, J. Beyersmann, and C. Mueller. Statistical inference for state occupation and transition probabilities in non-Markov multi-state models subject to both random left-truncation and right-censoring. Econometrics and Statistics, 25:110–124, 2023. doi:10.1016/j.ecosta.2021.09.008.
V. Nollau. Semi-Markowsche Prozesse, volume 260 of Wissenschaftliche Taschenbücher. Akademie-Verlag, Berlin, 1980. doi:10.1515/9783112567883.
M. Overgaard. State occupation probabilities in non-Markov models. Mathematical Methods of Statistics, 28(4):279–290, 2019. doi:10.3103/S1066530719040033.
W. Peng, T. Coleman, and L. Mentch. Rates of convergence for random forests via generalized U-statistics. Electronic Journal of Statistics, 16(1):232–292, 2022. doi:10.1214/21-EJS1958.
H. Putter and C. Spitoni. Non-parametric estimation of transition probabilities in non-Markov multi-state models: The landmark Aalen–Johansen estimator. Statistical Methods in Medical Research, 27(7):2081–2092, 2018. doi:10.1177/0962280216674497.
H. Putter, M. Fiocco, and R. B. Geskus. Tutorial in biostatistics: Competing risks and multi-state models. Statistics in Medicine, 26(11):2389–2430, 2007. doi:10.1002/sim.2712.
H. Ramlau-Hansen. Smoothing counting process intensities by means of kernel functions. The Annals of Statistics, 11(2):453–466, 1983. doi:10.1214/aos/1176346152.
O. L. Sandqvist. Event history analysis with time-dependent covariates via landmarking supermodels and boosted trees. arXiv preprint arXiv:2601.17605, 2026. doi:10.48550/arXiv.2601.17605.
E. Scornet. On the asymptotics of random forests. Journal of Multivariate Analysis, 146:72–83, 2016. doi:10.1016/j.jmva.2015.06.009.
H. C. van Houwelingen. Dynamic prediction by landmarking in event history analysis. Scandinavian Journal of Statistics, 34(1):70–85, 2007. doi:10.1111/j.1467-9469.2006.00529.x.
A. Vasileiou and P.-C. G. Vassiliou. An inhomogeneous semi-Markov model for the term structure of credit risk spreads. Advances in Applied Probability, 38(1):171–198, 2006. doi:10.1239/aap/1143936146.
J. G. Voelkel and J. Crowley. Nonparametric inference for a class of semi-Markov processes with censored observations. The Annals of Statistics, 12(1):142–160, 1984. doi:10.1214/aos/1176346398.
S. Wager and S. Athey. Estimation and inference of heterogeneous treatment effects using random forests. Journal of the American Statistical Association, 113(523):1228–1242, 2018. doi:10.1080/01621459.2017.1319839.
Supplementary material for “Random Jump Forests”
Martin Bladt Rasmus Frigaard Lemvig
Department of Mathematical Sciences, University of Copenhagen
Contents
S1 Splitting rules, prediction assessment and variable importance 3
S1.1 Alternative splitting rules 3
S1.2 Error estimation 4
S1.3 Variable importance 5
S2 Additional asymptotic results 7
S2.1 Single-tree and bootstrap consistency 7
S2.2 Single-tree and conditional bootstrap limits 8
S2.3 Variance in the Markov case 9
S2.4 Transition probabilities in the Markov case 10
S3 Proofs of the main text results 11
S3.1 Proof of Theorem 4.1 11
S3.2 Proof of Theorem 4.2 11
S3.3 Proof of Corollary 4.3 12
S4 Proofs of the additional asymptotic results 14
S4.1 Consistency of trees and bootstrap trees 14
S4.2 Single-tree Gaussian limits 17
S4.3 Conditional bootstrap limits 22
S4.4 Markov variance and transition probabilities 24
S5 Auxiliary results 26
S5.1 Bootstrap averages 26
S5.2 Uniform convergence 32
S5.3 Counting-process decomposition 32
S5.4 Empirical processes and differentiability 33
S6 Additional numerical results 37
S6.1 Proportional hazards: noise covariates and variable importance 37
S6.2 Supporting results for the threshold interaction ..... 40
S6.3 Non-proportional hazards ..... 42
S6.4 Coverage study ..... 42
S6.5 Biomedical data ..... 55
S6.6 Covariate interactions ..... 57
References
S1 Splitting rules, prediction assessment and variable importance
This supplement section develops the additional methodological components introduced in Subsection 3.3: alternative splitting rules, censoring-adjusted prediction scores and permutation importance.
S1.1 Alternative splitting rules
Using the risk-set and event-count notation of Subsection 3.2, non-negative weights give the weighted log-rank statistic
with the same maximisation and zero-variance convention as in Subsection 3.2. Table S1.1 lists the weights corresponding to the classical two-sample tests. The notation follows Ishwaran and Kogalur (2007) and Ishwaran et al. (2014); for a survival model with a single transition, (S1.1) reduces to their weighted log-rank splitting rules. The log-rank weight has optimal power against proportional hazards alternatives (Peto and Peto, 1972; Andersen et al., 1993), whereas the Gehan, Tarone–Ware and Peto–Prentice weights emphasise differences at early times.
Table S1.1: Weights in the splitting statistic (S1.1). Here denotes the occupation probability of state estimated within the node just before time , that is, the th entry of , see (2.1).
| Splitting rule | Weight |
|---|---|
| Log-rank (Mantel, 1966; Cox, 1972; Peto and Peto, 1972) | |
| Gehan (Gehan, 1965) | |
| Tarone–Ware (Tarone and Ware, 1977) | |
| Peto–Prentice (Peto and Peto, 1972; Prentice, 1978) |
Following Ishwaran and Kogalur (2007), we also consider an approximate log-rank rule, which keeps the numerator of the log-rank statistic () but replaces its denominator by the approximation of Section 7.7 of Cox and Oakes (1984). Concretely, with the numerator and and the numbers of observed transitions from to in the two children, it is defined as
and it avoids summing the exact variance contributions over event times. Zero denominators are assigned a contribution of zero.
S1.2 Error estimation
For the special cases of survival and competing risks models, a common error metric is Harrell's C-index (Harrell et al., 1982; Longato et al., 2020; Wolbers et al., 2014; Ishwaran et al., 2014), which measures the probability that the model correctly ranks the event times of a randomly chosen pair of individuals. Here we use Brier and Kullback–Leibler scores for occupation probabilities, following Spitoni et al. (2018). Let denote the OOB prediction for the vector of occupation probabilities for covariate , that is,
The basic metrics of interest are generically given by
where denotes a prediction of the occupation probability in state at time and is a vector of non-negative weights summing to one chosen a priori. We remark that for the survival model with two states and a single transition, any choice of weights summing to one will yield the usual survival Brier score (see Graf et al., 1999), with equal predictions giving a score of 0.25. Because of right-censoring, these scores cannot be estimated by plugging in the OOB predictions directly, and we use inverse probability of censoring weighting (IPCW) instead (see e.g. Gerds and Schumacher, 2006; Graf et al., 1999, for the survival case). For observation , let and denote by the conditional survival function of the censoring variable. The IPCW weight of observation at time is
where is an OOB estimator of , computed in each terminal node as the Kaplan–Meier estimator of the censoring distribution based on the data .
An individual absorbed before is known to satisfy , an individual under observation at satisfies , and an individual censored before and before absorption cannot contribute to the score at time . With these weights, the OOB error estimators are
To summarise prediction error over time, we use the normalised integrated Brier and Kullback–Leibler scores, defined respectively by
which we compute with the respective plug-in estimators. Here could for example be the largest observed event time in the data; the choice made in the numerical studies is stated in Subsection 5.1, where the integrated Brier score is reported.
S1.3 Variable importance
Beyond prediction, a forest ranks the covariates by their contribution to predictive accuracy. We use the permutation importance of Breiman (2001), adapted to the multi-state setting using the scores of Supplementary Section S1.2.
Fix a covariate index , let be an independent copy of which is independent of , and write
for the covariate vector whose th entry has been resampled from its own marginal distribution. This preserves the marginal distribution of the th covariate while destroying its dependence with the other elements of the vector. For a prediction rule , which assigns to each covariate value a vector of occupation probability curves, let
denote its integrated Brier risk, and let be given by the same expression with replaced by . The importance of the th covariate for is
(S1.2)
which measures the increase in risk after replacing the covariate by an independent draw from its marginal distribution.
When lies in the support of , the quantity (S1.2) has the following population interpretation. Since is independent of , we have , so that expanding both risks around makes the cross terms vanish and yields
(S1.3)
Consequently , with equality if and only if, for almost every and every state with , the conditional occupation probabilities satisfy almost surely. Thus this importance measures changes in occupation probabilities, jointly across states; it need not detect changes in transition rates that leave those probabilities unchanged. A standard drawback is that when the covariates are dependent, may fall outside the support of X, in which case (S1.3) compares predictions at covariate values that do not occur; see Hooker et al. (2021) for a discussion of this well-known feature of permutation importance.
Two sample versions are proposed, and then used in Supplementary Section S6.1, both obtained by replacing the risks in (S1.2) by their IPCW estimators. The first is computed on held-out data. Suppose the forest is fitted on a training sample, let denote an independent test sample of size , let be a permutation of and write for the covariate vector with its th entry replaced by . With the IPCW weights of Supplementary Section S1.2 computed on the test sample, the held-out importance is
(S1.4)
The second version is internal in the jump forest algorithm and requires no held-out data. For each tree , let denote the observations that are out-of-bag for that tree, let be a permutation of and let denote with its th entry replaced by . Writing for the occupation probabilities of tree , obtained from and through (2.1), the out-of-bag score of that tree is
and denotes the same quantity with in place of . The internal importance is the average over trees of the resulting increases in score,
(S1.5)
Trees that never split on the covariate contribute zero to (S1.5), since the permutation leaves their predictions unchanged.
Replacing the Brier loss by yields logarithmic-loss importances; uniform state weights give the usual logarithmic score up to a constant. The Brier version with uniform weights is the default in the implementation. Averaging over several independent permutations can reduce the Monte Carlo variability of either importance estimator.
S2 Additional asymptotic results
This supplement section develops the single-tree and bootstrap results supporting the forest guarantees in Section 4, together with additional results for Markov transition probabilities. The standing assumptions, fixed covariate value x, time horizon t and matrix norm of Subsection 4.1 apply throughout. All process limits use the uniform norm on the stated index set. Proofs are collected in Supplementary Section S4.
S2.1 Single-tree and bootstrap consistency
The following sufficient condition can be used to verify Assumption 3.
Proposition S2.1 (A sufficient condition for Assumption 3). If Assumption 1 holds and for every non-absorbing state j and every there exists with
then Assumption 3 holds.
Theorem S2.2 (Consistency of a single tree). Under the standing assumptions,
Corollary S2.3 (Consistency of occupation probabilities). Under the standing assumptions,
where
Consistency of a forest follows from consistency of a single bootstrap tree, that is, a tree grown on a bootstrap sample. A bootstrap sample is identified with a realisation of a vector of non-negative exchangeable weights, where is the number of times observation appears in the sample. Let denote the prediction of a generic bootstrap tree for the covariate value . It is obtained from the weighted estimators in the terminal node containing ,
as . The argument of Theorem S2.2 requires the bootstrap sample to consist of observations from the original data, so that the bootstrapped covariate values lie in . We therefore consider the two subsampling schemes most common in practice: a) multinomial subsampling, which draws observations with replacement; and b) subsampling without replacement of size . The bootstrap sample is then a generic subsample
of the original data
(S2.1)
determined by the outcome of the bootstrap weights. The background theory in Supplementary Section S5.1 covers more general weights.
Theorem S2.4 (Consistency of a bootstrap tree). Suppose that for all . Let the bootstrap sample be obtained by multinomial subsampling or subsampling without replacement, with subsample size . Then
If, in addition, for all and the subsample size satisfies , the convergence holds almost surely.
Uniform consistency of occupation probabilities follows by the product-integral argument in Corollary S2.3. Averaging a fixed number of bootstrap trees gives Theorem 4.1.
S2.2 Single-tree and conditional bootstrap limits
Let denote the terminal node containing , its sample size, and .
Theorem S2.5 (Weak convergence of a single tree). Suppose that for all . Then, for any such pair,
where is the tight mean-zero Gaussian process of Proposition S4.3 and
and the integral with respect to is defined through integration by parts (see Remark S5.10).
We now turn to a bootstrap tree and to the whole forest and study the asymptotic distribution of
where denotes the number of observations in the terminal node containing x in the bootstrap tree. We keep the data fixed and consider randomness from resampling and tree construction. Under the standing assumptions, the trees reduce to stratified estimators with conditional probability tending to one, leaving bootstrap weights as the source of the limiting fluctuation.
Definition S2.6 (Conditional weak convergence). Let be a statistic of , let denote its bootstrap version based on , and suppose that both take values in a normed space . Let denote the set of functions with and Lipschitz constant bounded by 1. We say that converges weakly to a tight process conditionally on the data, in probability or almost surely, if
in probability or almost surely, respectively, where denotes expectation over the resampling and, when applicable, tree-construction randomness.
The supremum in Definition S2.6 is the bounded Lipschitz metric, which metrises weak convergence of separable Borel probability measures on D (van der Vaart and Wellner, 2023, Theorem 1.12.4); in principle, expectations should be outer expectations; as is customary, we suppress these measurability issues and tacitly assume that the maps involved are measurable. Almost sure conditional convergence means weak convergence for almost every fixed data sequence. We work on a product probability space carrying the data and the independent resampling randomness.
Theorem S2.7 (Weak convergence of bootstrap trees and forests). Suppose that for all . Let the bootstrap sample be obtained by multinomial subsampling or subsampling without replacement, with subsample size . For subsampling without replacement, assume also that . Let be the limit process of Theorem S2.5, and let for multinomial subsampling and for subsampling without replacement.
(i) For a single bootstrap tree,
conditionally on the data, almost surely.
(ii) For a forest of a fixed number B of trees, each grown on an independent bootstrap sample,
conditionally on the data, almost surely.
The conditional limits describe fluctuation around the full-data estimator; Theorem 4.2 also accounts for its estimation error around the population target.
S2.3 Variance in the Markov case
For the Gaussian process in Theorem S2.5, the Markov assumption yields the following variance formula.
Proposition S2.8 (Asymptotic variance and its estimator in the Markov case). Suppose that for all and that is Markov conditionally on . Then, for ,
If, in addition, is continuous on , the plug-in estimator
satisfies , -a.s.
For a smooth Markov model, .
S2.4 Transition probabilities in the Markov case
The special case of a Markov model is worth highlighting. For a jump process which is Markov conditionally on X, we may consider the Aalen–Johansen estimator of the transition probabilities,
which is justified by (2.2) and the following result. The proof uses Theorem 7 of Gill and Johansen (1990), which gives continuity of the product integral uniformly in both endpoints .
Corollary S2.9 (Consistency of transition probabilities in the Markov case). If Z is Markov conditionally on X, then
The argument in the proof of Corollary S2.3, using continuity of the product integral uniformly in both endpoints, proves this result. The corresponding weak convergence result is as follows.
Theorem S2.10 (Weak convergence of transition probabilities). Suppose that for all and that Z is Markov conditionally on X. Then
with
a tight mean-zero Gaussian process defined through integration by parts, where and .
S3 Proofs of the main text results
S3.1 Proof of Theorem 4.1
Theorem S2.4 gives uniform consistency of each bootstrap-tree rate estimator, in probability or almost surely under the stated additional conditions. Averaging over the fixed number B of trees preserves this convergence. The same bootstrap law of large numbers applied to the initial-state indicators gives consistency of the empirical initial distribution in each tree and hence of their average. Continuity of the product integral, as in the proof of Corollary S2.3, then gives uniform consistency of the forest occupation probabilities.
S3.2 Proof of Theorem 4.2
For , let collect the bootstrap weights of the th tree together with the random selection of its candidate covariates. The vectors are iid and independent of the data , and, as in Supplementary Section S2.2, the underlying probability space is a product of a space carrying the data and spaces carrying the weights. Let be as in Theorem S2.7, where for multinomial subsampling for every . Denote by the stratified Nelson–Aalen estimator computed from the observations of the th bootstrap sample with covariate value , as in the proof of Theorem S2.7(i), and define
Step 1: Reduction to stratified estimators. By the proof of Theorem S2.4, for each the terminal node containing in the th tree consists of observations with covariate value only, with probability tending to one. On this event, on . Since is fixed, it follows that, with probability tending to one,
(S3.1)
It therefore suffices to derive the limit of the right-hand side.
Step 2: Marginal limits. By the proof of Theorem S2.5, . By the proof of Theorem S2.7(i), converges weakly to conditionally on the data, almost surely, that is,
For each , the weights take finitely many values, so that is measurable for every and the minimal measurable majorant with respect to the weights in Lemma 3.1(c) of Bücher and Kojadinovic (2019) may be omitted; see the second remark following that lemma. With the measurability convention stated after Definition S2.6, under which is jointly measurable for every , Fubini's theorem gives , and hence
by dominated convergence, since . Thus converges weakly to a tight Borel measurable limit and is, in particular, asymptotically measurable.
Step 3: Joint limit. Set and , . Then are bootstrap replicates of in the sense of Section 3 of Bücher and Kojadinovic (2019), obtained by evaluating the same map at and at the iid weights . By Step 2, converges weakly to the tight Gaussian process , and satisfies assertion (c) of their Lemma 3.1, almost sure conditional convergence implying conditional convergence in outer probability. Owing to the factor in the definition of , the bootstrap replicates and have the same limit . The equivalence of assertions (c) and (b) of that lemma, with , yields
where are iid; for the statement follows from the case by projection.
Step 4: The forest. Since for multinomial subsampling and for subsampling without replacement, where , the map is well defined, linear and continuous on , and . By (S3.1), Step 3, the continuous mapping theorem and Slutsky's lemma,
where are iid copies of . The limit is a tight mean-zero Gaussian process whose covariance function equals times that of . Since a tight Gaussian process in is determined in law by its covariance function, the limit has the law of . Finally, for multinomial subsampling and for subsampling without replacement, and both limits equal . Since , Slutsky's lemma yields the claim.
S3.3 Proof of Corollary 4.3
Consistency of the variance estimator. By the proof of Theorem S2.4, for each the terminal node consists of observations with covariate value only, with probability tending to one, and the corresponding weighted estimators and converge uniformly on in probability to and . Assumption 5 and bound the limiting at-risk probability away from zero. The continuity of the integration functional with
, established in Lemma S5.9 and Remark S5.10, therefore gives
and the integral equals because is continuous. Moreover, in probability by the proof of Theorem S2.7(i). Since is fixed, uniformly on in probability.
Part (i). Evaluation at is continuous on , and is normally distributed with mean zero and variance by Proposition S2.8. Theorem 4.2 and the continuous mapping theorem thus give an asymptotically normal estimation error with limiting variance after scaling by . Slutsky's lemma and the consistency of show that the studentised difference is asymptotically standard normal, which yields (i).
Part (ii). In the proof of Proposition S2.8 it is shown that is a mean-zero Gaussian process with orthogonal increments and that is the -limit of linear combinations of increments of over . Hence, for , the increment is the -limit of linear combinations of increments of over and is therefore uncorrelated with, and by joint Gaussianity independent of, . Consequently, , and has the same finite-dimensional distributions as for a standard Brownian motion . Both processes are tight and Borel measurable in , the latter having continuous paths because is continuous, so that they have the same law, since the law of a tight Borel measurable map into is determined by its finite-dimensional marginals (van der Vaart and Wellner, 2023, Section 1.5). Since is continuous and non-decreasing with , it maps onto , and Brownian scaling gives
The supremum norm is continuous on , so Theorem 4.2, the continuous mapping theorem and Slutsky's lemma yield
The distribution function of the limit is continuous, which yields (ii). The value is the solution of , computed from the series representation
S4 Proofs of the additional asymptotic results
S4.1 Consistency of trees and bootstrap trees
Proof of Proposition S2.1. Fix and a non-absorbing state . It suffices to show that for some . We compute
where we used Assumption 1 in the second equality to remove the conditioning . The result now follows.
Proof of Theorem S2.2. Let be nonempty, let be non-absorbing, , and let . From the decomposition
and Assumptions 2 and 3, we see that . Letting denote the total number of observed jumps out of state for the th process , it follows from the second Borel–Cantelli lemma that
using that the variables are iid. To summarise, for any nonempty , occurs infinitely often with probability one. In particular, taking , every eventually has more than observed jumps out of every non-absorbing state . Consequently, if a node contains two different values from , any split separating them is admissible for all large , and by Assumption 4 the node is split. It follows that, almost surely, for all large every terminal node can be identified with exactly one (if this is the case, we write instead of in the estimators belonging to terminal node ). Hence, for any , there exists an almost surely finite such that for we have for all . Thus,
Hence it suffices to show that converges to uniformly on almost surely as . Recall that is grown on the sample
Letting , we have
by the strong law of large numbers and the continuous mapping theorem, and the same argument applied to shows that also almost surely. The same argument applies to show that almost surely. We now apply the key decomposition (see Supplementary Section S5 for background) and see that by the same argument as for ,
and similarly almost surely. Lemma S5.6 and the key decomposition therefore give
Thus converges jointly in the product uniform norm, almost surely. Now consider the function as specified further in Supplementary Section S5 given as follows:
As shown in Lemma S5.9 and Remark S5.10, is Hadamard differentiable on its domain and in particular continuous there, and lies in this domain for all large almost surely. In our case, , and if and . The first holds by assumption and the second holds by the choice of since
Applying the continuous mapping theorem (see Chapter 1.9 of van der Vaart and Wellner, 2023), we have
in the uniform norm on . The absorbing rows vanish identically, and the diagonal entries are minus the sums of the off-diagonal entries. Since the state space is finite, coordinatewise uniform convergence implies convergence in the matrix norm.
Proof of Corollary S2.3. Let denote the mapping from the set of uniformly bounded matrix functions on with entries of bounded variation to , the space of uniformly bounded functions on , given by
From Theorem 7 of Gill and Johansen (1990), we have uniform continuity of at A with when
where denotes the total variation norm over the interval given by
with for a matrix and where the supremum is taken over all possible partitions of . Both and are non-decreasing in time in each coordinate with , with diagonal entries equal to minus the row sums. Bounding the maximum over rows by the sum over rows in the definition of , we get
by the assumption . The continuous mapping theorem (see Chapter 1.9 of van der Vaart and Wellner, 2023) now yields
as desired. The proof is complete once we verify that almost surely. From the argument of the proof of Theorem S2.2, we have that for large enough and so
which converges almost surely to .
Proof of Theorem S2.4. Let be non-empty, non-absorbing, and . We have
which converges to by Lemma S5.3 and Proposition S5.5, in probability if and almost surely if is summable (Lemma S5.4). Multiplying by , the number of observations in the bootstrap sample with covariate value in and an observed jump out of exceeds any fixed level with probability tending to one (eventually, almost surely). Taking for each and arguing as in the proof of Theorem S2.2, Assumption 4 implies that every terminal node of the bootstrap tree contains a single covariate value, so that for all , with probability tending to one (eventually, almost surely). Thus, uniform weak (strong) consistency of follows from uniform weak (strong) consistency of . We have
and thus for a fixed ,
From the continuous mapping theorem and Lemma S5.3 and Proposition S5.5, if , this converges in probability to . If is summable, the convergence is almost sure. The same argument applies to . The same convergence holds at left limits and for the censoring contribution in Lemma S5.7. Lemma S5.6 therefore gives joint uniform convergence of the node estimators in the respective mode. Continuity of the Nelson–Aalen functional, as in the proof of Theorem S2.2, completes the proof.
S4.2 Single-tree Gaussian limits
We here present all the necessary background results leading up to the proof of Theorem S2.5. To this end, we apply methods from empirical processes, see Supplementary Section S5. In the proofs, the Nelson–Aalen estimator grown on the data where the covariates only take the value x,
is used throughout. Recall that denotes the full data set, see (S2.1). For the stratified Nelson–Aalen estimator at , define, for ,
for with fixed throughout. Then
Define the following empirical processes:
where as before. The strategy to prove weak convergence of the tree estimator goes as follows. Due to the discrete data assumption, a terminal node eventually contains only observations with a specific covariate combination. Hence it suffices to prove weak convergence of . To do so, we prove weak convergence of and . This is the content of the following propositions. The function classes belonging to and are
where denotes the space of càdlàg paths on .
Proposition S4.1 (Weak convergence of ). Fix with and suppose that . Then is Donsker and
where is a tight mean-zero Gaussian process with covariance structure
for .
Proof of Proposition S4.1. Define the function for . is càdlàg and non-decreasing from to . If , every function in vanishes almost surely and the conclusion is immediate. Otherwise, let denote a partition of and fix . We choose this sequence by dividing the second axis for into intervals of length at most and including all points where jumps of size larger than or equal to occur. Then
Define brackets for by
Then for , so that the brackets , , together with the degenerate bracket cover , and
so that the bracketing number satisfies where can be chosen as . The 2 comes from the fact that we need at most one additional point for the or larger jumps for each interval along the second axis of . Now,
and if we can show that the right hand side is finite, the proof is complete by Theorem 2.5.6 in van der Vaart and Wellner (2023). The second integral is zero, since if , we only need one bracket. As for the first,
where we used that . The proof is now complete.
Proposition S4.2 (Weak convergence of ). Suppose that for all . Then, for each , the class is Donsker and
where is a tight mean-zero Gaussian process with covariance structure
for .
Proof of Proposition S4.2. We apply the key decomposition as described in Lemma S5.7. Consider the function class
which we shall prove is Donsker. Let denote a partition of and consider the functions
The brackets for , together with the degenerate bracket , cover . Let be arbitrary. Defining , we choose the sequence in such a way that all jumps of in of size larger than or equal to are included and
This is possible since is càdlàg and non-decreasing. Then
and thus . This is possible since we may first choose a sequence that partitions the second axis of into intervals of length at most and then include the possible jumps. This yields at most two points for each of the (at most) intervals. Now,
We want to show that the right hand side is finite. Since each is bounded by one, we have for , so the second integral is zero. As for the first, we repeat the calculations from the proof of Proposition S4.1 and get
By Theorem 2.5.6 in van der Vaart and Wellner (2023), is Donsker as claimed. It follows that the empirical process belonging to
converges weakly to a tight mean-zero Gaussian process. Proposition S4.1 gives weak convergence of , and the same holds for the empirical process corresponding to
by the classical central limit theorem. For any finite collection of time points, the centred and scaled initial-state indicators, censoring counts and transition counts form a vector of averages of iid random variables with finite second moments. The multivariate central limit theorem therefore gives joint finite-dimensional convergence. Together with marginal asymptotic tightness, this yields joint weak convergence of the centred empirical processes (van der Vaart and Wellner, 2023, Section 1.5). The continuous mapping theorem applied to the linear identity in Lemma S5.7 now gives the asserted limit for and its covariance function.
The following proposition combines the results of the two previous propositions into a joint weak convergence statement.
Proposition S4.3 (Joint weak convergence of components). Suppose that for all . Then
where the limit is a tight mean-zero Gaussian process with the following covariance structure:
where .
Proof of Proposition S4.3. Propositions S4.1 and S4.2 give marginal asymptotic tightness. Joint finite-dimensional convergence follows from the multivariate central limit theorem applied to the centred observation vectors at any finite collection of time points. Their covariances are the displayed expressions, which identify the joint Gaussian limit.
Proof of Theorem S2.5. By the same arguments as in Theorem S2.2, there exists an almost surely finite such that for , we have for all and . Hence it suffices to study the limit behaviour of
(S4.1)
By the strong law of large numbers, almost surely, and hence by Slutsky's lemma, the limit behaviour of (S4.1) is equivalent to that of
We apply the result of Proposition S4.3 together with the functional delta method, see Theorem 3.10.4 in van der Vaart and Wellner (2023). The function given by
considered in the proof of Theorem S2.2 is Hadamard differentiable in with derivative
where the first integral is defined through integration by parts, by Lemma S5.9 and Remark S5.10. Hence by the functional delta method and Proposition S4.3,
where the integral against is defined through integration by parts as in Remark S5.10. The result of the theorem now follows by Slutsky's lemma.
S4.3 Conditional bootstrap limits
Proof of Theorem S2.7(i). Throughout, the data are fixed and only the bootstrap weights are random; all statements hold for almost every data sequence. For a function of a single observation with , the bootstrap average has conditional mean by the strong law of large numbers and conditional variance
almost surely, since the first term converges to zero by Assumption S1(i) and the strong law of large numbers, while the second is non-positive by Proposition S5.5. Hence the bootstrap average converges to in conditional probability for almost every data sequence. Applied with and arguing as in the proof of Theorem S2.4, the terminal node of the bootstrap tree contains only the covariate value with conditional probability tending to one, and on this event
Applied with , we get in conditional probability. Hence it suffices to consider the limit results with and instead of and and with instead of . Afterwards, we scale by as was done in the proof of Theorem S2.5. It remains to verify the requirements of Theorem 3.7.13 in van der Vaart and Wellner (2023) for both the and components and both bootstrap schemes (see also Praestgaard and Wellner, 1993, for background on the bootstrap results used). We know that the function class
is Donsker by Proposition S4.3. Furthermore, by the moment assumption on , this function class has an envelope function with finite -norm. For this particular proof, let
Now consider the bootstrap empirical processes
We need to incorporate the multinomial subsampling and subsampling without replacement schemes into the framework of Theorem 3.7.13 in van der Vaart and Wellner (2023). Starting with multinomial subsampling, as is done in Example 3.7.10 in van der Vaart and Wellner (2023), consider the weight vector equal to times . Let denote the empirical average of the weights and note that . With this choice of weights, we get
which coincides with the weighted bootstrap empirical process in Section 3.7.2 of van der Vaart and Wellner (2023) for the function class . The same calculation applies to the process . The weights satisfy the requirements in (3.7.8) of Theorem 3.7.13, and we may conclude that
for almost every fixed sequence of data as specified in the theorem. To conclude the proof in the case of multinomial subsampling, we need only apply an almost sure conditional delta-method. To this end, we apply Theorem 3.10.13 of van der Vaart and Wellner (2023). All the conditions in this theorem are satisfied, including the uniform Hadamard differentiability (3.10.12), which is the second statement of Lemma S5.9.
For subsampling without replacement, define the weights as a row of times the number and times the number 0 ordered at random. In this case, , and elementary calculations show that
which equals the weighted bootstrap empirical process from van der Vaart and Wellner (2023) up to multiplication by the factor , which converges to by assumption. The same computation applies to . Since , also , so that the conditions in (3.7.8) are satisfied, and the joint limit of is , conditionally on the data, for almost every sequence of data. Applying Theorem 3.10.13 of van der Vaart and Wellner (2023) once again, and using that the Hadamard derivative is linear, yields the limit and completes the proof.
Proof of Theorem S2.7(ii). Let denote the number of observations in the terminal node belonging to x for the bth tree. Since the sets (triangular arrays) of bootstrap weights for each tree are independent, the vector
converges weakly conditionally on the data to , where are iid copies of . By part (i), in conditional probability for almost every data sequence, for each b. Conditional Slutsky convergence therefore gives
conditionally on the data. Apply the continuous mapping theorem to conclude
conditionally on the data. Now, since the components are iid mean-zero Gaussian processes, the normalised sum has the same distribution as , and we conclude that, conditionally on the data,
as desired.
S4.4 Markov variance and transition probabilities
Proof of Proposition S2.8. Throughout the proof, let . Define
and let denote iid copies of . Then
From Proposition S4.3, it holds that
uniformly in . Moreover,
We now apply the Markov assumption together with Assumption 1, which ensures that remains Markov with the same transition rates with respect to the enlarged filtration , to conclude that the -compensator of is
See Andersen et al. (1993) for details, in particular Chapter III.2. It follows from (2.4.2) of Andersen et al. (1993) that the predictable variation process of is
and hence that the variance of is
which coincides with the variance of . Also, since is a -martingale, we have for that
The multivariate central limit theorem identifies the covariance of any finite vector of increments of with that of the corresponding increments of . Thus also has orthogonal increments. Now let be a step function where are disjoint intervals. Then if denotes the variance measure of ,
The integrand is càglàd, bounded and of bounded variation, hence the uniform limit of step functions of the above form with uniformly bounded variation. By the isometry just established, , so the integrals converge in . Their limit coincides with the integral defined through integration by parts, since both definitions agree for step functions and are continuous along such sequences (Lemma S5.8), and the variances converge, which yields the result.
For the second claim, note that in the proof of Theorem S2.2, it was established that
Moreover, with , which is a map of the form considered in Remark S5.10. With the constants and given there, is twice continuously differentiable on , so that Lemma S5.9 and Remark S5.10 show that this map is continuous at , and lies in its domain for all large , almost surely. The second claim now follows from the continuous mapping theorem, since when is continuous.
Proof of Theorem S2.10. By Proposition S4.3 and the functional delta method applied jointly to all pairs , exactly as in the proof of Theorem S2.5, the matrix-valued process converges weakly to the matrix with . By Theorem 8 of Gill and Johansen (1990), the map is Hadamard differentiable at , tangentially to the càdlàg matrix functions, on the set of matrix functions of total variation bounded by a fixed constant, with derivative , the integral being defined through integration by parts. Since has total variation bounded by a fixed constant for all large (see the proof of Corollary S2.3), the functional delta method together with (2.2) yields the claim.
S5 Auxiliary results
S5.1 Bootstrap averages
When growing a random forest, each tree is grown on its own bootstrap sample of the original data. In order to establish asymptotic results for the random forest, we thus need to consider a sufficiently general mathematical formulation of the bootstrap. Suppose denotes a generic iid data sample. Each observation in the data is then given a bootstrap weight , and we assume that the full vector of weights is non-negative, exchangeable and independent of . In our treatment of the Nelson–Aalen estimator, we need only consider (functionals of) estimators of the form
where is a known measurable function. In the following, we may without loss of generality assume that is the identity, so that . We then define the bootstrap version of by
The reason for the in the denominator is that is the (expected) number of elements in the sample. This will be exemplified via classical bootstrap schemes below. To simplify our analysis and lighten the notation, we will work with normalised bootstrap weights
so that simplifies to
Example S5.1 (Multinomial subsampling). If we subsample observations (note that is allowed to depend on ) from the original data with replacement, the weights are multinomial with trials and probabilities . Note that and that , which concurs with the interpretation that is the expected number of observations in the sample (here it is the exact number of observations).
Example S5.2 (Subsampling without replacement). Subsampling observations without replacement from the original data means that is binary with when observation is in the bootstrap sample and otherwise. As for multinomial subsampling, the subsample size is exactly .
The rest of this subsection is dedicated to stating requirements on the weights and the original data which ensure that consistency of is transferred to .
Assumption S1 (Weak consistency requirements on bootstrap weights). The bootstrap weights satisfy the following:
(i) (in particular, ),
(ii) or .
All the bootstrap schemes presented above satisfy these assumptions and the stronger conditions stated below, as verified in the subsequent proofs. The following lemma establishes -consistency under Assumption S1.
Lemma S5.3 (Weak consistency of bootstrap averages). Suppose is an iid sample with independent of the bootstrap weights . If the weights satisfy Assumption S1, then
and in particular, .
Proof. The law of large numbers for -convergence gives it therefore suffices to show that . We compute
The first term converges to zero by Assumption S1(i). Under part (ii), the second term either converges to zero or is non-positive. In the latter case, the first term bounds the non-negative left-hand side from above. Hence the left-hand side converges to zero.
We now present stronger bootstrap weight assumptions which ensure strong consistency of .
Assumption S2 (Strong consistency requirements on bootstrap weights). The bootstrap weights satisfy the following:
(i) (in particular, ),
(ii)
(iii)
(iv)
(v)
Here , so that (ii), (iv) and (v) hold in particular whenever the corresponding expectation is non-positive.
Under these assumptions, the result of Lemma S5.3 can be strengthened to almost sure convergence.
Lemma S5.4 (Strong consistency of bootstrap averages). Suppose is an iid sample of non-negative random variables with independent of the bootstrap weights . If the weights satisfy Assumption S2, then
Proof. The strong law of large numbers gives almost surely, so it suffices to show that almost surely. By the Markov inequality and the Borel–Cantelli criterion for almost sure convergence, it suffices to show that is summable. We compute
where counting the index multiplicities gives
Substitution yields
and since , every factor of the form is non-negative, while the remaining coefficients in lie in . Replacing each weight moment by its positive part therefore yields an upper bound for the non-negative left hand side, and the summability conditions of Assumption S2 finish the proof.
The two subsampling schemes satisfy these requirements under the following conditions on their sample sizes.
Proposition S5.5 (Bootstrap weights of the two subsampling schemes). Assume either the multinomial subsampling or subsampling without replacement bootstrap weights with subsample size . Then:
(i) If , the weights satisfy the conditions in Assumption S1.
(ii) If , the weights satisfy the conditions in Assumption S2.
Proof of Proposition S5.5. We first consider the weak consistency requirements, so assume . For the multinomial subsampling scheme, is binomial with parameters and , so
and by the results of Ouimet (2021),
which proves the claim for multinomial subsampling. Now consider subsampling without replacement. As is Bernoulli distributed with success probability ,
As for the covariance, note that so
which shows that the weak consistency requirements also hold for subsampling without replacement.
Now consider claim (ii) and let . We first consider multinomial subsampling, where we refer to Ouimet (2021) for all central moment computations. We compute:
(i)
(ii)
(iii)
(iv)
since this mixed central moment of the multinomial distribution is of order by the formulas in Ouimet (2021).
(v)
Thus each requirement in Assumption S2 is satisfied by the multinomial subsampling scheme. Now consider subsampling without replacement. We verify each requirement.
(i) Using that is Bernoulli distributed with success probability ,
(ii) We have , so
and rearranging yields
(iii) The joint distribution of is given by
Thus,
which implies .
(iv) As in (ii), the identity gives
hence by the result in (ii),
(v) We have
implying
where we used the identity from (iv) and the orders established in (i)–(iii).
S5.2 Uniform convergence
Lemma S5.6 (Abstract Glivenko–Cantelli). Let be a closed interval and a non-decreasing, bounded and càdlàg function. Assume that is a sequence of random functions with non-decreasing càdlàg paths such that and -a.s. (in probability, respectively) for all . At the left endpoint, set and . Then
Proof. Fix . Since is bounded, non-decreasing and càdlàg, there is a finite partition such that for every . Define
For , monotonicity gives
At the partition points, the absolute error is bounded by . Hence
The finite maximum converges to zero in the assumed mode. For almost sure convergence, apply this bound along a countable sequence . For convergence in probability, fix any and choose ; the probability that the supremum exceeds is at most , which tends to zero.
S5.3 Counting-process decomposition
The following decomposition is used repeatedly in the proofs of Supplementary Sections S4.1 and S4.2. When establishing uniform convergence, we rely on tools such as the abstract
Glivenko–Cantelli theorem presented above in Lemma S5.6. This result only applies to estimators and estimands that are non-decreasing in time. This is the case for the estimator of , but not for . We therefore decompose the latter into a sum of monotone estimators, as stated in the following lemma.
Lemma S5.7 (Key decomposition). For each and ,
Proof. We use the inflow-outflow identity for each j given by
The identity follows by counting entries into and exits from state . Since is a non-increasing process with a single jump of size at , integration by parts yields
Defining the censoring contribution and its estimator
we see that the key decomposition yields
and so uniform consistency for follows from uniform consistency of both and , and this is immediately established from the abstract Glivenko–Cantelli lemma.
S5.4 Empirical processes and differentiability
For iid observations with law P and a class H of measurable functions, write
The class is P-Donsker if
(S5.1)
where G is a tight mean-zero Gaussian process with covariance . All function spaces below carry the uniform norm. We use the empirical-process conventions of van der Vaart and Wellner (2023).
A bracket contains the functions satisfying ; its endpoints need not belong to . Let be the minimum number of brackets of -width less than covering . The bracketing criterion of van der Vaart and Wellner (2023, Theorem 2.5.6) establishes the Donsker property when
To transfer weak convergence to the rate estimators, we use the functional delta method. The next two lemmas establish the required uniform Hadamard differentiability on a domain of functions with uniformly bounded variation.
Lemma S5.8 (Integrals against uniformly vanishing integrators). Let be a compact interval, let be regulated, and let be càdlàg functions of bounded variation on such that and . Here denotes total variation. Then
Proof. For , approximate uniformly within by a step function that is constant on each open partition interval and has separately specified values at the partition points. Such an approximation exists because is regulated. The integral of against is a finite linear combination of increments and jumps of , each bounded in absolute value by , uniformly in the upper endpoint. Hence
where is a finite constant depending only on . Let and then .
Lemma S5.9 (Uniform Hadamard differentiability). Let be a compact interval, , , and . Let consist of pairs of càdlàg functions with total variation at most in each coordinate and . The map
is Hadamard differentiable tangentially to , with derivative
Moreover, if , and uniformly, with and in , then
uniformly on I.
Proof. A Taylor expansion, the uniform convergence of , and the variation bound on give, uniformly in v,
Indeed, the Taylor remainder is bounded by . For the first integral, integration by parts yields
The boundary terms converge uniformly. Replacing by costs at most . Lemma S5.8, applied to the regulated function and the uniformly vanishing integrator , handles the remaining difference, since its variation is at most .
For the second integral, replacing by costs at most . Finally, uniformly with variation at most 2K, so Lemma S5.8, now with integrand , gives the asserted limit. The displayed derivative is linear and continuous in by the variation bounds.
Remark S5.10. The Nelson–Aalen functional integrates against the left limit of the at-risk process, that is, it is of the form with . The proof of Lemma S5.9 also applies to this map, using and the integration-by-parts identity below. It gives uniform Hadamard differentiability with derivative
where the first integral is defined through integration by parts,
At the left endpoint, set and . In the applications, , or in the proofs of Proposition S2.8 and Corollary 4.3, on with , which is positive by Assumption 5 and the choice , and , where exceeds . The estimators involved converge uniformly to functions bounded below by , namely to for the estimators normalised by the number of observations in the node, and to for those normalised by or . They take values in and have total variation bounded by or its analogue under the respective normalisation, which converges to a limit smaller than in the respective mode of convergence; the estimators of are non-decreasing, with total variation converging to at most . Hence the estimators lie in the domain of the map for all large , almost surely (with probability tending to one for their bootstrap versions). This suffices for the continuous mapping theorem and for the functional delta method.
S6 Additional numerical results
Table S6.1 summarises all four simulation studies. This section presents the proportional-hazards study with log-linear effects and variable importance, supporting results for the two main prediction studies, the coverage study, and further biomedical analyses. The common prediction protocol is given in Subsection 5.1.
In the simulation box plots, boxes show quartiles, whiskers extend to the most extreme replications within 1.5 interquartile ranges, more extreme replications are not displayed, and symbols and connecting lines mark the means. The biomedical relative-score plots use the same conventions; the absolute-score plots additionally display points outside the whiskers.
S6.1 Proportional hazards: noise covariates and variable importance
We first consider the illness–death model without recovery with transition intensities
where , and are independent and the initial distribution is independently of the covariates. We use fixed administrative censoring at . All transitions follow proportional hazards models with time-varying baselines, so that the transition-wise Cox model is correctly specified. We simulate observations, add independent standard normal noise covariates, and compare the jump forest with Cox and Cox lasso; Figure S6.1 shows the results.
The comparison with unpenalised Cox changes as noise covariates are added, whereas lasso and the forest remain comparable. The median paired relative IBS difference for Cox is -1.6 percent without noise, with interquartile range , and 7.6 percent with 50 noise covariates: a small initial advantage for Cox becomes an advantage for the forest. For lasso, median relative differences remain between -0.2 and 0.4 percent, with interquartile ranges containing zero throughout.
We next rank the covariates by the permutation importance of Supplementary Section S1.3. The held-out importance (S1.4) is computed for JF, Cox and Cox lasso from the 80/20 splits, and for the forest we also report the internal importance (S1.5), which requires no test set; each covariate is permuted once in every replication except for the internal importance estimate, which performs its own permutation. The experiment uses 10, 25 and 50 noise covariates and 100 replications. The effect of acts only through transition , which is never experienced by the 60 percent of individuals who start in state 2. Across the methods and noise levels considered, has the lowest recovery frequency of the three signal covariates. Table S6.2 reports how often each signal covariate is ranked among the three most important covariates; summing the three individual percentages and dividing by 100 gives the mean number of recovered signals.
| Proportional hazards | Threshold interaction | Non-proportional hazards | Coverage | |
|---|---|---|---|---|
| Transitions | ||||
| Proportional hazards | yes | yes | no | no |
| Covariate effect | log-linear | threshold interaction | piecewise constant in time, with interactions | time-varying effects and interactions |
| Covariates | binary; continuous | binary; continuous | binary; | 16 signal combinations; 96 with two noise covariates |
| Added noise covariates | , standard normal | at , standard normal | none | none, or and |
| Initial distribution | ||||
| Censoring | Administrative at time 8 | none | independent of , uniform on | none on |
| Sample size | 1000 | 50 to 5000 without noise; 1000 with noise | 50 to 5000 | 500 to 5000 |
| Competitors | Cox, Cox lasso | sample size: Cox, Cox , Cox interactions, RSF; noise: Cox, Cox , Cox interactions, Cox lasso | Cox, Cox interactions | stratified Nelson-Aalen estimator |
| Criteria | relative IBS, variable importance | relative IBS, occupation probabilities | relative IBS | coverage, bias, root mean squared error, interval width |
| Location | Supplementary Section S6.1 | Subsection 5.2 | Subsection 5.3 | Supplementary Section S6.4 |
Table S6.1: Overview of the simulation studies. All processes are Markov conditionally on the covariates, and every study uses 100 replications.

Model Cox Cox Lasso
Figure S6.1: Proportional hazards study with log-linear effects, , 100 replications. Relative difference (percent) in test-set IBS of the transition-wise Cox model (Cox) and its lasso-penalised version (Cox Lasso) with respect to the jump forest (JF), as a function of the number of added standard normal noise covariates. Positive values favour JF.
| Noise covariates | All three | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 10 | 25 | 50 | 10 | 25 | 50 | 10 | 25 | 50 | 10 | 25 | 50 | |
| JF, internal | 93 | 90 | 91 | 96 | 94 | 94 | 44 | 36 | 27 | 35 | 26 | 22 |
| JF, held-out | 85 | 85 | 83 | 82 | 83 | 81 | 42 | 33 | 27 | 26 | 19 | 13 |
| Cox, held-out | 88 | 82 | 69 | 86 | 81 | 70 | 41 | 24 | 18 | 24 | 11 | 5 |
| Cox lasso, held-out | 88 | 80 | 74 | 83 | 76 | 71 | 51 | 46 | 40 | 42 | 38 | 31 |
Table S6.2: Variable importance in the proportional hazards study of Supplementary Section S6.1, , 100 replications. Percentage of replications in which each signal covariate, and all three jointly, are ranked among the three most important covariates, for 10, 25 and 50 added noise covariates. The internal importance (S1.5) of the jump forest uses out-of-bag observations; the held-out importances (S1.4) use the test data. Monte Carlo standard errors of the percentages are at most 5 percentage points.

Model Cox Cox X1:X2 Cox interactions RSF JF
Figure S6.2: Threshold-interaction study, 100 replications. Normalised test-set IBS of the jump forest (JF), the transition-wise Cox models (Cox, Cox X1:X2 and Cox interactions) and random survival forest (RSF), as a function of sample size n.
The internal importance of the forest has the largest mean number of recovered signals at all three noise levels, but lasso more often recovers and all three signals jointly. Internal importance recovers and in 90–96 percent of replications, compared with 81–85 percent for its held-out version. At 50 noise covariates, lasso recovers and all three signals in 40 and 31 percent of replications, respectively, compared with 27 and 22 percent for internal importance. Thus the comparison does not establish uniformly better variable selection.
S6.2 Supporting results for the threshold interaction
Figure S6.2 gives the absolute IBS values underlying Figure 2 in Subsection 5.2. For this model, , so the covariates act through a change of time scale. The occupation curves in Figure S6.3 illustrate the functional-form mismatch. Cox approximates the low-intensity group well but is biased in the high-intensity group. The forest captures this separation more closely, although it overestimates the early occupation of state 2. RSF underestimates absorption more markedly. These curves illustrate the fitted predictions at four covariate values and complement the replicated score comparisons.

Model — Truth — JF — Cox … RSF
Figure S6.3: Threshold-interaction study, n = 1000. True occupation probabilities (Truth) and estimates from the jump forest (JF), transition-wise Cox model (Cox) and random survival forest (RSF). Rows correspond to the three states; columns to four covariate values with . The two right-hand columns have .
S6.3 Non-proportional hazards
Figure S6.4 shows the normalised IBS values underlying Figure 4. On the absolute scale, the median JF IBS decreases from 0.104 at to 0.100–0.103 for , whereas Cox interactions remains at 0.107–0.111 for .

Model JF Cox Cox interactions
Figure S6.4: Non-proportional hazards study, 100 replications. Normalised test-set IBS of the jump forest (JF) and transition-wise Cox models (Cox and Cox interactions), as a function of sample size n.
S6.4 Coverage study
The coverage study uses the model of Subsection 5.3, with two modifications. The initial distribution is , so that both non-absorbing states are occupied with positive probability throughout and Assumption 5 holds, and the analysis is restricted to the time interval . Occupation probabilities are computed using an estimated initial distribution. Since all censoring times exceed 5, no observation is censored on , and the study isolates the sampling variability of the estimators from the effect of censoring. We consider two covariate settings. Without noise, the covariates are , which take 16 distinct values; with noise, the covariates and , uniformly distributed on , which do not affect the process, are added, giving 96 distinct values. Both settings satisfy Assumption 2, and the cumulative transition rates are continuous. For each of the sample sizes and 5000, the splitting rule of the forest, chosen among the five rules described in Subsection 3.2 and Supplementary Section S1.1, and its minimum node size are selected by the OOB integrated Brier score on an independent pilot data set, which is shared by the two covariate settings (Table S6.3); the selected settings are held fixed across evaluation replications. Without noise, the selected minimum node size increases from 50 at n = 500 to 250 at n = 5000. Both estimators use all n observations. The forest uses the number of trees, resampling scheme and candidate split settings of Subsection 5.1. For B = 500 and with sampling without replacement, (4.1) gives , so the Monte Carlo contribution to the asymptotic variance is negligible. The Nelson–Aalen estimators in the terminal nodes are evaluated at all event times, and each setting is replicated 100 times.
We compute the nominal 95 percent pointwise intervals and simultaneous bands of Corollary 4.3, using for subsampling without replacement, and rounded to 2.24, and truncate negative lower limits at zero. The benchmark is the fully stratified Nelson–Aalen estimator (NA) for each , with the variance estimator of Proposition S2.8 computed from the same observations, and intervals and bands of the same form. Coverage is averaged equally over covariate values within the groups and ; a band covers only if it contains the true cumulative rate at all event times on and their left limits, and unavailable intervals count as non-coverage.
Monte Carlo standard errors are at most 3.6 percentage points, computed from the 100 replication-level group averages; forest variances use the node estimator and scaling of Corollary 4.3; band coverage is checked at t = 4, all event times across trees and their left limits.
Without noise, the selected minimum node size exceeds the expected subsampled count 0.7n/16 per covariate combination at every sample size: at n = 5000, the two are 250 and approximately 219. This makes separation of all covariate combinations difficult.
Table S6.4 shows three behaviours. JF coverage is close to nominal for the covariate-independent transition , ranging from 93.4 to 98.4 percent across both groups and covariate settings at n = 500, 2000 and 5000. Pooling can also mitigate sparsity. With noise covariates and n = 500, coverage for in the group is 88.9 percent for JF but 8.3 percent for NA, which has no observed transition, and hence zero estimate and variance, in 91.7 percent of the replication-covariate pairs. Pooling improves coverage substantially here, although JF remains below nominal.
Pooling heterogeneous rates can instead create bias that invalidates the bands. Without noise, JF coverage for in the group is only 41.1–65.0 percent. At and , its group-averaged bias is -0.71, against -0.09 for NA, while its mean interval is less than half as wide (0.84 against 1.76; Table S6.8). Figure S6.9 reveals opposing errors across : JF underestimates the highest cumulative rate and overestimates some lower rates. Pointwise coverage deteriorates after , when begins to affect the transition (Table S6.6).
Tables S6.4–S6.7 report simultaneous coverage and pointwise coverage over reporting times. Early pointwise intervals often undercover because few transitions have occurred. The constant-width band instead uses the variance at t = 4. Conversely, a band can fail because of bias at one time even when intervals cover at other times. These are different coverage criteria and need not have the same ordering. Log-scale intervals may improve the normal approximation when the estimated cumulative rate is positive, but do not resolve zero-event estimates or pooling bias.
Table S6.8 separates bias, RMSE and interval width. Small group-averaged bias does not imply accurate estimation at every covariate value: for in the group , biases of opposite signs largely cancel. Its RMSE at is nevertheless 0.28 for the forest and 0.14 for NA. Figures S6.9 and S6.10 show this heterogeneity. For transition with , the estimates do not separate the two values of , whose rates differ. Figures S6.5–S6.8 locate coverage failures in time.
| n | Without noise covariates | With noise covariates | ||||
| Splitting rule | Min. node size | OOB IBS | Splitting rule | Min. node size | OOB IBS | |
| 500 | Peto-Prentice | 50 | 0.1191 | Peto-Prentice | 50 | 0.1190 |
| 1000 | Gehan | 90 | 0.1133 | Gehan | 50 | 0.1129 |
| 2000 | Peto-Prentice | 150 | 0.1085 | Gehan | 125 | 0.1084 |
| 3000 | Gehan | 175 | 0.1081 | Gehan | 200 | 0.1079 |
| 4000 | Gehan | 200 | 0.1074 | Gehan | 175 | 0.1073 |
| 5000 | Gehan | 250 | 0.1069 | Peto-Prentice | 175 | 0.1063 |
Table S6.3: Tuning parameters of the jump forest in the coverage study. For each sample size, the splitting rule, chosen among the five rules described in Subsection 3.2 and Supplementary Section S1.1, and the minimum node size, chosen from a candidate grid depending on the number of observations, minimise the normalised out-of-bag integrated Brier score (OOB IBS) on an independent pilot data set, which is shared by the two covariate settings; they are held fixed over the 100 evaluation data sets.
| Covariates | Group | Transition | Model | 1000 | 2000 | 3000 | 4000 | 5000 | |
|---|---|---|---|---|---|---|---|---|---|
| Without noise | JF | 92.1 | 97.8 | 95.9 | 96.5 | 97.4 | 96.2 | ||
| NA | 93.9 | 95.0 | 95.5 | 95.1 | 96.2 | 95.2 | |||
| JF | 91.2 | 94.8 | 93.8 | 92.0 | 91.4 | 93.5 | |||
| NA | 67.1 | 88.5 | 89.6 | 91.4 | 91.6 | 92.5 | |||
| JF | 93.4 | 95.4 | 93.6 | 94.0 | 94.8 | 96.0 | |||
| NA | 81.0 | 89.0 | 90.8 | 91.6 | 93.4 | 94.9 | |||
| JF | 96.6 | 95.1 | 96.2 | 96.0 | 95.8 | 94.8 | |||
| NA | 93.6 | 94.2 | 95.6 | 95.9 | 95.4 | 95.9 | |||
| JF | 41.1 | 42.9 | 65.0 | 54.0 | 50.6 | 44.0 | |||
| NA | 82.2 | 92.0 | 93.6 | 94.9 | 95.8 | 93.1 | |||
| JF | 85.1 | 87.2 | 90.4 | 89.2 | 89.0 | 87.8 | |||
| NA | 41.0 | 66.6 | 75.9 | 75.2 | 78.0 | 79.5 | |||
| JF | 94.4 | 96.9 | 97.4 | 96.5 | 96.6 | 97.2 | |||
| NA | 85.9 | 91.2 | 93.9 | 94.6 | 93.9 | 94.0 | |||
| JF | 75.4 | 45.8 | 61.9 | 55.8 | 56.5 | 61.1 | |||
| NA | 93.1 | 93.5 | 95.6 | 95.5 | 94.6 | 94.8 | |||
| With noise | JF | 92.9 | 98.5 | 97.8 | 96.7 | 99.0 | 98.6 | ||
| NA | 80.6 | 89.2 | 92.8 | 93.8 | 94.2 | 94.5 | |||
| JF | 92.6 | 93.5 | 94.2 | 93.0 | 94.8 | 95.7 | |||
| NA | 17.1 | 31.8 | 51.5 | 66.9 | 77.9 | 83.5 | |||
| JF | 94.4 | 95.7 | 96.8 | 96.5 | 97.6 | 98.4 | |||
| NA | 30.6 | 53.7 | 74.3 | 80.1 | 84.0 | 86.7 | |||
| JF | 95.7 | 98.1 | 97.4 | 97.4 | 98.2 | 98.3 | |||
| NA | 76.5 | 87.3 | 91.2 | 93.5 | 94.4 | 94.0 | |||
| JF | 39.1 | 73.8 | 60.7 | 54.0 | 68.5 | 73.6 | |||
| NA | 55.3 | 67.5 | 76.3 | 82.5 | 85.4 | 87.8 | |||
| JF | 88.9 | 84.7 | 88.9 | 89.8 | 89.8 | 89.9 | |||
| NA | 8.3 | 17.3 | 30.6 | 42.0 | 52.0 | 59.1 | |||
| JF | 96.2 | 96.5 | 96.4 | 96.4 | 97.2 | 97.5 | |||
| NA | 41.0 | 62.7 | 82.2 | 86.8 | 88.8 | 89.1 | |||
| JF | 70.7 | 78.5 | 61.5 | 55.6 | 68.8 | 85.0 | |||
| NA | 84.1 | 90.5 | 94.0 | 93.8 | 95.2 | 95.1 |
Table S6.4: Simultaneous coverage (%) of the nominal 95 percent confidence bands on [0, 4] for the jump forest (JF) and the fully stratified Nelson-Aalen estimator (NA), for all sample sizes, without noise covariates covariate values) and with noise covariates covariate values). Coverage is averaged with equal weights over the covariate values within each group; intervals that cannot be computed count as non-coverage; 100 replications per sample size.
| Covariates | Group | Transition | Model | 1000 | 2000 | 3000 | 4000 | 5000 | |
|---|---|---|---|---|---|---|---|---|---|
| Without noise | JF | 80.4 | 84.9 | 85.0 | 86.8 | 89.9 | 90.6 | ||
| NA | 45.6 | 65.0 | 75.4 | 81.3 | 85.1 | 86.1 | |||
| JF | 78.2 | 86.3 | 83.8 | 85.8 | 88.3 | 90.2 | |||
| NA | 42.8 | 63.8 | 74.9 | 80.7 | 83.9 | 86.6 | |||
| JF | 88.2 | 90.6 | 90.3 | 91.2 | 92.1 | 93.3 | |||
| NA | 63.7 | 78.2 | 85.0 | 87.8 | 89.8 | 90.5 | |||
| JF | 93.6 | 93.6 | 93.3 | 93.8 | 94.2 | 94.3 | |||
| NA | 83.5 | 88.4 | 91.0 | 92.6 | 93.2 | 93.8 | |||
| JF | 65.7 | 67.5 | 77.2 | 69.9 | 67.1 | 63.0 | |||
| NA | 87.3 | 92.2 | 93.1 | 94.4 | 94.3 | 93.8 | |||
| JF | 74.8 | 81.2 | 84.5 | 87.0 | 87.9 | 89.3 | |||
| NA | 28.7 | 49.7 | 65.8 | 73.6 | 77.2 | 80.3 | |||
| JF | 89.6 | 92.5 | 94.0 | 94.4 | 94.5 | 94.5 | |||
| NA | 70.7 | 80.8 | 87.5 | 89.5 | 91.2 | 91.1 | |||
| JF | 81.4 | 61.8 | 71.7 | 68.9 | 67.1 | 69.6 | |||
| NA | 84.6 | 88.5 | 92.1 | 92.6 | 92.2 | 94.0 | |||
| With noise | JF | 83.3 | 83.3 | 87.7 | 89.9 | 92.7 | 93.2 | ||
| NA | 18.4 | 27.6 | 38.0 | 47.3 | 54.1 | 59.5 | |||
| JF | 79.6 | 82.3 | 85.7 | 87.5 | 91.1 | 92.2 | |||
| NA | 9.9 | 18.6 | 30.9 | 42.6 | 51.9 | 57.9 | |||
| JF | 89.5 | 89.9 | 92.8 | 93.8 | 95.2 | 96.0 | |||
| NA | 18.0 | 33.6 | 53.2 | 63.9 | 70.2 | 75.1 | |||
| JF | 93.6 | 94.7 | 94.8 | 95.0 | 96.9 | 97.2 | |||
| NA | 55.3 | 69.3 | 78.4 | 83.2 | 86.4 | 87.6 | |||
| JF | 64.5 | 84.1 | 74.3 | 69.8 | 79.2 | 81.6 | |||
| NA | 59.9 | 75.2 | 84.0 | 87.8 | 89.5 | 90.7 | |||
| JF | 78.1 | 75.4 | 82.7 | 87.3 | 87.3 | 87.7 | |||
| NA | 5.5 | 11.6 | 20.4 | 29.3 | 37.0 | 43.3 | |||
| JF | 91.5 | 90.9 | 92.9 | 94.6 | 95.0 | 94.9 | |||
| NA | 25.3 | 41.6 | 61.8 | 71.1 | 76.1 | 78.2 | |||
| JF | 77.4 | 81.6 | 72.7 | 68.8 | 76.4 | 87.6 | |||
| NA | 62.5 | 73.5 | 81.5 | 84.7 | 87.1 | 88.6 |
Table S6.5: Pointwise coverage (%) of the nominal 95 percent confidence intervals of Corollary 4.3(i), averaged over a grid of reporting times consisting of 250 common event times on (0, 4] and the change points 1.2, 2.3 and 3.3, for the jump forest (JF) and the fully stratified Nelson-Aalen estimator (NA). Coverage is averaged with equal weights over the covariate values within each group; 100 replications per sample size.
| Group | Transition | Model | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| JF | ||||||||||||||
| NA | ||||||||||||||
| JF | ||||||||||||||
| NA | ||||||||||||||
| JF | ||||||||||||||
| NA | ||||||||||||||
| JF | ||||||||||||||
| NA | ||||||||||||||
| JF | ||||||||||||||
| NA | ||||||||||||||
| JF | ||||||||||||||
| NA | ||||||||||||||
| JF | ||||||||||||||
| NA | ||||||||||||||
| JF | ||||||||||||||
| NA | ||||||||||||||
Table S6.6: Pointwise coverage (%) of the nominal 95 percent confidence intervals at the times for , without noise covariates, for the jump forest (JF) and the fully stratified Nelson–Aalen estimator (NA). Coverage is averaged with equal weights over the covariate values within each group; 100 replications per sample size.
| Group | Transition | Model | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| JF | ||||||||||||||
| NA | ||||||||||||||
| JF | ||||||||||||||
| NA | ||||||||||||||
| JF | ||||||||||||||
| NA | ||||||||||||||
| JF | ||||||||||||||
| NA | ||||||||||||||
| JF | ||||||||||||||
| NA | ||||||||||||||
| JF | ||||||||||||||
| NA | ||||||||||||||
| JF | ||||||||||||||
| NA | ||||||||||||||
| JF | ||||||||||||||
| NA | ||||||||||||||
Table S6.7: Pointwise coverage (%) of the nominal 95 percent confidence intervals at the times for , with noise covariates, for the jump forest (JF) and the fully stratified Nelson–Aalen estimator (NA). Coverage is averaged with equal weights over the covariate values within each group; 100 replications per sample size.
| Group | Transition | Model | Bias | RMSE | Mean interval width | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| t=1.2 | 2 | 3.3 | 4 | t=1.2 | 2 | 3.3 | 4 | t=1.2 | 2 | 3.3 | 4 | |||
| X1=0 | 1→2 | JF | 0.000 | 0.000 | 0.000 | +0.001 | 0.009 | 0.011 | 0.014 | 0.154 | 0.033 | 0.043 | 0.056 | 0.595 |
| NA | 0.000 | 0.000 | 0.000 | +0.002 | 0.013 | 0.016 | 0.021 | 0.227 | 0.044 | 0.060 | 0.079 | 0.843 | ||
| 1→3 | JF | 0.000 | 0.000 | 0.000 | -0.001 | 0.009 | 0.011 | 0.014 | 0.019 | 0.033 | 0.044 | 0.056 | 0.071 | |
| NA | 0.000 | 0.000 | 0.000 | -0.001 | 0.012 | 0.015 | 0.021 | 0.027 | 0.045 | 0.061 | 0.079 | 0.098 | ||
| 2→1 | JF | +0.001 | 0.000 | +0.003 | +0.003 | 0.017 | 0.023 | 0.036 | 0.038 | 0.065 | 0.091 | 0.143 | 0.154 | |
| NA | +0.001 | 0.000 | +0.003 | +0.003 | 0.024 | 0.033 | 0.053 | 0.056 | 0.092 | 0.128 | 0.201 | 0.217 | ||
| 2→3 | JF | -0.001 | -0.002 | -0.003 | -0.002 | 0.036 | 0.061 | 0.095 | 0.104 | 0.130 | 0.230 | 0.377 | 0.405 | |
| NA | -0.001 | -0.002 | -0.002 | -0.001 | 0.051 | 0.081 | 0.135 | 0.146 | 0.184 | 0.325 | 0.534 | 0.573 | ||
| X1=1 | 1→2 | JF | -0.001 | -0.106 | -0.475 | -0.710 | 0.047 | 0.487 | 1.360 | 1.858 | 0.186 | 0.335 | 0.645 | 0.835 |
| NA | -0.001 | -0.014 | -0.028 | -0.089 | 0.072 | 0.168 | 0.418 | 0.586 | 0.286 | 0.561 | 1.317 | 1.756 | ||
| 1→3 | JF | 0.000 | 0.000 | -0.001 | -0.004 | 0.009 | 0.013 | 0.022 | 0.028 | 0.035 | 0.053 | 0.086 | 0.102 | |
| NA | 0.000 | 0.000 | -0.002 | -0.004 | 0.014 | 0.022 | 0.042 | 0.063 | 0.049 | 0.076 | 0.119 | 0.140 | ||
| 2→1 | JF | -0.001 | -0.002 | -0.003 | -0.005 | 0.012 | 0.016 | 0.024 | 0.028 | 0.053 | 0.068 | 0.097 | 0.114 | |
| NA | -0.001 | -0.002 | -0.003 | -0.005 | 0.020 | 0.027 | 0.038 | 0.045 | 0.081 | 0.106 | 0.150 | 0.177 | ||
| 2→3 | JF | -0.009 | -0.006 | -0.017 | -0.047 | 0.124 | 0.113 | 0.136 | 0.278 | 0.107 | 0.168 | 0.256 | 0.301 | |
| NA | -0.001 | 0.000 | -0.002 | +0.002 | 0.045 | 0.066 | 0.101 | 0.135 | 0.162 | 0.260 | 0.401 | 0.486 | ||
Table S6.8: Bias and root mean squared error (RMSE) of the point estimators and mean width of the nominal 95 percent pointwise confidence intervals at the times , for without noise covariates, for the jump forest (JF) and the fully stratified Nelson-Aalen estimator (NA); 100 replications. The quantities are averaged with equal weights over the covariate values within each group, so that biases of opposite signs for different covariate values cancel in the average, whereas the RMSE (computed over all replications and covariate values of the group) does not. Entries 0.000 denote values smaller than in absolute value.

Figure S6.5: Coverage study without noise covariates, , 100 replications per sample size. Pointwise coverage of nominal 95 percent intervals for the jump forest (JF) and stratified Nelson–Aalen estimator (NA), averaged equally over covariate values within the group. Columns correspond to the four transitions; rows to n = 500, 1000, 2000, 3000, 4000 and 5000.

Figure S6.6: Coverage study without noise covariates, , 100 replications per sample size. Pointwise coverage of nominal 95 percent intervals for the jump forest (JF) and stratified Nelson–Aalen estimator (NA), averaged equally over covariate values within the group. Columns correspond to the four transitions; rows to n = 500, 1000, 2000, 3000, 4000 and 5000.

Figure S6.7: Coverage study with noise covariates, , 100 replications per sample size. Pointwise coverage of nominal 95 percent intervals for the jump forest (JF) and stratified Nelson–Aalen estimator (NA), averaged equally over covariate values within the group. Columns correspond to the four transitions; rows to n = 500, 1000, 2000, 3000, 4000 and 5000.

Figure S6.8: Coverage study with noise covariates, , 100 replications per sample size. Pointwise coverage of nominal 95 percent intervals for the jump forest (JF) and stratified Nelson–Aalen estimator (NA), averaged equally over covariate values within the group. Columns correspond to the four transitions; rows to n = 500, 1000, 2000, 3000, 4000 and 5000.

Figure S6.9: Coverage study without noise covariates, n = 5000, transition 1 → 2. Cumulative transition rates for all 16 covariate values. Grey curves show jump forest estimates from 100 replications; black curves show the true rates. Blue curves show the estimate, nominal 95 percent pointwise intervals and simultaneous band from the first replication.

Figure S6.10: Coverage study without noise covariates, n = 5000, transition . Cumulative transition rates for all 16 covariate values. Grey curves show jump forest estimates from 100 replications; black curves show the true rates. Blue curves show the estimate, nominal 95 percent pointwise intervals and simultaneous band from the first replication.

(a) ebmt3.

(b) bmt.

(c) cphholter.

(d) prova.
Figure S6.11: Multi-state models for the four biomedical data sets. Arrows indicate possible transitions and are labelled with the observed transition counts. Absorbing states have a heavier border.
S6.5 Biomedical data
The four data sets of Subsection 5.4 arise from the following clinical settings. The ebmt3 data are distributed with mstate (de Wreede et al., 2011); the companion website of Andersen and Ravn (2023) provides the remaining data and covariate descriptions.
ebmt3 Bone marrow transplantation data collected by the European Society for Blood and Marrow Transplantation. Platelet recovery is the intermediate event, and the question is whether reaching it changes the subsequent risk of relapse or death.
bmt Bone marrow transplantation data for acute leukaemia. Graft-versus-host disease (GvHD) is the intermediate event, and its effect on relapse and death is the clinical question.
cphholter The Copenhagen Holter Study, whose participants were surveyed in 1998–2000 and followed until 2013. Excessive supraventricular ectopic activity (ESVEA) is a baseline covariate, and the question is how much of the excess stroke risk that it carries can be explained by atrial fibrillation (AF).
prova The PROVA trial in liver cirrhosis, which randomised patients to propranolol, sclerotherapy, both or neither. Bleeding is the intermediate event, and the question is the effect of treatment on bleeding and death.
Figure S6.11 shows the state structures and observed transition counts. Figure S6.12 gives the absolute IBS values underlying Figure 5.

Figure S6.12: Biomedical data, 100 random 80/20 training–test splits. Normalised test-set IBS of the Aalen–Johansen estimator without covariates (AJ Null), the transition-wise Cox model (Cox), its lasso-penalised version (Cox Lasso) and the jump forest (JF). Rows correspond to the four data sets; columns to 0, 10, 25 and 50 added noise covariates. Points outside the whiskers mark individual replications.
S6.6 Covariate interactions
Beyond prediction, the fitted forest can be used to explore how the covariates act on the transition rates. We plot the predicted cumulative transition rates for selected covariate combinations; a reversal in their ordering between levels of a second covariate is incompatible with a main-effects Cox model. Differences in absolute spacing alone do not establish interaction on the multiplicative hazard scale. For the bmt data, Figure S6.13 displays the predicted rates for combinations of age (the age of the patient at transplantation) and all (an indicator of acute lymphoblastic leukaemia), and of all and bmonly (an indicator of bone marrow being the only graft source). In each panel, the covariates that are not displayed are held fixed at their most frequent levels; in panels (c) and (d), age is set to 32 years, the median age in the data.

(a) age by all, transition .

(b) age by all, transition .

(c) bmonly by all, transition .

(d) bmonly by all, transition .
Figure S6.13: Covariate combinations in the bmt data. Cumulative transition rates predicted by the jump forest for transplant to relapse (1 → 3, left) and GvHD to relapse (2 → 3, right). Top row: ages 19 (blue), 32 (grey) and 44 years (orange), with sex and bmonly held fixed. Bottom row: bmonly = 1 (blue) and 0 (grey), with sex held fixed and age set to 32 years. Solid and dashed curves denote all = 1 and 0, respectively.
For the transition from transplant to relapse, the ordering of the ages 19 and 32 reverses between the two levels of all; the ordering of bmonly also reverses. These fitted patterns suggest interactions that a main-effects Cox model cannot represent. However, the two methods have comparable overall IBS on bmt, so the patterns do not establish a predictive gain and should be treated as exploratory. Figure S6.14 gives corresponding plots for ebmt3.
The ebmt3 plots in Figure S6.14 show predicted cumulative rates by age, dissub (AML, ALL or CML) and tcd (T-cell depletion). The absolute differences associated with T-cell depletion vary across age groups, but the ordering of those groups is preserved. Such differences alone do not demonstrate interaction on the multiplicative hazard scale; the plots describe the fitted covariate patterns.

(a) age by dissub, transition .

(b) age by dissub, transition .

(c) age by tcd, transition .

(d) age by tcd, transition .
Figure S6.14: Covariate combinations in the ebmt3 data. Cumulative transition rates predicted by the jump forest for transplant to relapse or death (1 → 3, left) and platelet recovery to relapse or death (2 → 3, right). Colours denote age above 40 years (blue), 20–40 years (grey) and at most 20 years (orange). Top row, dissub: AML (solid), ALL (dashed) and CML (dash-dotted). Bottom row, tcd: no T-cell depletion (solid) and T-cell depletion (dashed). The remaining covariates are held fixed at their most frequent levels.
References
P. K. Andersen and H. Ravn. Models for Multi-State Survival Data: Rates, Risks, and Pseudo-Values. Texts in Statistical Science. Chapman & Hall/CRC, Boca Raton, 2023. ISBN 9780429029684. doi:10.1201/9780429029684.
P. K. Andersen, Ø. Borgan, R. D. Gill, and N. Keiding. Statistical Models Based on Counting Processes. Springer Series in Statistics. Springer, New York, 1993. ISBN 0-387-97872-0. doi:10.1007/978-1-4612-4348-9.
L. Breiman. Random forests. Machine Learning, 45(1):5–32, 2001. doi:10.1023/A:1010933404324.
A. Bücher and I. Kojadinovic. A note on conditional versus joint unconditional weak convergence in bootstrap consistency results. Journal of Theoretical Probability, 32(3):1145–1165, 2019. doi:10.1007/s10959-018-0823-3.
D. R. Cox. Regression models and life-tables. Journal of the Royal Statistical Society. Series B (Methodological), 34(2):187–202, 1972. doi:10.1111/j.2517-6161.1972.tb00899.x.
D. R. Cox and D. Oakes. Analysis of Survival Data. Monographs on Statistics and Applied Probability. Chapman and Hall, London, 1984. ISBN 0-412-24490-X.
L. C. de Wreede, M. Fiocco, and H. Putter. mstate: An R package for the analysis of competing risks and multi-state models. Journal of Statistical Software, 38(7):1–30, 2011. doi:10.18637/jss.v038.i07.
E. A. Gehan. A generalized Wilcoxon test for comparing arbitrarily singly-censored samples. Biometrika, 52(1–2):203–224, 1965. doi:10.1093/biomet/52.1-2.203.
T. A. Gerds and M. Schumacher. Consistent estimation of the expected Brier score in general survival models with right-censored event times. Biometrical Journal, 48(6):1029–1040, 2006. doi:10.1002/bimj.200610301.
R. D. Gill and S. Johansen. A survey of product-integration with a view toward application in survival analysis. The Annals of Statistics, 18(4):1501–1555, 1990. doi:10.1214/aos/1176347865.
E. Graf, C. Schmoor, W. Sauerbrei, and M. Schumacher. Assessment and comparison of prognostic classification schemes for survival data. Statistics in Medicine, 18(17–18):2529–2545, 1999. doi:10.1002/(SICI)1097-0258(19990915/30)18:17/18<2529::AID-SIM274>3.0.CO;2-5.
F. E. Harrell, R. M. Califf, D. B. Pryor, K. L. Lee, and R. A. Rosati. Evaluating the yield of medical tests. JAMA, 247(18):2543–2546, 1982. doi:10.1001/jama.1982.03320430047030.
G. Hooker, L. Mentch, and S. Zhou. Unrestricted permutation forces extrapolation: Variable importance requires at least one more model, or there is no free variable importance. Statistics and Computing, 31(6):82, 2021. doi:10.1007/s11222-021-10057-z.
H. Ishwaran and U. B. Kogalur. Random survival forests for R. R News, 7(2):25–31, October 2007. URL https://CRAN.R-project.org/doc/Rnews/.
H. Ishwaran, T. A. Gerds, U. B. Kogalur, R. D. Moore, S. J. Gange, and B. M. Lau. Random survival forests for competing risks. Biostatistics, 15(4):757–773, 2014. doi:10.1093/biostatistics/kxu010.
E. Longato, M. Vettoretti, and B. Di Camillo. A practical perspective on the concordance index for the evaluation and selection of prognostic time-to-event models. Journal of Biomedical Informatics, 108:103496, 2020. doi:10.1016/j.jbi.2020.103496.
N. Mantel. Evaluation of survival data and two new rank order statistics arising in its consideration. Cancer Chemotherapy Reports, 50(3):163–170, 1966.
F. Ouimet. General formulas for the central and non-central moments of the multinomial distribution. Stats, 4(1):18–27, 2021. doi:10.3390/stats4010002.
R. Peto and J. Peto. Asymptotically efficient rank invariant test procedures. Journal of the Royal Statistical Society. Series A (General), 135(2):185–198, 1972. doi:10.2307/2344317.
J. Praestgaard and J. A. Wellner. Exchangeably weighted bootstraps of the general empirical process. The Annals of Probability, 21(4):2053–2086, 1993. doi:10.1214/aop/1176989011.
R. L. Prentice. Linear rank tests with right censored data. Biometrika, 65(1):167–179, 1978. doi:10.1093/biomet/65.1.167.
C. Spitoni, V. Lammens, and H. Putter. Prediction errors for state occupation and transition probabilities in multi-state models. Biometrical Journal, 60(1):34–48, 2018. doi:10.1002/bimj.201600191.
R. E. Tarone and J. Ware. On distribution-free tests for equality of survival distributions. Biometrika, 64(1):156–160, 1977. doi:10.1093/biomet/64.1.156.
A. W. van der Vaart and J. A. Wellner. Weak Convergence and Empirical Processes: With Applications to Statistics. Springer Series in Statistics. Springer, Cham, second edition, 2023. ISBN 978-3-031-29038-1. doi:10.1007/978-3-031-29040-4.
M. Wolbers, P. Blanche, M. T. Koller, J. C. M. Witteman, and T. A. Gerds. Concordance for prognostic models with competing risks. Biostatistics, 15(3):526–539, 2014. doi:10.1093/biostatistics/kxt059.