An R package for single-case randomization tests
Related Experiment Video
Updated: Jul 4, 2026

Competing-Risk Nomogram for Predicting Cancer-Specific Survival in Multiple Primary Colorectal Cancer Patients after Surgery
Published on: September 27, 2024
1Katholieke Universiteit Leuven, Centre for Methodology of Educational Research, Leuven, Belgium. isis.bulte@ped.kuleuven.be
Abstract:
Randomization tests are nonparametric statistical tests that obtain their validity by computationally mimicking the random assignment procedure that was used in the design phase of a study. Because randomization tests do not rely on a random sampling assumption, they can provide a better alternative than parametric statistical tests for analyzing data from single-case designs. In this article, an R package is described for use in designing single-case phase (AB, ABA, and ABAB) and alternation (completely randomized, alternating treatments, and randomized block) experiments, as well as for conducting statistical analyses on data gathered by means of such designs. The R code is presented in a step-by-step way, which at the same time clarifies the rationale behind single-case randomization tests.
Related Concept Videos
Comparing the Survival Analysis of Two or More Groups
Randomized Experiments
Simple randomization
Simple...
Assumptions of Survival Analysis
Introduction To Survival Analysis
The primary goal of survival analysis is to estimate survival time—the time until a...
Statistical Software for Data Analysis and Clinical Trials
Study Design in Statistics
Does aspirin reduce the risk of heart attacks? Is one brand of fertilizer more effective at growing roses than another? Is fatigue as dangerous to a driver as the influence of alcohol? Questions like these are answered using randomized experiments with proper...
