statsmodels.stats.power.TTestIndPower.solve_power
TTestIndPower.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 t-test for t-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 deviation.