statsmodels.stats.weightstats.zconfint
statsmodels.stats.weightstats.zconfint(x1, x2=None, value=0, alpha=0.05, alternative='two-sided', usevar='pooled', ddof=1.0) [source]
confidence interval based on normal distribution z-test Parameters:
x1, x2 : array_like, 1-D or 2-D two independent samples, see notes for 2-D case value : float In the one sample case, value is the mean of x1 under the Null hypothesis. In the two sample case, value is the difference between mean of x1 and mean of x2