statsmodels.stats.oneway.confint_effectsize_oneway¶
- statsmodels.stats.oneway.confint_effectsize_oneway(f_stat, df, alpha=0.05, nobs=None)[source]¶
Confidence interval for effect size in oneway anova for F distribution
This does not yet handle non-negativity constraint on nc. Currently only two-sided alternative is supported.
- Parameters:
- Returns:
Holder
Class with effect size and confidence attributes
See also
Notes
The confidence interval for the noncentrality parameter is obtained by inverting the cdf of the noncentral F distribution. Confidence intervals for other effect sizes are computed by endpoint transformation.
R package
effectsize
does not compute the confidence intervals in the same way. Their confidence intervals can be replicated with>>> ci_nc = confint_noncentrality(f_stat, df1, df2, alpha=0.1) >>> ci_es = smo._fstat2effectsize(ci_nc / df1, df1, df2)