3.3.1. General Test Procedures for Studying Random Data
A. “Chi-square” tests. The chi-square test (χ2 test) is perhaps the best known of all statistical tests, and it is a basic method that is used in connection with many other tests. Before considering the idea in general, let us consider a particular example of the chi-square test as it might be applied to dice throwing. Using two “true” dice (each of which, independently, is assumed to yield the values 1, 2, 3, 4, 5, or 6 with equal probability), the following table gives the probability of obtaining a given total, s, on a single throw:
For example, a value of 4 can be thrown in three ways: 1 + 3, 2 + 2, 3 + 1; ...
Get Art of Computer Programming, Volume 2: Seminumerical Algorithms, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.