Pearson_chi_squared_test_1xc function

The Pearson chi-squared test for multinomial probabilities