Chi-square test to test the validity of a distribution assumed
for a random phenomenon. The test evaluates the null hypotheses H_{0}
(that the data are governed by the assumed distribution) against the alternative
(that the data are not drawn from the assumed distribution).