Suppose we have an EEG study with 3 groups. The recorded numbers of participants for each group were 7, 3, and 7, respectively. The reviewer correctly claimed that this is not enough statistically significant to study the differences among the groups. I quote: "aiming for a medium effect size of Cohen’s f= 0.25 (#=0.05) and a power of 0.85 for condition x group interaction effects, one would need a total sample size of 48 subjects, thus at least 16 subjects per group." Which equation led to that conclusion? Suppose we reduce the number of groups to two. How would that change the minimum total number of subjects?
Thank you very much for your reply.