Module xdlol::statistics[][src]

Randomness tests.

Reference

Knuth, D. E. "The Art of Computer Programming, 3.3.1 General Test Procedures for Studying Random Data." The Art of Computer Programming; Volume 2: Seminumerical Algorithms, Third Edition: 42-60.

Structs

FrequencyMap

Functions

chi_square

Calculates the chi-square value for n unsigned integers less than r

chi_square_test

Determine if the chi-square value is high for a distribution.

histogram

Print a histogram of a collection.