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: |
|
---|---|
Returns: |
|
usevar not implemented, is always pooled in two sample case use CompareMeans instead.
© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.stats.weightstats.ztest.html