statsmodels.stats.proportion.proportions_chisquare_allpairs¶
-
statsmodels.stats.proportion.proportions_chisquare_allpairs(count, nobs, multitest_method=
'hs'
)[source]¶ Chisquare test of proportions for all pairs of k samples
Performs a chisquare test for proportions for all pairwise comparisons. The alternative is two-sided
- Parameters:¶
- count{
int
, array_like} the number of successes in nobs trials.
- nobs
int
the number of trials or observations.
- multitest_method
str
This chooses the method for the multiple testing p-value correction, that is used as default in the results. It can be any method that is available in
multipletesting
. The default is Holm-Sidak ‘hs’.
- count{
- Returns:¶
- result
AllPairsResults
instance
The returned results instance has several statistics, such as p-values, attached, and additional methods for using a non-default
multitest_method
.
- result
Notes
Yates continuity correction is not available.
Last update:
Dec 23, 2024