statsmodels.stats.proportion.TostProportionsResult#
- class statsmodels.stats.proportion.TostProportionsResult(statistic, pvalue, compare, method, results_larger, results_smaller, title)[source]#
Result of
tost_proportions_2indep.- Parameters:
- statistic
float Test statistic of the one-sided test that has the larger pvalue.
- pvalue
float p-value of the equivalence test given by the larger pvalue of the two one-sided tests.
- compare{“diff”, “ratio”, “odds-ratio”}
Which comparison of the two proportions the test is for.
- method
str Method used to compute the underlying one-sided tests.
- results_larger
Proportions2indepTestResult Results instance for the one-sided test at the lower equivalence margin.
- results_smaller
Proportions2indepTestResult Results instance for the one-sided test at the upper equivalence margin.
- title
str Descriptive title of the equivalence test.
- statistic
- Attributes:
- compare
- method
- pvalue
- results_larger
- results_smaller
- statistic
- title
Notes
Unpacks as
statistic, pvalue = result. Other values are only accessible using attributes.Methods
Properties