Long-horizon longitudinal TMLE#
This study validates LTMLE with binary treatment nodes at three, four and five decisions. It also
validates the duration working model of the marginal structural model (MSM) at five decisions. The laws come
from tests/discrete_law_longitudinal_horizon.py, which gives the exact truth of every estimand. The
comparator is R ltmle 1.3-0, fitted on the first
100 replications of the four paired scenarios. On the three non-MSM scenarios the ltmle targeted estimate,
standard error and untargeted g-computation estimate agree with those of cleverly to within \(10^{-6}\) on
every paired replication. The paired margins rows are descriptive.
The study publishes under the reporting policy. The design lists 28 gated truth rows and 16 gated
calibration cells before any run (tests/long_horizon_design.py). A red gated row or cell fails
tests/unit/test_long_horizon_design.py. A row outside the list reports its measured value and blocks nothing. The
support rows G46.tmle.* in src/cleverly/_support_rows.py cite this study.
What was compared#
Each scenario draws 3,000 replications at the \(n\) in the table. The \(n\) is the largest exact-law tail size \(n_\kappa\) of the rows that the scenario gates, rounded up to 4,000. The MSM scenario runs at twice its largest \(n_\kappa\), rounded up to 96,000, so that both coefficients are in the Wald regime.
scenario |
\(n\) |
plans |
what it reports |
|---|---|---|---|
|
4,000 |
|
regimen means and contrasts at three decisions |
|
16,000 |
the same four plans |
the same at four decisions |
|
76,000 |
the same four plans, |
the same at five decisions, and the paired contrast of |
|
96,000 |
|
the intercept and duration coefficients of the working model intercept plus duration, with an identity link and unit weights |
setting |
|
R |
|---|---|---|
mechanism |
the law’s treatment and censoring probabilities, passed as probability columns |
the same probabilities, passed as the numeric |
bounds |
|
|
outcome fit |
the declared quasibinomial GLM for each outcome and pseudo-outcome regression |
|
intervals |
Wald for every row. A single-fold, non-MSM scenario also writes a BCa row from 199 bootstrap refits |
Wald from the influence curve ( |
replications |
3,000 per scenario |
the first 100 of each paired scenario, on the same draws |
never and always are static plans, respond and switch are dynamic, and coin and coinlast are
known stochastic plans. tests/longitudinal_horizon_plans.py states each plan as the regimen that LTMLE takes.
Accuracy against known truth#
law |
estimand |
what was tested |
implementation |
bias (99% interval) |
coverage |
SE ratio |
result |
|---|---|---|---|---|---|---|---|
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “treat at every decision” against “never treat” |
|
-0.000913 to 0.0022 |
0.9477 |
1.0052 |
pass |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “treat at every decision” against “never treat” |
R |
-0.0056 to 0.0091 |
0.9900 |
1.2112 |
fail |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “treat at every decision” against “never treat”, read from the BCa interval of the refit bootstrap at B = 199 |
|
-0.000913 to 0.0022 |
0.9553 |
1.0079 |
pass |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise” against “never treat” |
|
-0.000067 to 0.0025 |
0.9477 |
1.0002 |
pass |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise” against “never treat” |
R |
-0.0019 to 0.0121 |
0.9600 |
0.9965 |
fail |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise” against “never treat”, read from the BCa interval of the refit bootstrap at B = 199 |
|
-0.000067 to 0.0025 |
0.9527 |
1.0006 |
pass |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm at every decision but the last, and the lowest arm at the last” against “never treat” |
|
-0.0013 to 0.0026 |
0.9433 |
0.9921 |
pass |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm at every decision but the last, and the lowest arm at the last” against “never treat” |
R |
-0.0016 to 0.0185 |
0.9400 |
1.0584 |
fail |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm at every decision but the last, and the lowest arm at the last” against “never treat”, read from the BCa interval of the refit bootstrap at B = 199 |
|
-0.0013 to 0.0026 |
0.9503 |
1.0055 |
pass |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: treat at every decision |
|
-0.000936 to 0.0015 |
0.9357 |
0.9983 |
pass |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: treat at every decision |
R |
-0.0074 to 0.0058 |
0.9800 |
1.0648 |
fail |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: treat at every decision, read from the BCa interval of the refit bootstrap at B = 199 |
|
-0.000936 to 0.0015 |
0.9560 |
1.0013 |
pass |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: never treat |
|
-0.0014 to 0.000630 |
0.9493 |
1.0007 |
pass |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: never treat |
R |
-0.0077 to 0.0025 |
0.9700 |
1.0830 |
fail |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: never treat, read from the BCa interval of the refit bootstrap at B = 199 |
|
-0.0014 to 0.000630 |
0.9563 |
1.0030 |
pass |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise |
|
-0.000051 to 0.0017 |
0.9467 |
0.9941 |
pass |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise |
R |
-0.0030 to 0.0080 |
0.9100 |
0.8897 |
fail |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise, read from the BCa interval of the refit bootstrap at B = 199 |
|
-0.000051 to 0.0017 |
0.9493 |
0.9904 |
pass |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm at every decision but the last, and the lowest arm at the last |
|
-0.0014 to 0.0019 |
0.9417 |
0.9841 |
pass |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm at every decision but the last, and the lowest arm at the last |
R |
-0.0024 to 0.0141 |
0.9700 |
1.0945 |
fail |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm at every decision but the last, and the lowest arm at the last, read from the BCa interval of the refit bootstrap at B = 199 |
|
-0.0014 to 0.0019 |
0.9603 |
1.0008 |
pass |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “treat at every decision” against “never treat” |
|
-0.0012 to 0.0012 |
0.9480 |
1.0120 |
pass |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “treat at every decision” against “never treat” |
R |
-0.0066 to 0.0077 |
0.9200 |
0.9473 |
fail |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “treat at every decision” against “never treat”, read from the BCa interval of the refit bootstrap at B = 199 |
|
-0.0012 to 0.0012 |
0.9510 |
1.0129 |
pass |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise” against “never treat” |
|
-0.000672 to 0.0013 |
0.9487 |
1.0001 |
pass |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise” against “never treat” |
R |
-0.0050 to 0.0056 |
0.9600 |
1.0399 |
fail |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise” against “never treat”, read from the BCa interval of the refit bootstrap at B = 199 |
|
-0.000672 to 0.0013 |
0.9507 |
1.0003 |
pass |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm at every decision but the last, and the lowest arm at the last” against “never treat” |
|
-0.0019 to 0.000833 |
0.9410 |
0.9757 |
pass |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm at every decision but the last, and the lowest arm at the last” against “never treat” |
R |
-0.0110 to 0.0055 |
0.9400 |
0.9264 |
fail |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm at every decision but the last, and the lowest arm at the last” against “never treat”, read from the BCa interval of the refit bootstrap at B = 199 |
|
-0.0019 to 0.000833 |
0.9513 |
0.9857 |
pass |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: treat at every decision |
|
-0.0011 to 0.000655 |
0.9453 |
0.9934 |
pass |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: treat at every decision |
R |
-0.0042 to 0.0056 |
0.9500 |
1.0024 |
fail |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: treat at every decision, read from the BCa interval of the refit bootstrap at B = 199 |
|
-0.0011 to 0.000655 |
0.9503 |
0.9955 |
pass |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: never treat |
|
-0.0010 to 0.000577 |
0.9490 |
1.0121 |
pass |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: never treat |
R |
-0.0045 to 0.0048 |
0.9500 |
0.9820 |
fail |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: never treat, read from the BCa interval of the refit bootstrap at B = 199 |
|
-0.0010 to 0.000577 |
0.9570 |
1.0146 |
pass |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise |
|
-0.000492 to 0.000653 |
0.9560 |
1.0155 |
pass |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise |
R |
-0.0026 to 0.0035 |
0.9900 |
1.0717 |
fail |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise, read from the BCa interval of the refit bootstrap at B = 199 |
|
-0.000492 to 0.000653 |
0.9607 |
1.0143 |
pass |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm at every decision but the last, and the lowest arm at the last |
|
-0.0019 to 0.000320 |
0.9420 |
0.9724 |
pass |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm at every decision but the last, and the lowest arm at the last |
R |
-0.0093 to 0.0042 |
0.9300 |
0.8958 |
fail |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm at every decision but the last, and the lowest arm at the last, read from the BCa interval of the refit bootstrap at B = 199 |
|
-0.0019 to 0.000320 |
0.9513 |
0.9858 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “treat at every decision” against “never treat” |
|
-0.0012 to 0.000554 |
0.9540 |
1.0126 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “treat at every decision” against “never treat” |
R |
-0.0049 to 0.0044 |
0.9700 |
1.0777 |
fail |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “treat at every decision” against “never treat”, read from the BCa interval of the refit bootstrap at B = 199 |
|
-0.0012 to 0.000554 |
0.9543 |
1.0111 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “draw the arm at each decision from a known policy that reads the covariate” against “draw the arm from the known policy |
|
-0.000238 to 0.000170 |
0.9510 |
0.9967 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “draw the arm at each decision from a known policy that reads the covariate” against “draw the arm from the known policy |
|
-0.000238 to 0.000170 |
0.9527 |
0.9971 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “draw the arm at each decision from a known policy that reads the covariate” against “never treat” |
|
-0.000365 to 0.000938 |
0.9560 |
1.0380 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “draw the arm at each decision from a known policy that reads the covariate” against “never treat”, read from the BCa interval of the refit bootstrap at B = 199 |
|
-0.000365 to 0.000938 |
0.9590 |
1.0353 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “draw the arm from the known policy |
|
-0.000343 to 0.000984 |
0.9593 |
1.0439 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “draw the arm from the known policy |
|
-0.000343 to 0.000984 |
0.9597 |
1.0408 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise” against “never treat” |
|
-0.000659 to 0.000813 |
0.9523 |
1.0203 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise” against “never treat” |
R |
-0.0029 to 0.0047 |
0.9600 |
1.1075 |
fail |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise” against “never treat”, read from the BCa interval of the refit bootstrap at B = 199 |
|
-0.000659 to 0.000813 |
0.9540 |
1.0168 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm at every decision but the last, and the lowest arm at the last” against “never treat” |
|
-0.000641 to 0.0012 |
0.9557 |
1.0240 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm at every decision but the last, and the lowest arm at the last” against “never treat” |
R |
-0.0058 to 0.0043 |
0.9300 |
1.0598 |
fail |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm at every decision but the last, and the lowest arm at the last” against “never treat”, read from the BCa interval of the refit bootstrap at B = 199 |
|
-0.000641 to 0.0012 |
0.9590 |
1.0250 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: treat at every decision |
|
-0.0012 to 0.000073 |
0.9390 |
0.9872 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: treat at every decision |
R |
-0.0040 to 0.0027 |
0.9500 |
1.0201 |
fail |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: treat at every decision, read from the BCa interval of the refit bootstrap at B = 199 |
|
-0.0012 to 0.000073 |
0.9480 |
0.9894 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: draw the arm at each decision from a known policy that reads the covariate |
|
-0.000078 to 0.000232 |
0.9503 |
0.9976 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: draw the arm at each decision from a known policy that reads the covariate, read from the BCa interval of the refit bootstrap at B = 199 |
|
-0.000078 to 0.000232 |
0.9547 |
0.9962 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: draw the arm from the known policy |
|
-0.000129 to 0.000351 |
0.9470 |
0.9921 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: draw the arm from the known policy |
|
-0.000129 to 0.000351 |
0.9543 |
0.9909 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: never treat |
|
-0.000850 to 0.000431 |
0.9560 |
1.0350 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: never treat |
R |
-0.0033 to 0.0026 |
0.9900 |
1.2585 |
fail |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: never treat, read from the BCa interval of the refit bootstrap at B = 199 |
|
-0.000850 to 0.000431 |
0.9567 |
1.0326 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise |
|
-0.000497 to 0.000232 |
0.9487 |
1.0033 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise |
R |
-0.0016 to 0.0026 |
0.9400 |
0.9740 |
fail |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise, read from the BCa interval of the refit bootstrap at B = 199 |
|
-0.000497 to 0.000232 |
0.9543 |
1.0013 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm at every decision but the last, and the lowest arm at the last |
|
-0.000601 to 0.000766 |
0.9480 |
1.0051 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm at every decision but the last, and the lowest arm at the last |
R |
-0.0049 to 0.0027 |
0.9400 |
1.0125 |
fail |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm at every decision but the last, and the lowest arm at the last, read from the BCa interval of the refit bootstrap at B = 199 |
|
-0.000601 to 0.000766 |
0.9560 |
1.0113 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5), with the working model of treatment duration |
|
working-model coefficient of treatment duration over the horizon: the intercept coefficient |
|
-0.0010 to 0.000084 |
0.9467 |
0.9851 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5), with the working model of treatment duration |
|
working-model coefficient of treatment duration over the horizon: the intercept coefficient |
R |
-0.0026 to 0.0037 |
0.9300 |
0.9591 |
fail |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5), with the working model of treatment duration |
|
working-model coefficient of treatment duration over the horizon: the treatment-duration coefficient |
|
-0.000089 to 0.000226 |
0.9477 |
1.0012 |
pass |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5), with the working model of treatment duration |
|
working-model coefficient of treatment duration over the horizon: the treatment-duration coefficient |
R |
-0.000866 to 0.000840 |
0.9600 |
1.0275 |
fail |
Every primary row reports against the exact truth of the law. The gated rows are the Wald rows that
wald_gated selects and the BCa rows that interval_of selects, 28 in all. The other rows report.
A single-fold fit without an MSM runs n_bootstrap=199 with bootstrap_interval="bca". It writes a Wald row
and a BCa row under the estimand name plus __bca. A Wald row gates only where the scenario \(n\) is
at least twice the exact-law tail size \(n_\kappa\) of the row. A BCa row gates only where the Wald row
does not gate. Where the Wald row gates, the BCa row reports. tests/long_horizon_design.py states the
rule in interval_of, and tests/unit/test_long_horizon_design.py checks the gated lists against it.
A cross-fitted fit reports Wald rows only, because the cross-fitted bootstrap is experimental (X20).
Every R ltmle row reads fail. Those rows come from 100 replications, and the gates are sized for
3,000. The 99% interval of the bias is then too wide to fit inside the margin, and the Clopper-Pearson lower
limit of a coverage near 0.95 falls below the 0.90 floor. The record declares this before the rows are read
(accepted_reference_failure), so the red-cell ledger does not list them. The exact gates below carry the
comparison.
Agreement with the canonical implementation#
R ltmle 1.3-0 refits the first 100 replications of each paired scenario from the same draws
(tests/canonical/long_horizon_ltmle/run_study.R). The study makes two exact claims, and both pass on
every paired replication. They are graded in parity.csv, and parity-replicates.csv holds each
replication’s differences.
gate |
what it compares |
cells |
largest difference |
tolerance |
|---|---|---|---|---|
G-P |
the targeted estimate and its standard error |
21 |
estimate \(2.69 \times 10^{-9}\), standard error \(4.04 \times 10^{-11}\) |
\(10^{-6}\) |
G-C |
the untargeted g-computation estimate ( |
21 |
\(4.54 \times 10^{-9}\) |
\(10^{-6}\) |
The 21 cells are every regimen mean and contrast of binary_k3, binary_k4 and binary_k5 that ltmle
can fit. A G-P match alone could hide a targeting step that both implementations skip, so each cell also
reports how far targeting moved the estimate. The smallest root-mean-square move is \(5.7 \times 10^{-3}\),
above the declared \(10^{-4}\) witness floor, so in every cell the step moved the estimate and the two
implementations moved it the same way.
The margins rows below compare the two implementations’ estimates on the 100 paired replications. They are descriptive by declaration: no pass probability was computed for their legs at 100 replications, so they state no verdict.
Comparator-backed: a paired comparison with ltmle on the same samples. Each row reports estimate equivalence within the declared margin, the RMSE ratio and the coverage difference, and names its comparison kind.
law |
estimand |
what was compared |
paired difference |
share of margin used |
RMSE ratio bound |
coverage difference |
comparison kind |
calibration resolution |
result |
|---|---|---|---|---|---|---|---|---|---|
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “treat at every decision” against “never treat” |
2.209e-10 |
5.249e-08 |
1.0000 |
0 |
matching implementation |
4.402e-09 vs 0.0500 |
descriptive |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise” against “never treat” |
1.993e-10 |
4.964e-08 |
1.0000 |
0 |
matching implementation |
2.517e-09 vs 0.0500 |
descriptive |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm at every decision but the last, and the lowest arm at the last” against “never treat” |
8.281e-11 |
1.445e-08 |
1.0000 |
0 |
matching implementation |
4.296e-09 vs 0.0500 |
descriptive |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: treat at every decision |
2.571e-10 |
6.854e-08 |
1.0000 |
0 |
matching implementation |
5.302e-09 vs 0.0500 |
descriptive |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: never treat |
3.620e-11 |
1.240e-08 |
1.0000 |
0 |
matching implementation |
2.291e-09 vs 0.0500 |
descriptive |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise |
2.355e-10 |
7.544e-08 |
1.0000 |
0 |
matching implementation |
6.231e-09 vs 0.0500 |
descriptive |
three binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm at every decision but the last, and the lowest arm at the last |
1.190e-10 |
2.519e-08 |
1.0000 |
0 |
matching implementation |
6.955e-09 vs 0.0500 |
descriptive |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “treat at every decision” against “never treat” |
9.336e-13 |
2.299e-10 |
1.0000 |
0 |
matching implementation |
7.966e-10 vs 0.0500 |
descriptive |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise” against “never treat” |
1.747e-10 |
5.792e-08 |
1.0000 |
0 |
matching implementation |
4.321e-09 vs 0.0500 |
descriptive |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm at every decision but the last, and the lowest arm at the last” against “never treat” |
8.497e-11 |
1.812e-08 |
1.0000 |
0 |
matching implementation |
1.969e-09 vs 0.0500 |
descriptive |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: treat at every decision |
3.451e-11 |
1.230e-08 |
1.0000 |
0 |
matching implementation |
2.361e-09 vs 0.0500 |
descriptive |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: never treat |
3.358e-11 |
1.260e-08 |
1.0000 |
0 |
matching implementation |
1.230e-09 vs 0.0500 |
descriptive |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise |
2.083e-10 |
1.209e-07 |
1.0000 |
0 |
matching implementation |
7.448e-09 vs 0.0500 |
descriptive |
four binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm at every decision but the last, and the lowest arm at the last |
1.185e-10 |
3.068e-08 |
1.0000 |
0 |
matching implementation |
2.111e-09 vs 0.0500 |
descriptive |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “treat at every decision” against “never treat” |
5.876e-10 |
2.198e-07 |
1.0000 |
0 |
matching implementation |
2.383e-08 vs 0.0500 |
descriptive |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise” against “never treat” |
-3.945e-11 |
1.826e-08 |
1.0000 |
0 |
matching implementation |
8.712e-09 vs 0.0500 |
descriptive |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
difference in counterfactual mean outcome between the plans “assign the highest arm at every decision but the last, and the lowest arm at the last” against “never treat” |
1.139e-10 |
3.956e-08 |
1.0000 |
0 |
matching implementation |
6.735e-09 vs 0.0500 |
descriptive |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: treat at every decision |
6.744e-10 |
3.525e-07 |
1.0000 |
0 |
matching implementation |
3.476e-08 vs 0.0500 |
descriptive |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: never treat |
8.681e-11 |
5.175e-08 |
1.0000 |
0 |
matching implementation |
3.109e-09 vs 0.0500 |
descriptive |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm where the covariate rule is on (W of at least 2 at the first decision, L_t = 1 afterwards) and the lowest arm otherwise |
4.736e-11 |
3.962e-08 |
1.0000 |
0 |
matching implementation |
3.690e-09 vs 0.0500 |
descriptive |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5) |
|
counterfactual mean outcome under the plan: assign the highest arm at every decision but the last, and the lowest arm at the last |
2.007e-10 |
9.254e-08 |
1.0000 |
0 |
matching implementation |
7.811e-09 vs 0.0500 |
descriptive |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5), with the working model of treatment duration |
|
working-model coefficient of treatment duration over the horizon: the intercept coefficient |
0.000017 |
0.0092 |
1.0069 |
0 |
different estimator |
0.0117 vs 0.0500 |
descriptive |
five binary decisions on law L_R (B = 1, s = 0.1, c0 = 3.5), with the working model of treatment duration |
|
working-model coefficient of treatment duration over the horizon: the treatment-duration coefficient |
0.000008 |
0.0157 |
1.0114 |
0 |
different estimator |
0.0079 vs 0.0500 |
descriptive |
ltmle takes no stochastic intervention, so five binary_k5 cells have no paired row: the means under
coin and coinlast, their contrasts with never, and their paired contrast. The BCa rows have no paired
row either, because ltmle fits no bootstrap. binary_k5_msm pairs its two coefficients in margins rows
only, and they compare a different estimator of the same coefficients. The R side fits ltmle for each
of the six plans and projects the six estimates on the working model by least squares
(tests/canonical/ltmle_horizon_adapter.R). cleverly fits one pooled MSM fluctuation. The logit-link
ltmleMSM cell, which would fit the MSM inside ltmle, was not audited within the comparator’s run
budget, so no exact gate is declared on the MSM coefficients.
The separate parity record long-horizon-ltmle-parity repeats both gates at a small \(n\) on 500
replications of binary_k5 (G-P \(2.71 \times 10^{-9}\), G-C \(7.06 \times 10^{-9}\), smallest witness move
\(1.3 \times 10^{-2}\)). It is not a registered study and publishes no page. Its artifacts are in
tests/canonical/long_horizon_ltmle_parity/.
Theory properties#
property |
cell |
role |
what was tested |
what must hold |
measured |
result |
|---|---|---|---|---|---|---|
|
|
positive |
the mean under the known stochastic policy at 5 decisions: the censoring mechanism is the declared one |
bias interval inside the equivalence margin |
bias -0.000794 to 0.000819, margin 0.0035 |
pass |
|
|
control |
the mean under the known stochastic policy at 5 decisions: the same fit sets the retention probability to one, so it ignores censoring |
bias interval must fall entirely outside the margin |
bias -0.0175 to -0.0169, margin 0.0014 |
pass |
|
|
positive |
the contrast of the covariate rule |
bias interval inside the equivalence margin |
bias -0.000567 to 0.0019, margin 0.0054, SE ratio 0.9819 |
pass |
|
|
control |
the contrast of the covariate rule |
bias interval must fall entirely outside the margin |
bias 0.0510 to 0.0528, margin 0.0040, SE ratio 2.7501 |
pass |
|
|
positive |
the contrast of the covariate rule |
bias interval inside the equivalence margin |
bias -0.000083 to 0.0025, margin 0.0056, SE ratio 0.9701 |
pass |
|
|
positive |
the contrast of the covariate rule |
bias interval inside the equivalence margin |
bias -0.0014 to 0.000365, margin 0.0038, SE ratio 2.8972 |
pass |
|
|
positive |
the duration coefficient of the working model (identity link, unit weights) at 5 decisions, with the declared mechanism passed as known probabilities |
SE ratio and coverage intervals both inside their calibration bands |
coverage 0.9407 to 0.9556, SE ratio 0.9704 to 1.0169 |
pass |
|
|
control |
the duration coefficient of the working model (identity link, unit weights) at 5 decisions: a declared scale of independent noise is added to each estimate |
the SE-ratio interval must fall below the calibration band |
coverage 0.8225 to 0.8473, SE ratio 0.6995 to 0.7329 |
pass |
|
|
control |
the duration coefficient of the working model (identity link, unit weights) at 5 decisions: the reported standard errors are multiplied by a declared factor below one |
the SE-ratio interval must fall below the calibration band |
coverage 0.8683 to 0.8901, SE ratio 0.7763 to 0.8138 |
pass |
|
|
positive |
the mean under the known stochastic policy at 3 decisions, with the declared mechanism passed as known probabilities |
SE ratio and coverage intervals both inside their calibration bands |
coverage 0.9427 to 0.9573, SE ratio 0.9681 to 1.0136 |
pass |
|
|
control |
the mean under the known stochastic policy at 3 decisions: a declared scale of independent noise is added to each estimate |
the SE-ratio interval must fall below the calibration band |
coverage 0.8185 to 0.8436, SE ratio 0.6907 to 0.7227 |
pass |
|
|
control |
the mean under the known stochastic policy at 3 decisions: the reported standard errors are multiplied by a declared factor below one |
the SE-ratio interval must fall below the calibration band |
coverage 0.8640 to 0.8861, SE ratio 0.7750 to 0.8105 |
pass |
|
|
positive |
the mean under the known stochastic policy at 4 decisions, with the declared mechanism passed as known probabilities |
SE ratio and coverage intervals both inside their calibration bands |
coverage 0.9432 to 0.9577, SE ratio 0.9766 to 1.0217 |
pass |
|
|
control |
the mean under the known stochastic policy at 4 decisions: a declared scale of independent noise is added to each estimate |
the SE-ratio interval must fall below the calibration band |
coverage 0.8180 to 0.8431, SE ratio 0.6939 to 0.7264 |
pass |
|
|
control |
the mean under the known stochastic policy at 4 decisions: the reported standard errors are multiplied by a declared factor below one |
the SE-ratio interval must fall below the calibration band |
coverage 0.8756 to 0.8968, SE ratio 0.7802 to 0.8183 |
pass |
|
|
positive |
the mean under the known stochastic policy at 5 decisions, with the declared mechanism passed as known probabilities |
SE ratio and coverage intervals both inside their calibration bands |
coverage 0.9428 to 0.9574, SE ratio 0.9788 to 1.0268 |
pass |
|
|
control |
the mean under the known stochastic policy at 5 decisions: a declared scale of independent noise is added to each estimate |
the SE-ratio interval must fall below the calibration band |
coverage 0.8290 to 0.8535, SE ratio 0.6932 to 0.7275 |
pass |
|
|
control |
the mean under the known stochastic policy at 5 decisions: the reported standard errors are multiplied by a declared factor below one |
the SE-ratio interval must fall below the calibration band |
coverage 0.8679 to 0.8898, SE ratio 0.7832 to 0.8215 |
pass |
|
|
control |
the paired contrast of the known stochastic policy against the same policy that assigns the lowest arm at the last decision at 3 decisions: the standard error comes from the two plan variances alone, which is too wide for a paired contrast |
the SE-ratio interval must fall above the calibration band |
coverage 0.9895 to 0.9953, SE ratio 1.3408 to 1.4041 |
pass |
|
|
positive |
the paired contrast of the known stochastic policy against the same policy that assigns the lowest arm at the last decision at 3 decisions, with the declared mechanism passed as known probabilities |
SE ratio and coverage intervals both inside their calibration bands |
coverage 0.9443 to 0.9587, SE ratio 0.9730 to 1.0176 |
pass |
|
|
control |
the paired contrast of the known stochastic policy against the same policy that assigns the lowest arm at the last decision at 3 decisions: a declared scale of independent noise is added to each estimate |
the SE-ratio interval must fall below the calibration band |
coverage 0.8139 to 0.8392, SE ratio 0.6868 to 0.7191 |
pass |
|
|
control |
the paired contrast of the known stochastic policy against the same policy that assigns the lowest arm at the last decision at 3 decisions: the reported standard errors are multiplied by a declared factor below one |
the SE-ratio interval must fall below the calibration band |
coverage 0.8692 to 0.8909, SE ratio 0.7781 to 0.8147 |
pass |
|
|
control |
the paired contrast of the known stochastic policy against the same policy that assigns the lowest arm at the last decision at 4 decisions: the standard error comes from the two plan variances alone, which is too wide for a paired contrast |
the SE-ratio interval must fall above the calibration band |
coverage 0.9860 to 0.9929, SE ratio 1.3410 to 1.4078 |
pass |
|
|
positive |
the paired contrast of the known stochastic policy against the same policy that assigns the lowest arm at the last decision at 4 decisions, with the declared mechanism passed as known probabilities |
SE ratio and coverage intervals both inside their calibration bands |
coverage 0.9414 to 0.9562, SE ratio 0.9654 to 1.0133 |
pass |
|
|
control |
the paired contrast of the known stochastic policy against the same policy that assigns the lowest arm at the last decision at 4 decisions: a declared scale of independent noise is added to each estimate |
the SE-ratio interval must fall below the calibration band |
coverage 0.8257 to 0.8504, SE ratio 0.6881 to 0.7208 |
pass |
|
|
control |
the paired contrast of the known stochastic policy against the same policy that assigns the lowest arm at the last decision at 4 decisions: the reported standard errors are multiplied by a declared factor below one |
the SE-ratio interval must fall below the calibration band |
coverage 0.8638 to 0.8859, SE ratio 0.7720 to 0.8107 |
pass |
|
|
control |
the paired contrast of the known stochastic policy against the same policy that assigns the lowest arm at the last decision at 5 decisions: the standard error comes from the two plan variances alone, which is too wide for a paired contrast |
the SE-ratio interval must fall above the calibration band |
coverage 0.9878 to 0.9941, SE ratio 1.3532 to 1.4204 |
pass |
|
|
positive |
the paired contrast of the known stochastic policy against the same policy that assigns the lowest arm at the last decision at 5 decisions, with the declared mechanism passed as known probabilities |
SE ratio and coverage intervals both inside their calibration bands |
coverage 0.9395 to 0.9545, SE ratio 0.9695 to 1.0170 |
pass |
|
|
control |
the paired contrast of the known stochastic policy against the same policy that assigns the lowest arm at the last decision at 5 decisions: a declared scale of independent noise is added to each estimate |
the SE-ratio interval must fall below the calibration band |
coverage 0.8266 to 0.8512, SE ratio 0.6966 to 0.7300 |
pass |
|
|
control |
the paired contrast of the known stochastic policy against the same policy that assigns the lowest arm at the last decision at 5 decisions: the reported standard errors are multiplied by a declared factor below one |
the SE-ratio interval must fall below the calibration band |
coverage 0.8685 to 0.8903, SE ratio 0.7750 to 0.8131 |
pass |
|
|
positive |
the contrast of the known stochastic policy against the lowest-arm plan at 3 decisions, with the declared mechanism passed as known probabilities |
SE ratio and coverage intervals both inside their calibration bands |
coverage 0.9368 to 0.9522, SE ratio 0.9717 to 1.0193 |
pass |
|
|
control |
the contrast of the known stochastic policy against the lowest-arm plan at 3 decisions: a declared scale of independent noise is added to each estimate |
the SE-ratio interval must fall below the calibration band |
coverage 0.8251 to 0.8497, SE ratio 0.6940 to 0.7276 |
pass |
|
|
control |
the contrast of the known stochastic policy against the lowest-arm plan at 3 decisions: the reported standard errors are multiplied by a declared factor below one |
the SE-ratio interval must fall below the calibration band |
coverage 0.8695 to 0.8912, SE ratio 0.7773 to 0.8149 |
pass |
|
|
positive |
the contrast of the known stochastic policy against the lowest-arm plan at 4 decisions, with the declared mechanism passed as known probabilities |
SE ratio and coverage intervals both inside their calibration bands |
coverage 0.9350 to 0.9506, SE ratio 0.9571 to 1.0025 |
pass |
|
|
control |
the contrast of the known stochastic policy against the lowest-arm plan at 4 decisions: a declared scale of independent noise is added to each estimate |
the SE-ratio interval must fall below the calibration band |
coverage 0.8192 to 0.8442, SE ratio 0.6931 to 0.7265 |
pass |
|
|
control |
the contrast of the known stochastic policy against the lowest-arm plan at 4 decisions: the reported standard errors are multiplied by a declared factor below one |
the SE-ratio interval must fall below the calibration band |
coverage 0.8628 to 0.8850, SE ratio 0.7658 to 0.8026 |
pass |
|
|
positive |
the contrast of the known stochastic policy against the lowest-arm plan at 5 decisions, with the declared mechanism passed as known probabilities |
SE ratio and coverage intervals both inside their calibration bands |
coverage 0.9418 to 0.9565, SE ratio 0.9784 to 1.0260 |
pass |
|
|
control |
the contrast of the known stochastic policy against the lowest-arm plan at 5 decisions: a declared scale of independent noise is added to each estimate |
the SE-ratio interval must fall below the calibration band |
coverage 0.8326 to 0.8568, SE ratio 0.7050 to 0.7402 |
pass |
|
|
control |
the contrast of the known stochastic policy against the lowest-arm plan at 5 decisions: the reported standard errors are multiplied by a declared factor below one |
the SE-ratio interval must fall below the calibration band |
coverage 0.8667 to 0.8887, SE ratio 0.7829 to 0.8200 |
pass |
|
|
positive |
the contrast of the covariate rule |
SE ratio and coverage intervals both inside their calibration bands |
coverage 0.9395 to 0.9545, SE ratio 0.9735 to 1.0203 |
pass |
|
|
control |
the contrast of the covariate rule |
the SE-ratio interval must fall below the calibration band |
coverage 0.8178 to 0.8430, SE ratio 0.6866 to 0.7199 |
pass |
|
|
control |
the contrast of the covariate rule |
the SE-ratio interval must fall below the calibration band |
coverage 0.8698 to 0.8915, SE ratio 0.7788 to 0.8167 |
pass |
|
|
positive |
the contrast of the covariate rule |
SE ratio and coverage intervals both inside their calibration bands |
coverage 0.9370 to 0.9523, SE ratio 0.9682 to 1.0140 |
pass |
|
|
control |
the contrast of the covariate rule |
the SE-ratio interval must fall below the calibration band |
coverage 0.8202 to 0.8452, SE ratio 0.6947 to 0.7277 |
pass |
|
|
control |
the contrast of the covariate rule |
the SE-ratio interval must fall below the calibration band |
coverage 0.8671 to 0.8890, SE ratio 0.7747 to 0.8113 |
pass |
|
|
positive |
the contrast of the covariate rule |
SE ratio and coverage intervals both inside their calibration bands |
coverage 0.9396 to 0.9546, SE ratio 0.9700 to 1.0146 |
pass |
|
|
control |
the contrast of the covariate rule |
the SE-ratio interval must fall below the calibration band |
coverage 0.8209 to 0.8459, SE ratio 0.6978 to 0.7314 |
pass |
|
|
control |
the contrast of the covariate rule |
the SE-ratio interval must fall below the calibration band |
coverage 0.8686 to 0.8904, SE ratio 0.7763 to 0.8119 |
pass |
|
|
positive |
the contrast of the highest-arm plan against the lowest-arm plan at 3 decisions, with the declared mechanism passed as known probabilities |
SE ratio and coverage intervals both inside their calibration bands |
coverage 0.9331 to 0.9489, SE ratio 0.9571 to 1.0041 |
pass |
|
|
control |
the contrast of the highest-arm plan against the lowest-arm plan at 3 decisions: a declared scale of independent noise is added to each estimate |
the SE-ratio interval must fall below the calibration band |
coverage 0.8168 to 0.8420, SE ratio 0.6863 to 0.7201 |
pass |
|
|
control |
the contrast of the highest-arm plan against the lowest-arm plan at 3 decisions: the reported standard errors are multiplied by a declared factor below one |
the SE-ratio interval must fall below the calibration band |
coverage 0.8591 to 0.8816, SE ratio 0.7665 to 0.8032 |
pass |
|
|
positive |
the contrast of the highest-arm plan against the lowest-arm plan at 4 decisions, with the declared mechanism passed as known probabilities |
SE ratio and coverage intervals both inside their calibration bands |
coverage 0.9370 to 0.9523, SE ratio 0.9618 to 1.0076 |
pass |
|
|
control |
the contrast of the highest-arm plan against the lowest-arm plan at 4 decisions: a declared scale of independent noise is added to each estimate |
the SE-ratio interval must fall below the calibration band |
coverage 0.8153 to 0.8405, SE ratio 0.6920 to 0.7249 |
pass |
|
|
control |
the contrast of the highest-arm plan against the lowest-arm plan at 4 decisions: the reported standard errors are multiplied by a declared factor below one |
the SE-ratio interval must fall below the calibration band |
coverage 0.8619 to 0.8842, SE ratio 0.7692 to 0.8066 |
pass |
|
|
positive |
the contrast of the highest-arm plan against the lowest-arm plan at 5 decisions, with the declared mechanism passed as known probabilities |
SE ratio and coverage intervals both inside their calibration bands |
coverage 0.9446 to 0.9590, SE ratio 0.9807 to 1.0268 |
pass |
|
|
control |
the contrast of the highest-arm plan against the lowest-arm plan at 5 decisions: a declared scale of independent noise is added to each estimate |
the SE-ratio interval must fall below the calibration band |
coverage 0.8216 to 0.8465, SE ratio 0.6918 to 0.7249 |
pass |
|
|
control |
the contrast of the highest-arm plan against the lowest-arm plan at 5 decisions: the reported standard errors are multiplied by a declared factor below one |
the SE-ratio interval must fall below the calibration band |
coverage 0.8709 to 0.8925, SE ratio 0.7847 to 0.8224 |
pass |
|
|
diagnostic |
the contrast of the covariate rule |
reported: bias, SE ratio and coverage, with no verdict |
bias -0.0010 to 0.0016, coverage 0.9211 to 0.9497, SE ratio 0.9771 |
reported |
|
|
positive |
the mean under the known stochastic policy at 5 decisions: the recursion integrates over the declared policy at each decision |
bias interval inside the equivalence margin |
bias -0.000837 to 0.000796, margin 0.0035 |
pass |
|
|
control |
the mean under the known stochastic policy at 5 decisions: the same fit reverses the arm probabilities of the policy at every decision |
bias interval must fall entirely outside the margin |
bias -0.0521 to -0.0503, margin 0.0039 |
pass |
|
|
positive |
the paired contrast of the known stochastic policy against the same policy that assigns the lowest arm at the last decision at 5 decisions: the same test on a law with a real effect |
rejection lower bound clears the minimum power |
rejection 0.9280, 0.9118 to 0.9421 |
pass |
|
|
positive |
the contrast of the highest-arm plan against the lowest-arm plan at 4 decisions: bias, coverage and SE calibration at n = 12,000 |
bias inside the margin, coverage clears the floor, SE ratio inside the sanity band |
bias 0.0011, coverage 0.9260 to 0.9636, SE ratio 0.9741 |
pass |
|
|
control |
the contrast of the highest-arm plan against the lowest-arm plan at 4 decisions: bias, coverage and SE calibration at n = 4,000 |
coverage interval lies below nominal or clears the declared floor |
bias 0.000154, coverage 0.9066 to 0.9492, SE ratio 0.9584 |
pass |
|
|
positive |
the contrast of the highest-arm plan against the lowest-arm plan at 4 decisions: bias, coverage and SE calibration at n = 48,000 |
bias inside the margin, coverage clears the floor, SE ratio inside the sanity band |
bias -0.000452, coverage 0.9365 to 0.9710, SE ratio 1.0187 |
pass |
|
|
positive |
the contrast of the highest-arm plan against the lowest-arm plan at 4 decisions: log empirical spread of the estimates regressed on log n across three sizes |
slope interval inside the root-n band and excluding -1/4 |
slope -0.5456 to -0.4797 |
pass |
|
|
positive |
the contrast of the highest-arm plan against the lowest-arm plan at 4 decisions: the same regression applied to the mean reported standard error |
slope interval inside the root-n band and excluding -1/4 |
slope -0.4920 to -0.4837 |
pass |
|
|
positive |
the mean under the covariate rule |
bias interval inside the equivalence margin |
bias -0.0027 to 0.0017, margin 0.0096 |
pass |
|
|
control |
the mean under the covariate rule |
bias interval must fall entirely outside the margin |
bias 0.0430 to 0.0447, margin 0.0037 |
pass |
|
|
control |
the pointwise 95% intervals of the same fits, read as one joint set |
joint coverage upper endpoint must fall below the nominal rate |
joint coverage 0.6721 to 0.7100 |
pass |
|
|
positive |
the Wald-curve band of the influence curves over the six plans of the five-decision fit, read as one joint set |
joint coverage interval inside the calibration coverage band |
joint coverage 0.9356 to 0.9543 |
pass |
|
|
diagnostic |
the mean under the known stochastic policy at 5 decisions, n = 4,000, with the default mechanism bounds of 0.01 |
reported: bias, SE ratio and coverage, with no verdict |
bias -0.0059 to -0.0045, coverage 0.8315 to 0.8728, SE ratio 0.7867, binding share by node 0, 0, 0.000752, 0.0258, 0.1319 |
reported |
|
|
diagnostic |
the mean under the known stochastic policy at 5 decisions, n = 4,000, with no mechanism bounds |
reported: bias, SE ratio and coverage, with no verdict |
bias -0.0013 to 0.000360, coverage 0.9322 to 0.9586, SE ratio 0.9852, binding share by node 0, 0, 0, 0, 0 |
reported |
|
|
diagnostic |
the mean under the static plan at 5 decisions, n = 4,000, with the default mechanism bounds of 0.01 |
reported: bias, SE ratio and coverage, with no verdict |
bias -0.0198 to -0.0142, coverage 0.7692 to 0.8163, SE ratio 0.6716, binding share by node 0, 0, 0, 0.0053, 0.0146 |
reported |
|
|
diagnostic |
the mean under the static plan at 5 decisions, n = 4,000, with no mechanism bounds |
reported: bias, SE ratio and coverage, with no verdict |
bias -0.0082 to -0.0015, coverage 0.8110 to 0.8544, SE ratio 0.8453, binding share by node 0, 0, 0, 0, 0 |
reported |
|
|
positive |
the mean under the known stochastic policy at 3 decisions: the estimator fluctuates a misspecified outcome regression, so targeting does all the adjusting |
bias interval inside the equivalence margin |
bias -0.000612 to 0.000598, margin 0.0026 |
pass |
|
|
control |
the mean under the known stochastic policy at 3 decisions: the identical fit with every fluctuation step removed |
bias interval must fall entirely outside the margin |
bias -0.0322 to -0.0312, margin 0.0021 |
pass |
|
|
positive |
the mean under the known stochastic policy at 4 decisions: the estimator fluctuates a misspecified outcome regression, so targeting does all the adjusting |
bias interval inside the equivalence margin |
bias -0.000609 to 0.000773, margin 0.0030 |
pass |
|
|
control |
the mean under the known stochastic policy at 4 decisions: the identical fit with every fluctuation step removed |
bias interval must fall entirely outside the margin |
bias -0.0390 to -0.0380, margin 0.0022 |
pass |
|
|
positive |
the mean under the known stochastic policy at 5 decisions: the estimator fluctuates a misspecified outcome regression, so targeting does all the adjusting |
bias interval inside the equivalence margin |
bias -0.000576 to 0.0011, margin 0.0036 |
pass |
|
|
control |
the mean under the known stochastic policy at 5 decisions: the identical fit with every fluctuation step removed |
bias interval must fall entirely outside the margin |
bias -0.0452 to -0.0441, margin 0.0023 |
pass |
|
|
positive |
the mean under the covariate rule |
bias interval inside the equivalence margin |
bias -0.0016 to 0.000593, margin 0.0048 |
pass |
|
|
control |
the mean under the covariate rule |
bias interval must fall entirely outside the margin |
bias -0.0300 to -0.0289, margin 0.0023 |
pass |
|
|
positive |
the mean under the covariate rule |
bias interval inside the equivalence margin |
bias -0.0010 to 0.0018, margin 0.0061 |
pass |
|
|
control |
the mean under the covariate rule |
bias interval must fall entirely outside the margin |
bias -0.0330 to -0.0319, margin 0.0025 |
pass |
|
|
positive |
the mean under the covariate rule |
bias interval inside the equivalence margin |
bias -0.0015 to 0.0025, margin 0.0085 |
pass |
|
|
control |
the mean under the covariate rule |
bias interval must fall entirely outside the margin |
bias -0.0405 to -0.0390, margin 0.0033 |
pass |
|
|
positive |
the paired contrast of the known stochastic policy against the same policy that assigns the lowest arm at the last decision at 5 decisions, on a law whose outcome does not read any arm: the Wald test of the contrast |
rejection interval below the type-I ceiling, and coverage above the floor |
rejection 0.0460, 0.0348 to 0.0594 |
pass |
The property families draw from their own streams of the same law family. Their draws differ from the primary draws. The table above lists every cell. This section states what each family tests.
family |
what it tests |
size |
|---|---|---|
|
the Wald interval of 16 positives: at each of \(K\) = 3, 4, 5 the means and contrasts |
\(n\) = 4,000 to 116,000, set to \(\mathrm{round\_n}(2 n_\kappa)\) of each cell, 6,000 replications |
|
|
1,000 replications per rung, 3,000 for the slope rows |
|
|
\(n\) = 40,000, 2,000 replications |
|
the targeted fit against a plug-in with no fluctuation, for the plans |
\(n\) = 4,000 to 16,000, 2,000 replications |
|
|
\(n\) = 8,000 and 36,000, 2,000 replications |
|
the declared dynamic rule |
\(n\) = 4,000 and 116,000, 2,000 replications |
|
the declared stochastic policy against the control |
\(n\) = 4,000 and 16,000, 2,000 replications |
|
the paired contrast |
\(n\) = 52,000, 2,000 replications |
|
the Wald-curve band (the default: Mammen multiplier, logit scale, 10,000 draws) over the six \(K\) = 5 plans, with its pointwise control. The band-finite-sample rerun re-measured it on the committed fits. The study fits no bootstrap band |
\(n\) = 76,000, 4,000 replications |
|
the estimate with the default mechanism bounds against an unbounded fit, for |
\(n\) = 4,000, 2,000 replications |
|
|
\(n\) = 40,000, 2,000 replications |
The bias families answer row by row: a positive passes when its bias interval lies inside the margin, and a
control passes when its interval lies wholly outside. A positive and its control run on independent streams at
their own \(n\), so no row compares displacement between the two arms. The exact-law witnesses of
tests/unit/test_long_horizon_design.py set the control sizes.
Replicate budgets. The pilot merge sets each count (tests/studies/long_horizon_ltmle_properties.py).
Calibration takes 6,000 replications and the band takes 4,000. The bias families keep 2,000 although the bias
ladder reads 1,000.
Red-cell reading. The table states the declared reading of each family before any run, as follows.
family |
red when |
|---|---|
|
the 99% interval of the SE ratio leaves (0.93, 1.07) or the 99% coverage interval leaves (0.92, 0.98). A control passes by leaving the band |
bias families |
the 99% standardized-bias interval of a positive does not lie inside the margin, or that of a control does not lie wholly outside it |
|
a rung at 12,000 or 48,000 has a coverage lower limit below 0.90, an SE-ratio interval outside (0.80, 1.20), or a bias that the margin does not contain |
|
the slope interval is not within 0.125 of -0.5 or reaches -0.25 |
|
never. These rows report their summary statistics and state no verdict |
A calibration positive that fails reads as a defect suspect. It becomes a finite-sample reading with an owner row only when its SE-ratio interval contains 1, its coverage interval contains 0.95, and the diagnosis finds no defect. The run never adds replications to a red positive.
Measured values#
Names beginning margin: are thresholds declared before the run. Everything else is measured from
the committed results and checked at the precision printed.
quantity |
value |
source |
|---|---|---|
|
3000 |
primary replications per scenario |
|
4000 |
observations per replication in the first scenario |
|
77 |
estimand tests against the truth, |
|
54 |
of those, passing |
|
54 |
the |
|
54 |
of those, passing |
|
23 |
descriptive paired rows with R |
|
82 |
repeated-sampling property cells, reported cells excluded |
|
82 |
cells whose own and family verdicts pass |
|
5 |
cells reported and not gated, as the |
|
0.2211 |
largest absolute bias in empirical standard deviations, over both implementations’ rows |
|
0.9100 |
lowest measured coverage, over both implementations’ rows |
|
0.7511 |
lowest bootstrap SE-ratio endpoint, over both implementations’ rows |
|
1.5711 |
highest bootstrap SE-ratio endpoint, over both implementations’ rows |
|
0.9900 |
Monte Carlo confidence level |
|
0.0500 |
test size |
|
0.9500 |
nominal interval coverage |
|
10000 |
resamples behind every bootstrap interval |
|
0.2500 |
standardized-bias margin |
|
0.9000 |
primary coverage floor |
|
0.9900 |
above this, coverage is conservative rather than invalid |
|
0.8000 |
primary SE-ratio lower screen |
|
1.2000 |
primary SE-ratio upper screen |
|
0.9300 |
calibration SE-ratio lower bound |
|
1.0700 |
calibration SE-ratio upper bound |
|
0.9200 |
calibration coverage lower bound |
|
0.9800 |
calibration coverage upper bound |
|
0.1000 |
type-I upper bound |
|
0.1500 |
paired similarity margin, in pooled empirical standard deviations |
|
1.1000 |
largest external-comparison RMSE ratio bound |
|
-0.0250 |
smallest external-comparison coverage difference bound |
|
0.0500 |
largest external-comparison calibration excess bound |
|
0.8000 |
minimum power lower bound |
|
-0.5000 |
expected root-n slope |
|
-0.6250 |
accepted root-n slope band, lower limit |
|
-0.3750 |
accepted root-n slope band, upper limit |
|
-0.2500 |
slower rate the interval must exclude |
|
0.1000 |
union-model SE-ratio screen, lower limit. No cell of this study reads it |
|
10 |
union-model SE-ratio screen, upper limit. No cell of this study reads it |
|
0.8000 |
negative-control SE multiplier |
|
0.0100 |
declared share of replications a cell of |
|
30 |
the same bound, in primary replications |
|
0.0100 |
declared share of replications a cell of R |
|
30 |
the same bound, in primary replications |
Limitations#
limit |
what it means for use |
|---|---|
one law family with binary nodes |
the laws are the |
the comparator is exact on 100 replications |
R |
some cells have no exact comparison |
the stochastic plans |
the declared mechanism is exact |
the law’s probabilities enter as columns, so the study measures the targeting and outcome regressions with the mechanism known. The |
the outcome regressions are one quasibinomial GLM |
the exact-law criterion reads the declared GLM curve. The study does not cover a flexible learner library |
the Wald interval gates only at \(n \ge 2 n_\kappa\) |
below that size the Wald row reports and the BCa row gates. A reader who needs a valid interval at a smaller \(n\) must read the BCa row |
the MSM scenario reports Wald rows only |
the MSM fit runs no bootstrap, so a coefficient below \(2 n_\kappa\) would have no gated interval. Both coefficients run above that size |
no cross-fitted fit |
this study fits in sample. The cross-fitted binary fit has no scenario here, and the cross-fitted bootstrap is experimental (X20) |
support loss is reported and not gated |
the |
the simultaneous band is the Wald-curve band |
the study gates the default multiplier band of the influence curves. The studentized bootstrap band is in the categorical study |
The causal interpretation requires consistency, sequential exchangeability, longitudinal positivity, and conditionally independent censoring. The calibration, bias and rate families test the validity of the interval and the estimate under those conditions. They do not test the conditions.
Reproduction#
The regeneration script regenerates the committed results. The manifest records the comparator pins, the seeds and the artifact hashes. The replications and property results carry every published row.