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.
  • upp (low,) – 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