NormalIndPower.power(effect_size, nobs1, alpha, ratio=1, alternative='twosided')
[source]
Calculate the power of a ztest for two independent sample
Parameters: 


Returns: 
power – Power of the test, e.g. 0.8, is one minus the probability of a type II error. Power is the probability that the test correctly rejects the Null Hypothesis if the Alternative Hypothesis is true. 
Return type: 
float 
© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.stats.power.NormalIndPower.power.html