statsmodels.stats.power.TTestPower¶
- class statsmodels.stats.power.TTestPower(**kwds)[source]¶
Statistical Power calculations for one sample or paired sample t-test
Methods
plot_power
([dep_var, nobs, effect_size, ...])Plot power with number of observations or effect size on x-axis
power
(effect_size, nobs, alpha[, df, ...])Calculate the power of a t-test for one sample or paired samples.
solve_power
([effect_size, nobs, alpha, ...])solve for any one parameter of the power of a one sample t-test
Last update:
Oct 03, 2024