- Introduced by
- Eugene S. Edgington; Patrick Onghena
- Year
- 1980
- Type
- Permutation-based statistical inference for single-case designs
- Family
- Single-case experimental analysis / nonparametric inference
What does it do?
The randomization test for single-case experimental designs is a permutation-based procedure that yields a p-value for an intervention effect in a single participant.
Its validity depends on an experimentally controllable feature of the design, typically the session at which the intervention starts or the order in which conditions are presented, having been randomly determined before data were collected. Edgington's 1980 analysis sets out this requirement, together with the rule that the test statistic and any criterion for discarding data be specified before the data are observed. Because the probability statements come from the randomization itself, the procedure does not rely on normality or serial independence, assumptions that single-case time series often violate; the wider framework is set out in Edgington and Onghena's monograph Randomization Tests.
The intuition behind the method
Imagine a therapist testing whether a new communication aid reduces a child's challenging behavior. The therapist cannot recruit a hundred such children, but can study this one child over many sessions. The trick that makes a real statistical test possible is to decide in advance, by a coin flip or a random draw, exactly when the aid will be introduced — say, somewhere between session 6 and session 15. Once the data are in, you ask a simple question: of all the start points that could equally have been chosen at random, how extreme is the difference we actually saw at the start point that was chosen? If the observed jump in behavior is more dramatic than what almost any other random start point would have produced, that is unlikely to be a coincidence, and you have a small p-value. The logic borrows nothing from bell curves or independence assumptions; it rests entirely on the randomization the experimenter built into the design.
History
Edgington's 1980 paper in the Journal of Educational Statistics examined the validity of randomization tests for one-subject experiments and set out the conditions for that validity, including random assignment of treatment times. Edgington and Onghena's monograph Randomization Tests, cited here in its fourth edition (2007), covers the wider framework.
When to use it
Use a single-case randomization test when you are evaluating an intervention in one participant (or a small number analyzed individually) and you can build a random assignment into the design before data collection, for example by randomizing the intervention start point in a phase design or the condition order in an alternating-treatments design. It is the appropriate inferential tool when you want a defensible p-value to accompany visual analysis but cannot satisfy the normality and independence assumptions of conventional statistics. It is not applicable to designs in which nothing was randomized: a fixed AB design with a predetermined phase change cannot support a randomization test. It can also be uninformative when the number of admissible assignments is very small, since the minimum p-value is the reciprocal of that number.
Limitations and considerations
- Requires an experimentally controllable feature to have been randomized before data collection; fixed-phase or observational designs cannot use it.
- The smallest attainable p-value is 1/K, so reaching significance at a given alpha requires enough admissible assignments; power also depends on effect size, series length and the choice of test statistic.
- The p-value concerns whether an effect occurred for this case and does not by itself license generalization to a population.
- Exact enumeration of the reference distribution becomes impractical as the number of assignments grows, in which case a random sample of assignments is used to approximate it.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Provides an exact significance test whose validity rests on the randomization built into the design rather than on normality of the data.
- Suited to single-case and small-n research where group designs are impractical and the data are autocorrelated.
- Any test statistic can be used once significance is determined by the randomization procedure, so the analyst can target the predicted pattern of change.
- Adds a formal probability statement to visual analysis of single-case graphs.
Applications
- Testing the effect of an assistive or communication intervention introduced at a randomly chosen session in a single client.
- Evaluating alternating-treatments comparisons in which the order of conditions was randomized across sessions.
- Supplying p-values for multiple-baseline designs with randomized onsets in special-education and rehabilitation research.
- Providing inference that does not rely on distributional assumptions for autocorrelated behavioral time series.
- Strengthening the evidence base of single-case studies by adding formal inference.
How it works
How it works
The procedure starts with the design rather than the data. Before any observation is made, the analyst defines the set of admissible arrangements, such as the sessions at which the intervention phase may begin or the orderings of conditions in an alternating-treatments design, and one arrangement is selected at random. Each of the K admissible assignments is treated as equally likely, and this sample space is the foundation on which every later probability statement rests. Without a genuine random assignment built into the design, the randomization test has no valid basis.
Formula
\Omega = \{a_1, a_2, \ldots, a_K\},\quad \Pr(A = a_k) = \tfrac{1}{K}\ \ \forall kThe test statistic is chosen to capture the predicted effect, most commonly the difference between the intervention-phase mean and the baseline-phase mean, as in the formula above. Edgington's 1980 analysis requires that the statistic be specified before the data are observed, so that it cannot be selected to suit the results. Once significance is determined by the randomization procedure, any statistical test can be applied validly. The statistic computed on the data as collected, under the assignment actually used, is the observed value against which the reference distribution is compared.
Formula
T = \bar{X}_B - \bar{X}_A = \tfrac{1}{n_B}\sum_{t\in B} X_t - \tfrac{1}{n_A}\sum_{t\in A} X_tThe obtained data vector is held fixed and the test statistic is recomputed under every admissible assignment, giving K values. For a phase-onset design in which the intervention could have started at any of K sessions, the data are re-partitioned into baseline and intervention phases at each hypothetical start point and the statistic is recalculated. The division of the data must be consistent with the random assignment procedure actually used. Under the null hypothesis of no intervention effect, this collection is the exact randomization distribution of the statistic.
Formula
\{T(a_k)\}_{k=1}^{K}\ \text{computed by re-assigning the fixed data vector under each } a_k\in\OmegaThe p-value is the proportion of the K admissible assignments that yield a statistic at least as large as the obtained one, as in the formula above. The observed assignment is itself one of the K, so the smallest attainable p-value is 1/K; the number of admissible assignments therefore caps the significance that can be reached. Under the null hypothesis each assignment has probability 1/K, so the proportion gives the probability, over the randomization, of a result as extreme as the one observed.
Formula
p = \frac{\#\{k : T(a_k) \ge T_{\text{obs}}\}}{K}Interpretation rests on the null hypothesis that the outcome is unaffected by which assignment occurred, that is, that the intervention made no difference. When p is at or below the chosen alpha, the null is rejected in favour of a treatment effect. Because the probabilities derive from the randomization rather than from the distribution of the data, the test does not require normality or serial independence, which is why it suits autocorrelated, non-normal single-case series. With few admissible assignments the p-value takes only a small set of discrete values.
Formula
H_0:\ X_t \perp A \ \Rightarrow\ \text{reject if } p \le \alpha;\ \text{validity holds without normality or independence}Common pitfalls
- Applying the test to a design in which the phase change or condition order was chosen without genuine random assignment, which invalidates the p-value.
- Choosing or changing the test statistic, or the criterion for discarding data, after inspecting the data, which breaks the pre-specification that the validity argument requires.
- Reading significance in one case as evidence of an effect across people.
- Choosing a randomization scheme with too few admissible assignments, so that even a large effect cannot reach conventional significance.
Frequently asked questions
Why can a randomization test give a valid p-value without assuming normality?
The validity argument rests on the design rather than on the distribution of the data. Edgington's 1980 analysis requires that treatment times be randomly assigned, and under the null hypothesis each admissible assignment is equally likely. The p-value is the proportion of those equally likely assignments that would give a result as extreme as the observed one. The argument never invokes the shape of the data distribution, so it does not require normality.
What limits the ability of a single-case randomization test to reach significance?
The number of admissible random assignments. The smallest p-value the test can return is one divided by the number of possible assignments in the randomization scheme. If, for instance, the intervention could only start at one of five equally likely sessions, the minimum attainable p-value is 0.20, which can never reach a 0.05 threshold no matter how large the effect. Designers therefore build in many randomization opportunities, such as a wide range of possible phase-onset points, to make a significant result possible. Power beyond this bound also depends on effect size and series length.
Does a significant randomization test mean the intervention will work for other people?
No. The test supports a statement about this particular case: the observed pattern is unlikely to have arisen by chance under the design's randomization. Generalization to other individuals requires replication across cases, ideally combined through meta-analytic or multilevel synthesis.
Related methods
Sources
Edgington, E. S. (1980). Validity of Randomization Tests for One-Subject Experiments. Journal of Educational Statistics, 5(3), 235-251.
Open DOI referenceEdgington, E. S., & Onghena, P. (2007). Randomization Tests (4th ed.). Chapman & Hall/CRC.
ISBN: 9781584885894