McNemar test of homogeneity.
Parameters: | table : array-like
exact : bool
correction : bool
|
---|---|
Returns: | A bunch with attributes: : statistic : float or int, array
pvalue : float or array
|
Notes
This is a special case of Cochran’s Q test, and of the homogeneity test. The results when the chisquare distribution is used are identical, except for continuity correction.