Critical Value
from scipy.stats import chi2
chi2.isf(0.5,5)
# Excel
# 95% confidence and 5 degrees of freedom
# CHISQ.INV.RT(0.05,5)
from scipy.stats import chi2
chi2.isf(0.5,5)
# Excel
# 95% confidence and 5 degrees of freedom
# CHISQ.INV.RT(0.05,5)