Byers J A
Department of Ecology, Lund University, Sweden.
Comput Biol Med. 1991;21(1-2):69-77. doi: 10.1016/0010-4825(91)90037-a.
Five BASIC programs to select random samples from populations or to randomize treatments are presented. Program 1 is used to obtain randomization of any number of treatments in an equal number of positions or test units for any number of replicates. Program 2 produces latin squares of any size for treatment randomization. Program 3 is used to obtain a specific number of randomly selected samples from a population without replacement. Program 4 produces quasi-latin squares that have treatments repeated equally in all rows and columns, with identical treatments either spaced or not. Program 5 can be used with any size grid to place 3-100 treatments in equal proportions and with spacing of identical treatments. Both programs 4 and 5 allow for horizontal and vertical separation between identical treatments at sampling places while still retaining the quality of randomness. These programs should facilitate random sampling and randomization procedures which are required to correctly analyze experiments by the methods of statistical probability.
本文介绍了五个用于从总体中选择随机样本或对处理进行随机化的BASIC程序。程序1用于在任意数量的重复中,对任意数量的处理在相等数量的位置或试验单元中进行随机化。程序2生成任意大小的拉丁方用于处理随机化。程序3用于从总体中无放回地获取特定数量的随机选择样本。程序4生成准拉丁方,其中处理在所有行和列中均匀重复,相同处理可以间隔或不间隔。程序5可用于任何大小的网格,以等比例放置3至100个处理,并对相同处理进行间隔。程序4和5都允许在采样位置的相同处理之间进行水平和垂直分隔,同时仍保持随机性。这些程序应有助于随机抽样和随机化程序,而这些程序是通过统计概率方法正确分析实验所必需的。