raphaelvallat/pingouin

power_chi2() - definition of effect size?

FlorinAndrei opened this issue · 2 comments

Looking at the documentation of power_chi2() it is unclear which definition of the effect size it uses. There are several definitions for the effect size of a chi-square test.

https://www.statology.org/effect-size-chi-square/

Found it. It is Cohen's w effect size, per p. 216 in:

Cohen, J. (1988). Statistical power analysis for the behavioral sciences (2nd ed.).

Same as the ES.w() functions in the pwr package in R.

Indeed! I made the documentation more explicit in: c66e225