statsmodels.stats.rates.PowerEquivalenceResult#
- class statsmodels.stats.rates.PowerEquivalenceResult(*, power, std_alt, nobs_1, nobs_2, nobs_ratio, alpha, power_margins, std_null_low, std_null_upp)[source]#
Result of
power_equivalence_poisson_2indepandpower_equivalence_neginb_2indep.Extends
PowerResultwith power_margins, std_null_low and std_null_upp.- Parameters:
- power
float Power of the equivalence test.
- power_margins
ndarray Power contributions from the lower and upper equivalence margins.
- std_null_low
float Standard error of the test statistic under the null hypothesis at the lower equivalence margin.
- std_null_upp
float Standard error of the test statistic under the null hypothesis at the upper equivalence margin.
- std_alt
float Standard error of the test statistic under the alternative hypothesis.
- nobs_1
floatorint Number of observations in sample 1.
- nobs_2
floatorint Number of observations in sample 2.
- nobs_ratio
float Sample size ratio,
nobs_2 = nobs_ratio * nobs_1.- alpha
float Significance level used for the power computation.
- power
- Attributes:
- alpha
- nobs_1
- nobs_2
- nobs_ratio
- power
- power_margins
- std_alt
- std_null_low
- std_null_upp
See also
Notes
Unpacks as a length-1 sequence,
(power,) = result. Other values are only accessible using attributes.Methods
Properties