statsmodels.stats.power.NormalIndPower.solve_power
NormalIndPower.solve_power(effect_size=None, nobs1=None, alpha=None, power=None, ratio=1.0, alternative='two-sided') [source]
solve for any one parameter of the power of a two sample z-test for z-test the keywords are: effect_size, nobs1, alpha, power, ratio exactly one needs to be None, all others need numeric values Parameters:
effect_size : float standardized effect size, difference between the two means divided by the standard deviatio