is the fraction of trials that are successful in the all experiments. The chi-square test is, on average, at a minimum when all success probabilities are equal (<math>p_i=p</math> for <math>i=1,2,\ldots,M</math>) and will, on average, increase whenever the data follows any other hypothesis (<math>\sum\limits_{i=1}^M | is the fraction of trials that are successful in the all experiments. The chi-square test is, on average, at a minimum when all success probabilities are equal (<math>p_i=p</math> for <math>i=1,2,\ldots,M</math>) and will, on average, increase whenever the data follows any other hypothesis (<math>\sum\limits_{i=1}^M |