TTestIndPower.power(effect_size, nobs1, alpha, ratio=1, df=None, alternative='two-sided')
[source]
Calculate the power of a t-test 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 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.stats.power.TTestIndPower.power.html