statsmodels.stats.oneway.wellek_to_f2

statsmodels.stats.oneway.wellek_to_f2(eps, n_groups)[source]

Convert Wellek’s effect size (sqrt) to Cohen’s f-squared

This computes the following effect size :

f2 = 1 / n_groups * eps**2

Parameters
epsfloat or ndarray

Wellek’s effect size used in anova equivalence test

n_groupsint

Number of groups in oneway comparison

Returns
f2effect size Cohen’s f-squared