bayesplain.frequentist.several_proportions

bayesplain.frequentist.several_proportions(successes, n)[source]

Chi-square test that three or more groups share one rate.

The same Pearson statistic as a test of independence on the k x 2 table of successes and failures, named for the question it is being asked here.

Parameters:
successes : array_like

Success count in each group.

n : array_like

Trial count in each group.

Returns:

The omnibus result. estimate carries the range of the observed rates, highest minus lowest, as a point estimate.

Return type:

FrequentistTwin