A randomization test compares a statistic with values obtained by applying transformations that preserve the joint distribution under the null hypothesis.
A conditional randomization test tests by resampling the tested variable from its conditional law given the remaining covariates. For independent sample rows, hold the observed fixed and draw each replacement vector from the true product conditional law of . Under the null hypothesis, the original and these replacements are conditionally exchangeable. Applying the same prespecified test statistic and fitting rule to every dataset therefore gives the valid rank-based Monte Carlo testThe add-one convention and conservative treatment of ties give finite-sample type I error control. Other resampling constructions are possible when they preserve the same conditional exchangeability.[ref]
Replacing the true conditional law by an estimate does not automatically preserve that guarantee. For a counterexample without , let the true be a fair Bernoulli random variable and let be constant, so independence holds. If the resampling model incorrectly uses and the test statistic is , the model assigns upper-tail probability whenever the observed . That event actually occurs with probability , so the limiting simulation test rejects far more often than level permits.
Estimated conditional models require a separate calibration or approximation argument. More resamples reduce Monte Carlo error but do not correct a wrong conditional law. The method tests conditional independence; interpreting it as a causal effect test requires the appropriate additional causal inference assumptions.
A permutation test uses relabelings of observations as its null-preserving transformations and computes a p-value from the resulting orbit of the test statistic.
A sign-flip randomization test independently multiplies observations by signs in . It is finite-sample exact for a zero-centered null when the joint distribution is invariant under those sign changes.
Articles by others on the same topic
There are currently no matching articles.