McNemar test
Parameters:  x, y : array_like
exact : bool
correction : bool


Returns:  stat : float or int, array
pvalue : float or array

Notes
This is a special case of Cochran’s Q test. The results when the chisquare distribution is used are identical, except for continuity correction.