chi-squared-test

A simple function for calculating the chi-squared probability for a given observation set and expected set"