power_chi2() - definition of effect size?
FlorinAndrei opened this issue · 2 comments
FlorinAndrei commented
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.
FlorinAndrei commented
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.
raphaelvallat commented
Indeed! I made the documentation more explicit in: c66e225