# -*- coding: utf-8 -*-
"""
Created on Wed Jan  5 09:30:41 2022

@author: Sim
"""

import statsmodels.stats.contingency_tables as st

tab = [ [500, 450], [400, 450]]

res1 = st.mcnemar(table=tab, exact=False)
print(res1.statistic, res1.pvalue)
res2 = st.mcnemar(table=tab, exact=False, correction=False)
print(res2)
