An R package for single-case randomization tests

Behav Res Methods. 2008 May;40(2):467-78. doi: 10.3758/brm.40.2.467.

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.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Behavioral Sciences / methods*
  • Humans
  • Programming Languages
  • Random Allocation*
  • Randomized Controlled Trials as Topic / methods*
  • Research Design*
  • Software*