statsmodels.stats.proportion.PowerProportionsResult#
- class statsmodels.stats.proportion.PowerProportionsResult(power, p_pooled, std_null, std_alt, nobs1, nobs2, nobs_ratio, alpha)[source]#
Result of
power_proportions_2indep.- Parameters:
- power
float Power of the test.
- p_pooled
float Pooled proportion, used for std_null.
- std_null
float Standard error of the difference under the null hypothesis (without
sqrt(nobs1)).- std_alt
float Standard error of the difference under the alternative hypothesis (without
sqrt(nobs1)).- nobs1
floatorint Number of observations in sample 1.
- nobs2
floatorint Number of observations in sample 2.
- nobs_ratio
float Sample size ratio,
nobs2 = nobs_ratio * nobs1.- alpha
float Significance level used for the power computation.
- power
Methods
count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Methods
count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Properties