Ordinary weighted end-of-study longitudinal TMLE#
This reporting study evaluates cleverly’s ordinary weighted LTMLE on a selected sample from a
known two-time-point law. The canonical comparison uses R ltmle 1.3-0 with
observation.weights=. Each replication contains exactly 2,000 selected rows, and the fixed
inverse-selection weights recover the population law.
The row is reporting evidence rather than a gated claim that every predeclared Monte Carlo cell passed. The primary comparison uses 3,200 replications to resolve coverage near its declared floor. The tables preserve the numerical agreement with R and all failed property checks.
What was compared#
setting |
|
R |
|---|---|---|
samples |
exact-size rejection samples selected by baseline |
the identical selected rows |
plans |
never, always, and the dynamic rule |
the same plans |
outcome regressions |
weighted quasibinomial GLMs |
the same weighted GLMs |
mechanisms |
generating treatment and censoring probabilities |
the same probabilities |
observation weights |
fixed inverse-selection probabilities |
|
folds |
one all-row fold |
ordinary fitting |
intervals |
pointwise 95% identity-scale Wald intervals |
the same, with influence-curve variance |
The selection probability is 0.3 when W1 is positive and 0.9 otherwise. The independent
property law separately tests whether weighting changes the target, whether nuisance learners
consume the weights, longitudinal double robustness, targeting, root-n behavior, interval
calibration, type-I error, and power.
The target-weight control uses regimen means because baseline selection shifts both means in the same direction. That common shift can cancel in a contrast. The double-robustness and targeting controls use contrasts because their deliberate mutations move those contrasts. The learner-weight control uses a separate history-dependent selection law that moves every sequential nuisance.
Accuracy against known truth#
law |
estimand |
what was tested |
implementation |
bias (99% interval) |
coverage |
SE ratio |
result |
|---|---|---|---|---|---|---|---|
selected two-time-point law with monotone censoring and fixed observation weights |
|
difference in mean outcome between the plans “treat at both times” against “treat at neither time” |
|
-0.0016 to 0.0017 |
0.9356 |
0.9677 |
pass |
selected two-time-point law with monotone censoring and fixed observation weights |
|
difference in mean outcome between the plans “treat at both times” against “treat at neither time” |
R |
-0.0016 to 0.0017 |
0.9356 |
0.9677 |
pass |
selected two-time-point law with monotone censoring and fixed observation weights |
|
difference in mean outcome between the plans “treat, then continue only if L2 is positive” against “treat at neither time” |
|
-0.0012 to 0.0022 |
0.9397 |
0.9659 |
pass |
selected two-time-point law with monotone censoring and fixed observation weights |
|
difference in mean outcome between the plans “treat, then continue only if L2 is positive” against “treat at neither time” |
R |
-0.0012 to 0.0022 |
0.9397 |
0.9659 |
pass |
selected two-time-point law with monotone censoring and fixed observation weights |
|
mean outcome under the plan treat at both times |
|
-0.000722 to 0.0010 |
0.9425 |
0.9896 |
pass |
selected two-time-point law with monotone censoring and fixed observation weights |
|
mean outcome under the plan treat at both times |
R |
-0.000722 to 0.0010 |
0.9425 |
0.9896 |
pass |
selected two-time-point law with monotone censoring and fixed observation weights |
|
mean outcome under the plan treat at neither time |
|
-0.0013 to 0.0015 |
0.9347 |
0.9814 |
pass |
selected two-time-point law with monotone censoring and fixed observation weights |
|
mean outcome under the plan treat at neither time |
R |
-0.0013 to 0.0015 |
0.9347 |
0.9814 |
pass |
selected two-time-point law with monotone censoring and fixed observation weights |
|
mean outcome under the plan treat, then continue only if L2 is positive |
|
-0.000338 to 0.0016 |
0.9425 |
0.9821 |
pass |
selected two-time-point law with monotone censoring and fixed observation weights |
|
mean outcome under the plan treat, then continue only if L2 is positive |
R |
-0.000338 to 0.0016 |
0.9425 |
0.9821 |
pass |
Agreement with the canonical implementation#
Comparator-backed: a paired comparison with ltmle-weighted 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 |
|---|---|---|---|---|---|---|---|---|---|
selected two-time-point law with monotone censoring and fixed observation weights |
|
difference in mean outcome between the plans “treat at both times” against “treat at neither time” |
1.085e-10 |
1.962e-08 |
1.0000 |
0 |
matching implementation |
3.486e-09 vs 0.0500 |
equivalent |
selected two-time-point law with monotone censoring and fixed observation weights |
|
difference in mean outcome between the plans “treat, then continue only if L2 is positive” against “treat at neither time” |
4.169e-10 |
7.365e-08 |
1.0000 |
0 |
matching implementation |
1.153e-08 vs 0.0500 |
equivalent |
selected two-time-point law with monotone censoring and fixed observation weights |
|
mean outcome under the plan treat at both times |
5.435e-11 |
1.876e-08 |
1.0000 |
0 |
matching implementation |
2.660e-09 vs 0.0500 |
equivalent |
selected two-time-point law with monotone censoring and fixed observation weights |
|
mean outcome under the plan treat at neither time |
-5.419e-11 |
1.165e-08 |
1.0000 |
0 |
matching implementation |
2.570e-10 vs 0.0500 |
equivalent |
selected two-time-point law with monotone censoring and fixed observation weights |
|
mean outcome under the plan treat, then continue only if L2 is positive |
3.627e-10 |
1.152e-07 |
1.0000 |
0 |
matching implementation |
5.117e-08 vs 0.0500 |
equivalent |
Theory properties#
property |
cell |
role |
what was tested |
what must hold |
measured |
result |
|---|---|---|---|---|---|---|
|
|
positive |
dynamic plan: both the outcome regression and the treatment mechanism are correctly specified |
bias interval inside the equivalence margin, with the reported standard error on the scale of the empirical spread |
bias -0.0012 to 0.0031, margin 0.0072, SE ratio 1.0111 |
pass |
|
|
control |
dynamic plan: both nuisances are misspecified |
bias interval must fall entirely outside the margin, with the reported standard error still on the scale of the empirical spread |
bias 0.0167 to 0.0219, margin 0.0088, SE ratio 1.0026 |
pass |
|
|
positive |
dynamic plan: only the treatment and censoring mechanisms are correctly specified |
bias interval inside the equivalence margin, with the reported standard error on the scale of the empirical spread |
bias -0.0013 to 0.0031, margin 0.0074, SE ratio 1.0734 |
pass |
|
|
positive |
dynamic plan: only the outcome regression is correctly specified |
bias interval inside the equivalence margin, with the reported standard error on the scale of the empirical spread |
bias -0.0029 to 0.0015, margin 0.0073, SE ratio 1.1091 |
pass |
|
|
positive |
static plan: both the outcome regression and the treatment mechanism are correctly specified |
bias interval inside the equivalence margin, with the reported standard error on the scale of the empirical spread |
bias -0.0090 to 0.0015, margin 0.0175, SE ratio 0.9602 |
pass |
|
|
control |
static plan: both nuisances are misspecified |
bias interval must fall entirely outside the margin, with the reported standard error still on the scale of the empirical spread |
bias -0.0281 to -0.0186, margin 0.0160, SE ratio 0.6887 |
pass |
|
|
positive |
static plan: only the treatment and censoring mechanisms are correctly specified |
bias interval inside the equivalence margin, with the reported standard error on the scale of the empirical spread |
bias -0.0044 to 0.0059, margin 0.0174, SE ratio 1.0373 |
pass |
|
|
positive |
static plan: only the outcome regression is correctly specified |
bias interval inside the equivalence margin, with the reported standard error on the scale of the empirical spread |
bias -0.0070 to 0.0031, margin 0.0170, SE ratio 0.6069 |
pass |
|
|
positive |
dynamic plan: both nuisances are correctly specified with an independently computed efficiency bound |
SE ratio and coverage intervals both inside their calibration bands, with both efficiency-ratio intervals inside their bands |
coverage 0.9301 to 0.9548, SE ratio 0.9683 to 1.0445, empirical efficiency ratio 0.9558 to 1.0303, reported efficiency ratio 0.9948 to 1.0007 |
pass |
|
|
control |
dynamic plan: one efficiency-bound unit of independent noise is added to each estimate |
the empirical efficiency ratio must rise above the band |
coverage 0.8037 to 0.8441, SE ratio 0.6770 to 0.7283, empirical efficiency ratio 1.3704 to 1.4736, reported efficiency ratio 0.9948 to 1.0006 |
pass |
|
|
control |
dynamic plan: the reported standard errors are multiplied by a declared factor below one |
the SE-ratio interval must fall below the calibration band |
coverage 0.8181 to 0.8572, SE ratio 0.6772 to 0.7315, empirical efficiency ratio 0.9549 to 1.0310, reported efficiency ratio 0.6964 to 0.7004 |
pass |
|
|
positive |
static plan: both nuisances are correctly specified with an independently computed efficiency bound |
SE ratio and coverage intervals both inside their calibration bands, with both efficiency-ratio intervals inside their bands |
coverage 0.9187 to 0.9454, SE ratio 0.9263 to 0.9985, empirical efficiency ratio 0.9855 to 1.0615, reported efficiency ratio 0.9783 to 0.9899 |
fail |
|
|
control |
static plan: one efficiency-bound unit of independent noise is added to each estimate |
the empirical efficiency ratio must rise above the band |
coverage 0.7985 to 0.8394, SE ratio 0.6625 to 0.7153, empirical efficiency ratio 1.3759 to 1.4850, reported efficiency ratio 0.9784 to 0.9899 |
pass |
|
|
control |
static plan: the reported standard errors are multiplied by a declared factor below one |
the SE-ratio interval must fall below the calibration band |
coverage 0.7860 to 0.8278, SE ratio 0.6481 to 0.6988, empirical efficiency ratio 0.9863 to 1.0622, reported efficiency ratio 0.6849 to 0.6929 |
pass |
|
|
control |
static plan: nuisance learners discard sampling weights while later estimator stages retain them |
population-target bias outside its margin, learner-selected-target bias inside its margin, and paired displacement above its threshold |
bias 0.0347 to 0.0449, margin 0.0171, selected-target bias -0.0033 to 0.0069, margin 0.0171 |
pass |
|
|
positive |
static plan: sampling weights enter nuisance learning, targeting, averaging, and covariance |
population-target bias interval inside the equivalence margin |
bias -0.0094 to 0.000558, margin 0.0166 |
pass |
|
|
positive |
static plan: the same test applied to a law with a real effect |
rejection lower bound clears the minimum power |
rejection 0.8888, 0.8571 to 0.9156 |
pass |
|
|
positive |
dynamic plan: bias, coverage and SE calibration at n = 2,000 |
bias inside the margin, coverage clears the floor, SE ratio inside the sanity band |
bias 0.000218, coverage 0.9238 to 0.9657, SE ratio 0.9862 |
pass |
|
|
control |
dynamic plan: bias, coverage and SE calibration at n = 500 |
coverage interval lies below nominal or clears the declared floor |
bias 0.0013, coverage 0.8921 to 0.9428, SE ratio 0.9049 |
pass |
|
|
positive |
dynamic plan: bias, coverage and SE calibration at n = 8,000 |
bias inside the margin, coverage clears the floor, SE ratio inside the sanity band |
bias -0.000309, coverage 0.9223 to 0.9647, SE ratio 0.9965 |
pass |
|
|
positive |
static plan: bias, coverage and SE calibration at n = 2,000 |
bias inside the margin, coverage clears the floor, SE ratio inside the sanity band |
bias -0.000089, coverage 0.9006 to 0.9491, SE ratio 0.9373 |
pass |
|
|
control |
static plan: bias, coverage and SE calibration at n = 500 |
coverage interval lies below nominal or clears the declared floor |
bias 0.0114, coverage 0.7852 to 0.8559, SE ratio 0.7482 |
pass |
|
|
positive |
static plan: bias, coverage and SE calibration at n = 8,000 |
bias inside the margin, coverage clears the floor, SE ratio inside the sanity band |
bias 0.0015, coverage 0.9194 to 0.9627, SE ratio 1.0283 |
pass |
|
|
positive |
dynamic plan: 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.5573 to -0.4938 |
pass |
|
|
positive |
dynamic plan: the same regression applied to the mean reported standard error |
slope interval inside the root-n band and excluding -1/4 |
slope -0.4956 to -0.4866 |
pass |
|
|
positive |
static plan: 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.5767 to -0.5066 |
pass |
|
|
positive |
static plan: the same regression applied to the mean reported standard error |
slope interval inside the root-n band and excluding -1/4 |
slope -0.4344 to -0.4200 |
pass |
|
|
positive |
dynamic plan: the estimator fluctuates a misspecified outcome model, so targeting does all the adjusting |
bias interval inside the equivalence margin |
bias -0.0025 to 0.0019, margin 0.0075 |
pass |
|
|
control |
dynamic plan: the identical fit with every fluctuation step removed |
bias interval must fall entirely outside the margin |
bias 0.0229 to 0.0284, margin 0.0093 |
pass |
|
|
positive |
static plan: the estimator fluctuates a misspecified outcome model, so targeting does all the adjusting |
bias interval inside the equivalence margin |
bias -0.0027 to 0.0075, margin 0.0172 |
pass |
|
|
control |
static plan: the identical fit with every fluctuation step removed |
bias interval must fall entirely outside the margin |
bias -0.0242 to -0.0148, margin 0.0158 |
fail |
|
|
positive |
static plan: a confounded law whose true contrast is exactly zero |
one-sided rejection bound stays under the declared type-I ceiling |
rejection 0.0750, 0.0530 to 0.1022 |
fail |
|
|
control |
dynamic plan: the identical selected rows analyzed without any observation weights |
population-target bias outside its margin, selected-target bias inside its margin, and paired displacement above its threshold |
bias -0.0333 to -0.0293, margin 0.0068, selected-target bias -0.0021 to 0.0020, margin 0.0068 |
pass |
|
|
positive |
dynamic plan: the selected sample analyzed with its fixed inverse-selection weights |
population-target bias interval inside the equivalence margin |
bias -0.0022 to 0.0029, margin 0.0085 |
pass |
|
|
control |
static plan: the identical selected rows analyzed without any observation weights |
population-target bias outside its margin, selected-target bias inside its margin, and paired displacement above its threshold |
bias -0.0328 to -0.0258, margin 0.0118, selected-target bias -0.0015 to 0.0055, margin 0.0118 |
pass |
|
|
positive |
static plan: the selected sample analyzed with its fixed inverse-selection weights |
population-target bias interval inside the equivalence margin |
bias -0.0016 to 0.0072, margin 0.0148 |
pass |
The ordinary estimator and R reference agree to numerical-solver precision. All primary truth tests pass after the replication budget increase. Three property cells remain red at their original budgets. The static calibration, static untargeted control, and type-I endpoints each miss their declared boundary by the amount shown above. These marginal results do not establish sub-floor coverage or an inactive control.
RM18 design OW re-read these rows on fresh draws, under a declaration written before its run. No
reading moves a verdict of this study, and none names a defect in cleverly.
rows |
fresh draws |
reading |
|---|---|---|
|
17,000 for each arm at n = 2,000, 8,000 and 32,000 |
|
|
3,200 for each arm at n = 4,000 and 16,000 |
|
the four |
2,655 at n = 2,000 |
|
What design OW found at commit 985849c6 gives each number and what each reading does
not show.
tests/diagnostics/rm18_ordinary_weighted/ holds the rows.
The red-cell ledger lists each red cell of this study, including each cell that fails through its family’s joint clause. It names the roadmap ask that owns each one.
Measured values#
Names beginning margin: are thresholds declared before the run. Everything else is generated
from the committed artifacts and checked at the precision printed.
quantity |
value |
source |
|---|---|---|
|
3200 |
paired replications |
|
2000 |
selected observations per paired replication |
|
10 |
implementation-estimand truth tests |
|
10 |
truth tests passing |
|
5 |
paired estimand comparisons |
|
5 |
paired comparisons passing |
|
36 |
independent property cells |
|
30 |
property cells passing |
|
0.0295 |
largest primary standardized bias |
|
0.9347 |
lowest primary coverage |
|
0.9226 |
lowest primary coverage lower endpoint |
|
0.9352 |
lowest primary SE-ratio endpoint |
|
1.0235 |
highest primary SE-ratio endpoint |
|
1.152e-07 |
largest share of paired similarity margin used |
|
1.0000 |
largest paired RMSE-ratio bound |
|
0 |
smallest paired coverage-difference bound |
|
3.448e-08 |
largest paired calibration-excess bound |
|
0.5414 |
target-weight positive control displacement |
|
0.6648 |
learner-weight positive control displacement |
|
0.9187 |
failed static calibration endpoint |
|
0.1022 |
failed type-I endpoint |
|
0.9900 |
Monte Carlo confidence level |
|
0.0500 |
test size |
|
0.9500 |
nominal interval coverage |
|
10000 |
bootstrap replications |
|
0.2500 |
standardized-bias margin |
|
0.9000 |
primary coverage floor |
|
0.9900 |
descriptive overcoverage threshold |
|
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 SDs |
|
1.1000 |
RMSE-ratio noninferiority bound |
|
-0.0250 |
coverage-difference noninferiority bound |
|
0.0500 |
calibration-excess noninferiority bound |
|
0.8000 |
power lower bound |
|
-0.5000 |
expected root-n slope |
|
-0.6250 |
accepted slope lower bound |
|
-0.3750 |
accepted slope upper bound |
|
-0.2500 |
rate the interval must exclude |
|
0.1000 |
union-model SE-ratio lower screen |
|
10 |
union-model SE-ratio upper screen |
|
0.9000 |
exact-EIF ratio lower bound |
|
1.1000 |
exact-EIF ratio upper bound |
|
0.7000 |
deliberate SE mutation factor |
|
0.2500 |
least targeting must move the estimate |
|
0.2500 |
least target weighting must move the estimate |
|
0.2500 |
least learner weighting must move the estimate |
Limitations#
limitation |
what it means for use |
|---|---|
The study is reporting evidence |
Failed cells stay red. The row does not support a blanket claim that every predeclared finite-sample property passed |
The observation weights are known and fixed |
The study does not cover estimated weights, weight-model uncertainty, replicate weights, or calibration weights |
One selection law is studied |
The selected sample uses one baseline-dependent probability with moderate weight variation, not severe practical positivity |
The row covers one terminal binary mean per plan |
Survival curves, competing risks, and longitudinal MSM projections have different parameters |
The primary learner is a weighted GLM |
The learner-weight property is a separate finite-support control, not parity for arbitrary learner libraries |
Inference is pointwise |
The row does not validate simultaneous bands or clustered covariance. The default-band study measures the default band of this study’s subject fit. |
Fitting is ordinary |
Cross-fitted weighted LTMLE is evaluated in its own registered row |
The causal interpretation requires consistency, sequential exchangeability, longitudinal positivity, conditionally independent censoring, and a selection model that identifies the target population.
Reproduction#
The fixture README gives the regeneration commands. The manifest records the seeds, configuration, pinned R source, study-module digests, and artifact hashes.