Longitudinal refutation verdict rules#
This study calibrates three decision rules that cleverly.refute prints on a longitudinal fit.
Each rule reads a refutation statistic and rejects at the 0.05 level. The
refutation operations section of the validation
reference defines each statistic.
rule |
reading |
rejects when |
|---|---|---|
placebo |
20 Markov placebo refits against the exact null, |
the two-sided p-value is below 0.05 |
subset |
20 subset refits against the sampling reference of the fit’s standard error |
the two-sided \(\chi^2_{19}\) p-value is below 0.05 |
negative-control |
one refit on a declared negative-control outcome |
the two-sided p-value is below 0.05 |
The study asks two questions for each rule and configuration. Is the rule grossly miscalibrated under its null? Does the rule detect a declared defect? A rule that passes both checks prints a verdict on a fit inside the calibrated scope. On any other fit, the rule prints its numbers and no verdict.
No canonical implementation is compared. No maintained implementation computes these rules on a longitudinal fit. The zero-row equivalence artifact records the absence of a comparator.
What was tested#
setting |
declaration |
|---|---|
sample |
\(n = 1000\) units, two treatment nodes, one fit per trial |
law E |
an end-of-study law with a Gaussian outcome and a time-varying confounder \(L_2\). An unmeasured \(U\) drives the first treatment and the confounded control only. The contrast |
law S |
the registered censored survival law of |
cell L1 |
|
cell S1 |
|
cell I1 |
|
cell B1 |
|
cell B2 |
|
cell B3 |
|
cell SN1 |
|
size cells |
200 trials per rule and cell. A cell passes at no more than 17 rejections |
power cells |
trials 0 to 49 of the size cell under a declared defect. A cell passes at no fewer than 38 detections |
defects |
a stale-row placebo for the placebo rule, a halved and a doubled reported standard error for the subset rule, and a confounded control for the negative-control rule |
primary phase |
200 replications of the S1 contrast on law E and of the L1 risk contrast on law S, as a sanity check of the fits that the rules read |
Monte Carlo inference |
exact 99% intervals around every rate, and 99% intervals around every primary endpoint |
The X82 plan fixed the laws, the cells, the thresholds, the seeds and the red-cell route before
the run. The module docstring of tests/studies/refuter_calibration_longitudinal.py states both
laws and each defect.
A size cell with 200 trials checks gross miscalibration only. A rule with true size 0.05 passes with probability 0.988, and a rule with true size 0.15 passes with probability 0.004. A power cell with 50 trials passes with probability 1.000 at true power 0.95. It passes with probability 0.814 at true power 0.80.
Accuracy against known truth#
The primary phase checks the fits that the rules read. It does not calibrate a rule.
law |
estimand |
what was tested |
implementation |
bias (99% interval) |
coverage |
SE ratio |
result |
|---|---|---|---|---|---|---|---|
law E, two nodes, a Gaussian outcome and a time-varying confounder; |
|
average treatment effect |
|
-0.0303 to 0.0065 |
0.9150 |
0.9271 |
fail |
law S, the registered censored survival law, risk at t = 2; |
|
average treatment effect |
|
-0.0068 to 0.0085 |
0.9450 |
0.9993 |
fail |
Theory properties#
A refuter_size cell counts the rejections of one rule under its null. A refuter_power cell
counts the detections of one declared defect on the first 50 trials of the same configuration.
The cell name gives the configuration, then the reading.
property |
cell |
role |
what was tested |
what must hold |
measured |
result |
|---|---|---|---|---|---|---|
|
|
control |
SequentialGComputation, law E: the negative-control z rule, on a control that reads an unmeasured cause of A1 |
at least 38 detections in 50 trials |
detections 50 of 50 |
pass |
|
|
control |
SequentialGComputation, law E: the placebo t rule, with a declared share of stale rows |
at least 38 detections in 50 trials |
detections 50 of 50 |
pass |
|
|
control |
SequentialGComputation, law E: the subset rho rule, at the reported SE doubled |
at least 38 detections in 50 trials |
detections 48 of 50 |
pass |
|
|
control |
SequentialGComputation, law E: the subset rho rule, at the reported SE halved |
at least 38 detections in 50 trials |
detections 50 of 50 |
pass |
|
|
control |
SequentialIPW, law E: the negative-control z rule, on a control that reads an unmeasured cause of A1 |
at least 38 detections in 50 trials |
detections 49 of 50 |
pass |
|
|
control |
SequentialIPW, law E: the placebo t rule, with a declared share of stale rows |
at least 38 detections in 50 trials |
detections 50 of 50 |
pass |
|
|
control |
SequentialIPW, law E: the subset rho rule, at the reported SE doubled |
at least 38 detections in 50 trials |
detections 50 of 50 |
pass |
|
|
control |
SequentialIPW, law E: the subset rho rule, at the reported SE halved |
at least 38 detections in 50 trials |
detections 50 of 50 |
pass |
|
|
control |
ParametricGFormula, law E: the negative-control z rule, on a control that reads an unmeasured cause of A1 |
at least 38 detections in 50 trials |
detections 50 of 50 |
pass |
|
|
control |
ParametricGFormula, law E: the placebo t rule, with a declared share of stale rows |
at least 38 detections in 50 trials |
detections 50 of 50 |
pass |
|
|
control |
ParametricGFormula, law E: the subset rho rule, at the reported SE doubled |
at least 38 detections in 50 trials |
detections 50 of 50 |
pass |
|
|
control |
ParametricGFormula, law E: the subset rho rule, at the reported SE halved |
at least 38 detections in 50 trials |
detections 50 of 50 |
pass |
|
|
control |
IPSI at odds x2, law E: the negative-control z rule, on a control that reads an unmeasured cause of A1 |
at least 38 detections in 50 trials |
detections 50 of 50 |
pass |
|
|
control |
IPSI at odds x2, law E: the placebo t rule, with a declared share of stale rows |
at least 38 detections in 50 trials |
detections 50 of 50 |
pass |
|
|
control |
IPSI at odds x2, law E: the subset rho rule, at the reported SE doubled |
at least 38 detections in 50 trials |
detections 50 of 50 |
pass |
|
|
control |
IPSI at odds x2, law E: the subset rho rule, at the reported SE halved |
at least 38 detections in 50 trials |
detections 49 of 50 |
pass |
|
|
control |
LTMLE, law S: the placebo t rule, with a declared share of stale rows |
at least 38 detections in 50 trials |
detections 50 of 50 |
pass |
|
|
control |
LTMLE, law S: the subset rho rule, at the reported SE doubled |
at least 38 detections in 50 trials |
detections 49 of 50 |
pass |
|
|
control |
LTMLE, law S: the subset rho rule, at the reported SE halved |
at least 38 detections in 50 trials |
detections 49 of 50 |
pass |
|
|
control |
SDR, law E: the negative-control z rule, on a control that reads an unmeasured cause of A1 |
at least 38 detections in 50 trials |
detections 49 of 50 |
pass |
|
|
control |
SDR, law E: the placebo t rule, with a declared share of stale rows |
at least 38 detections in 50 trials |
detections 49 of 50 |
pass |
|
|
control |
SDR, law E: the subset rho rule, at the reported SE doubled |
at least 38 detections in 50 trials |
detections 49 of 50 |
pass |
|
|
control |
SDR, law E: the subset rho rule, at the reported SE halved |
at least 38 detections in 50 trials |
detections 50 of 50 |
pass |
|
|
control |
StructuralNestedMean, law E: the negative-control z rule, on a control that reads an unmeasured cause of A1 |
at least 38 detections in 50 trials |
detections 50 of 50 |
pass |
|
|
control |
StructuralNestedMean, law E: the placebo t rule, with a declared share of stale rows |
at least 38 detections in 50 trials |
detections 50 of 50 |
pass |
|
|
control |
StructuralNestedMean, law E: the subset rho rule, at the reported SE doubled |
at least 38 detections in 50 trials |
detections 50 of 50 |
pass |
|
|
control |
StructuralNestedMean, law E: the subset rho rule, at the reported SE halved |
at least 38 detections in 50 trials |
detections 48 of 50 |
pass |
|
|
positive |
SequentialGComputation, law E: the negative-control z rule on a valid control |
no more than 17 rejections in 200 trials |
rejections 7 of 200 |
pass |
|
|
positive |
SequentialGComputation, law E: the placebo t rule against the exact Markov null |
no more than 17 rejections in 200 trials |
rejections 10 of 200 |
pass |
|
|
positive |
SequentialGComputation, law E: the subset rho rule, both tails |
no more than 17 rejections in 200 trials |
rejections 12 of 200 |
pass |
|
|
positive |
SequentialIPW, law E: the negative-control z rule on a valid control |
no more than 17 rejections in 200 trials |
rejections 10 of 200 |
pass |
|
|
positive |
SequentialIPW, law E: the placebo t rule against the exact Markov null |
no more than 17 rejections in 200 trials |
rejections 10 of 200 |
pass |
|
|
positive |
SequentialIPW, law E: the subset rho rule, both tails |
no more than 17 rejections in 200 trials |
rejections 11 of 200 |
pass |
|
|
positive |
ParametricGFormula, law E: the negative-control z rule on a valid control |
no more than 17 rejections in 200 trials |
rejections 10 of 200 |
pass |
|
|
positive |
ParametricGFormula, law E: the placebo t rule against the exact Markov null |
no more than 17 rejections in 200 trials |
rejections 14 of 200 |
pass |
|
|
positive |
ParametricGFormula, law E: the subset rho rule, both tails |
no more than 17 rejections in 200 trials |
rejections 10 of 200 |
pass |
|
|
positive |
IPSI at odds x2, law E: the negative-control z rule on a valid control |
no more than 17 rejections in 200 trials |
rejections 6 of 200 |
pass |
|
|
positive |
IPSI at odds x2, law E: the placebo t rule against the exact Markov null |
no more than 17 rejections in 200 trials |
rejections 11 of 200 |
pass |
|
|
positive |
IPSI at odds x2, law E: the subset rho rule, both tails |
no more than 17 rejections in 200 trials |
rejections 11 of 200 |
pass |
|
|
positive |
LTMLE, law S: the placebo t rule against the exact Markov null |
no more than 17 rejections in 200 trials |
rejections 10 of 200 |
pass |
|
|
positive |
LTMLE, law S: the subset rho rule, both tails |
no more than 17 rejections in 200 trials |
rejections 13 of 200 |
pass |
|
|
positive |
SDR, law E: the negative-control z rule on a valid control |
no more than 17 rejections in 200 trials |
rejections 6 of 200 |
pass |
|
|
positive |
SDR, law E: the placebo t rule against the exact Markov null |
no more than 17 rejections in 200 trials |
rejections 12 of 200 |
pass |
|
|
positive |
SDR, law E: the subset rho rule, both tails |
no more than 17 rejections in 200 trials |
rejections 9 of 200 |
pass |
|
|
positive |
StructuralNestedMean, law E: the negative-control z rule on a valid control |
no more than 17 rejections in 200 trials |
rejections 11 of 200 |
pass |
|
|
positive |
StructuralNestedMean, law E: the placebo t rule against the exact Markov null |
no more than 17 rejections in 200 trials |
rejections 9 of 200 |
pass |
|
|
positive |
StructuralNestedMean, law E: the subset rho rule, both tails |
no more than 17 rejections in 200 trials |
rejections 14 of 200 |
pass |
Result#
All 47 property cells pass. The size cells reject in 6 to 14 of 200 trials, below the limit of
17. The power cells detect their defect in 48 to 50 of 50 trials, above the floor of 38. The
registry VERDICT_EVIDENCE therefore holds one row for each of the 20 size readings. Each row’s
scope is the configuration that its cells recorded in cells.csv.
tests/unit/test_refuter_calibration_longitudinal_registry.py checks each scope against the
passing cells of the committed run.
The two primary truth rows are red. 200 replications cannot resolve the coverage floor or the bias margin of the shared primary phase. The lower 99% coverage limits are 0.8513 and 0.8894, below the floor of 0.90. The end-of-study bias interval, -0.0303 to 0.0065, contains 0 and crosses the margin of -0.0250. The SE-ratio intervals contain 1. The red-cell ledger names the owner.
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 |
|---|---|---|
|
200 |
primary replications |
|
1000 |
observations per primary replication |
|
2 |
primary tests against truth |
|
0 |
of those, passing |
|
0 |
external comparisons declared |
|
0 |
external comparisons passing |
|
47 |
repeated-sampling property cells |
|
47 |
cells whose own and family verdicts pass |
|
0.1186 |
largest absolute primary bias in empirical standard deviations |
|
0.9150 |
lowest measured primary-study coverage |
|
0.8235 |
lowest bootstrap primary SE-ratio endpoint |
|
1.1508 |
highest bootstrap primary SE-ratio endpoint |
|
0.9900 |
confidence level of every Monte Carlo interval |
|
0.0500 |
nominal size of the reported intervals, and the level of each rule |
|
0.9500 |
nominal coverage those intervals claim |
|
10000 |
resamples behind every bootstrap interval |
|
0.1000 |
the rate a type-I cell must bound. No cell of this study reads it; a size cell reads its count |
|
0.8000 |
rejection lower bound a power family must clear. No cell of this study reads it; a power cell reads its count |
|
0.2500 |
bias equivalence margin, in empirical standard deviations |
|
0.9000 |
validity floor the coverage lower endpoint must clear |
|
0.9900 |
above this, coverage is conservative rather than invalid |
|
0.8000 |
SE-ratio screen, lower limit |
|
1.2000 |
SE-ratio screen, upper limit |
|
0.9300 |
calibration-cell SE-ratio band, lower limit. No cell of this study reads it |
|
1.0700 |
calibration-cell SE-ratio band, upper limit. No cell of this study reads it |
|
0.9200 |
calibration-cell coverage band, lower limit. No cell of this study reads it |
|
0.9800 |
calibration-cell coverage band, upper limit. No cell of this study reads it |
|
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.5000 |
contraction rate root-n asymptotics predict |
|
-0.6250 |
accepted root-n slope band, lower limit |
|
-0.3750 |
accepted root-n slope band, upper limit |
|
-0.2500 |
slower rate a root-n interval must exclude |
|
0.0100 |
declared share of replications a cell may lose to a recordable fitting failure |
|
2 |
the same bound, in primary replications |
Limitations#
limitation |
what it means for use |
|---|---|
The row publishes under the reporting policy, not gated |
The fast tier recomputes each verdict and does not fail on a red one |
There is no cross-implementation evidence |
No maintained implementation computes these rules on a longitudinal fit |
Gross miscalibration only |
A rule with true size 0.08 passes a size cell with probability 0.663. The check does not certify the size to two decimals |
One law and one size per cell |
Each row covers \(n \ge 1000\) at no more than 0.003 covariates per row. A smaller fit or a wider history prints no verdict |
Two nodes, two arms and GLM nuisances only |
A fit with another learner, another node count or another regimen kind prints no verdict |
No negative-control row on a survival fit |
|
I1’s iterated regression is misspecified |
Under the odds tilt the node-1 regression is not linear. The mechanisms are correct, so the nulls stay exact. The I1 subset cell passed with 11 rejections |
SN1 reads the regimen contrast with intercept-only blips |
A blip coefficient, a level, or a fit with other blip features prints no verdict. The nuisance \(E[A_2 \mid W, A_1]\) is not logistic-linear on law E. The SN1 subset cell passed with 14 rejections |
B3’s simulation error is outside its standard error |
The subset scatter includes the g-formula’s Monte Carlo error. Only the shipped 10 draws per unit are in scope |
The primary phase is under-resolved |
200 replications cannot put the 99% coverage limit above 0.90. The two truth rows are red with an owner, and no rule row reads them |
Reproduction#
The fixture README gives the regeneration command. The manifest records the seeds, the margins, the laws, the source hashes and the result hashes. The cell configurations and the property results carry every published row.