Logo

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

Previous topic

statsmodels.stats.proportion.binom_test_reject_interval

Next topic

statsmodels.stats.proportion.binom_tost_reject_interval

This Page