statsmodels.stats.weightstats.ztest
statsmodels.stats.weightstats.ztest(x1, x2=None, value=0, alternative='two-sided', usevar='pooled', ddof=1.0) [source]
test for mean based on normal distribution, one or two samples In the case of two samples, the samples are assumed to be independent. Parameters:
x1, x2 : array_like, 1-D or 2-D two independent samples 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 differenc