Computer Technology

Behavior Research Methods, Instruments, & Computers

, Volume 23, Issue 1, pp 45-60

First online:

Algorithms for randomness in the behavioral sciences: A tutorial

  • Marc BrysbaertAffiliated withUniversity of Leuven


Simulations and experiments frequently demand the generation of random numbers that have specific distributions. This article describes which distributions should be used for. the most common problems and gives algorithms to generate the numbers. It is also shown that a commonly used permutation algorithm (Nilsson, 1978) is deficient.