stats.proportion.binom_tost()

statsmodels.stats.proportion.binom_tost

statsmodels.stats.proportion.binom_tost(count, nobs, low, upp) [source]

exact TOST test for one proportion using binomial distribution

Parameters:

count : integer or array_like

the number of successes in nobs trials.

nobs : integer

the number of trials or observations.

low, upp : floats

lower and upper limit of equivalence region

Returns:

pvalue : float

p-value of equivalence test

pval_low, pval_upp : floats

p-values of lower and upper one-sided tests

© 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.proportion.binom_tost.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部