confidence interval for a binomial proportion
count : int or array
nobs : int
alpha : float in (0, 1)
method : string in [‘normal’]
ci_low, ci_upp : float
Beta, the Clopper-Pearson interval has coverage at least 1-alpha, but is in general conservative. Most of the other methods have average coverage equal to 1-alpha, but will have smaller coverage in some cases.
Method “binom_test” directly inverts the binomial test in scipy.stats. which has discrete steps.