TABLE 1.
Step 0a | Define a set of interventions , with and is the element of , . |
Step 0b | Set . |
For | |
Step 1a | Estimate the conditional density , see also Footnote 1. |
Step 1b | Estimate the conditional density , see also Footnote 1. |
Step 2 | Set , where is the element of intervention . |
Step 3a | Plug in into the estimated densities from step 1, to calculate and . |
Step 3b | Calculate the weights from (15) based on the estimates from 3a. |
If , estimate as required by the definition of (15) for . | |
Step 4 | Estimate , see also Footnote 2. |
Step 5 | Predict based on the fitted model from step 4 and the given intervention . |
For | |
Step 1a | Estimate the conditional density , see also Footnote 1. |
Step 1b | Estimate the conditional density , see also Footnote 1. |
Step 2 | Set . |
Step 3a | Calculate and . |
Step 3b | Calculate the weights . If , then is undefined. |
Step 4 | Estimate . |
Step 5 | Calculate ; that is, obtain the estimate of Estimand 2 at through calculating the weighted mean of the iterated outcome under the respective intervention at t=0. |
Then | |
Step 6 | Repeat steps 2–5 for the other interventions , . This yields an estimate of estimand 2 at . |
Step 7 | Repeat steps 1–6 on bootstrap samples to obtain confidence intervals. |
Note: 1The conditional treatment densities can be estimated with (i) parametric models, if appropriate, like the linear model, (ii) nonparametric flexible estimators, like highly‐adaptive LASSO density estimation [32], (iii) a “binning strategy” where a logistic regression model models the probability of approximately observing the intervention of interest at time , given one has followed the strategy so far and given the covariates, (iv) other options, like transformation models or generalized additive models of location, shape and scale [33, 34]. Items (i)–(iii) are implemented in our package mentioned below. 2The iterated weighted outcome regressions are recommended to be estimated data‐adaptively, because the weighted outcomes are often non‐symmetric. We recommend super learning for it [4], and this is what is implemented in the package mentioned below.