3.3.1 GENERAL TEST PROCEDURES 51 may mean that the sequence has too much local nonrandomness; but a better general method would be to plot the empirical distribution of these 10 values and to compare it to the correct distribution, which may be obtained from Table 1. This would give a clearer picture of the results of the x2 tests, and in fact the statistics K& and K, could be determined as an indication of the success or failure. With only 10 values or even as many as 100 this could all be done easily by hand, using graphical methods; with a larger number of V s, a computer subroutine for calculating the chi-square distribution would be necessary. Notice that all 20 of the observations in Fig. 4(c) fall between the 5 and 95 percent levels, so we would not have regarded any of them as suspicious, individually; yet collectively the empirical distribution shows that these observations are not at all right. An important difference between the KS test and the chi-square test is that the KS test applies to distributions F(z) having no jumps, while the chi-square test applies to distributions having nothing but jumps (since all observations are divided into k categories). The two tests are thus intended for different sorts of applications. Yet it is possible to apply the x2 test even when F(X) is continuous, if we divide the domain of F(s) into k parts and ignore all variations within each part. For example, if we want to test whether or not VI, U2, . . . , U, can be considered to come from the uniform distribution between zero and one, we want to test if they have the distribution F(s) = z for 0 5 5 5 1. This is a natural application for the KS test. But we might also divide up the interval from 0 to 1 into k = 100 equal parts, count how many U s fall into each part, and apply the chi-square test with 99 degrees of freedom. There are not many theoretical results available at the present time to compare the effectiveness of the KS test versus the chi-square test. The author has found some examples in which the KS test pointed out nonrandomness more clearly than the x2 test, and others in which the x2 test gave a more significant result. If, for example, the 100 categories mentioned above are numbered 0, 1, . . . , 99, and if the deviations from the expected values are positive in compartments 0 to 49 but negative in compartments 50 to 99, then the empirical distribution function will be much further from F(z) than the x2 value would indicate; but if the positive deviations occur in compartments 0, 2, . . . , 98 and the negative ones occur in 1, 3, . . . , 99, the empirical distribution function will tend to hug F(z) much more closely. The kinds of deviations measured are therefore somewhat different. A x2 test was applied to the 200 observations that led to Fig. 4, with k = 10, and the respective values of V were 9.4, 17.7, and 39.3; so in this particular case the values are quite comparable to the KS values given in (16). Since the x2 test is intrinsically less accurate, and since it requires comparatively large values of n, the KS test has several advantages when a continuous distribution is to be tested. A further example will also be of interest. The data that led to Fig. 2 were chi-square statistics based on n = 200 observations of the maximum-of-t criterion for 1 5 t 2 5, with the range divided into 10 equally probable parts. KS statistics K&,, and KyoO can be computed from exactly the same sets of 200 observations, and the results can be tabulated in just the same way as we did