statsmodels.stats.proportion.proportions_chisquare_pairscontrol¶

statsmodels.stats.proportion.
proportions_chisquare_pairscontrol
(count, nobs, value=None, multitest_method='hs', alternative='twosided')[source]¶ chisquare test of proportions for pairs of k samples compared to control
Performs a chisquare test for proportions for pairwise comparisons with a control (Dunnet’s test). The control is assumed to be the first element of
count
andnobs
. The alternative is twosided, larger or smaller.Parameters:  count (integer or array_like) – the number of successes in nobs trials.
 nobs (integer) – the number of trials or observations.
 prop (float, optional) – The probability of success under the null hypothesis, 0 <= prop <= 1. The default value is prop = 0.5
 multitest_method (string) – This chooses the method for the multiple testing pvalue correction,
that is used as default in the results.
It can be any method that is available in
multipletesting
. The default is HolmSidak ‘hs’.  alternative (string in ['twosided', 'smaller', 'larger']) – alternative hypothesis, which can be twosided or either one of the onesided tests.
Returns: result – The returned results instance has several statistics, such as pvalues, attached, and additional methods for using a nondefault
multitest_method
.Return type: AllPairsResults instance
Notes
Yates continuity correction is not available.
value
andalternative
options are not yet implemented.