statsmodels.stats.power.TTestIndPower¶
- class statsmodels.stats.power.TTestIndPower(**kwds)[source]¶
Statistical Power calculations for t-test for two independent sample
currently only uses pooled variance
Methods
plot_power
([dep_var, nobs, effect_size, ...])Plot power with number of observations or effect size on x-axis
power
(effect_size, nobs1, alpha[, ratio, ...])Calculate the power of a t-test for two independent sample
solve_power
([effect_size, nobs1, alpha, ...])solve for any one parameter of the power of a two sample t-test