statsmodels.stats.rates.TostPoissonResult#

class statsmodels.stats.rates.TostPoissonResult(statistic, pvalue, method, compare, equiv_limits, results_larger, results_smaller, title)[source]#

Result of tost_poisson_2indep.

Parameters:
statisticfloat

Test statistic of the one-sided test that has the larger pvalue.

pvaluefloat

p-value of the equivalence test given by the larger pvalue of the two one-sided tests.

methodstr

Method used to compute the underlying one-sided tests.

compare{“diff”, “ratio”}

Whether the test is for the difference or ratio of the two rates.

equiv_limitstuple

The equivalence margin, (low, upp).

results_largerPoissonTest2indepResult

Results instance for the one-sided test at the lower equivalence margin.

results_smallerPoissonTest2indepResult

Results instance for the one-sided test at the upper equivalence margin.

titlestr

Descriptive title of the equivalence test.

Attributes:
compare
equiv_limits
method
pvalue
results_larger
results_smaller
statistic
title

Notes

Unpacks as statistic, pvalue = result. Other values are only accessible using attributes.

Methods

Properties