import numpy as np
from statsmodels.stats.proportion import proportions_ztest
issues = 5
samples = 85
histrate =0.05
stat, pva = proportions_ztest(issues, samples, histrate)
print(pva)
proportion = issues/samples
proportion
import numpy as np
from statsmodels.stats.proportion import proportions_ztest
issues = np.array([5,4])
transactions = np.array([85,60])
stat, pva = proportions_ztest(issues,transactions,0)
print(pva)