# -*- coding: utf-8 -*-
"""
Created on Wed Jan  5 10:59:26 2022

@author: Sim
"""


import statsmodels.stats.contingency_tables as st

tab = [[79, 84], [91, 66]]

res1 = st.mcnemar(table=tab, exact=False)
print(res1.statistic, res1.pvalue)
