stats.weightstats.ztost()

statsmodels.stats.weightstats.ztost

statsmodels.stats.weightstats.ztost(x1, low, upp, x2=None, usevar='pooled', ddof=1.0) [source]

Equivalence test based on normal distribution

Parameters:

x1 : array_like

one sample or first sample for 2 independent samples

low, upp : float

equivalence interval low < m1 - m2 < upp

x1 : array_like or None

second sample for 2 independent samples test. If None, then a one-sample test is performed.

usevar : string, ‘pooled’

If pooled, then the standard deviation of the samples is assumed to be the same. Only pooled is currently implemented.

Returns:

pvalue : float

pvalue of the non-equivalence test

t1, pv1 : tuple of floats

test statistic and pvalue for lower threshold test

t2, pv2 : tuple of floats

test statistic and pvalue for upper threshold test

Notes

checked only for 1 sample case

© 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.ztost.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部