statsmodels.stats.oneway.fstat_to_wellek

statsmodels.stats.oneway.fstat_to_wellek(f_stat, n_groups, nobs_mean)[source]

Convert F statistic to wellek’s effect size eps squared

This computes the following effect size :

es = f_stat * (n_groups - 1) / nobs_mean

Parameters:
f_stat : float or ndarray

Test statistic of an F-test.

n_groups : int

Number of groups in oneway comparison

nobs_mean : float or ndarray

Average number of observations across groups.

Returns:

eps – Wellek’s effect size used in anova equivalence test

Return type:

float or ndarray