GofChisquarePower.power(effect_size, nobs, alpha, n_bins, ddof=0)
[source]
Calculate the power of a chisquare test for one sample
Only two-sided alternative is implemented
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.GofChisquarePower.power.html