SHUFFLING ARRAYS - APPEARANCES MAY BE DECEIVING

被引:18
作者
CASTELLAN, NJ
机构
[1] Department of Psychology, Indiana University, Bloomington, 47405, IN
来源
BEHAVIOR RESEARCH METHODS INSTRUMENTS & COMPUTERS | 1992年 / 24卷 / 01期
关键词
D O I
10.3758/BF03203474
中图分类号
B841 [心理学研究方法];
学科分类号
040201 ;
摘要
Random permutations of arrays are widely used in experimentation and simulation, and most arrays are shuffled by means of a computer-based algorithm. In this paper, I show that despite the appearance of a random process, a shuffling procedure must be carefully scrutinized to determine whether it actually does produce random shuffles. A general sequence-transformation procedure is developed for evaluating permutation and shuffling schemes. Applying the transformation procedure and using the criteria that all possible sequences must be equally likely and that each object in a shuffled array must be equally likely to occupy each possible position in the shuffled array, we see that one algorithm meets the criteria, while another seemingly adequate algorithm fails to meet the criteria and, in addition, exhibits systematic deviations from randomness.
引用
收藏
页码:72 / 77
页数:6
相关论文
共 12 条
[1]   ALGORITHMS FOR RANDOMNESS IN THE BEHAVIORAL-SCIENCES - A TUTORIAL [J].
BRYSBAERT, M .
BEHAVIOR RESEARCH METHODS INSTRUMENTS & COMPUTERS, 1991, 23 (01) :45-60
[2]  
CULP G, 1983, APPLE TEACHER FUNDAM
[3]  
DENI R, 1986, PROGRAMMING MICROCOM
[4]  
Digital Green, 2020, DIG GREEN ANN REP
[5]   FORTRAN SUBROUTINES FOR RANDOM SAMPLING WITHOUT REPLACEMENT [J].
GREEN, BF .
BEHAVIOR RESEARCH METHODS & INSTRUMENTATION, 1977, 9 (06) :559-559
[6]  
Harrison G., 1973, Computer in psychology, P85
[7]  
HERGERT D, 1987, MICROSFT QUICKBASIC
[8]  
Knuth D. E., 1981, ART COMPUTER PROGRAM, V2
[9]   RANDOM NUMBERS FOR SIMULATION [J].
LECUYER, P .
COMMUNICATIONS OF THE ACM, 1990, 33 (10) :85-97
[10]  
LEHMAN RS, 1977, COMPUTER SIMULATION