
検定力を0.75とすると
60パーセントの方が50パーセントの方よりもの多いと統計的にいえるか。
p1=0.60、p2=0.50としてeffect_sizeを計算し、サンプルサイズ(n)を算出する。
effect_size = ES.h(p1=0.60, p2=0.50)
pwr.2p.test(h=effect_size, sig.level=0.05, power=0.75,alternative='greater')

0.8にすると、

60パーセントの方が50パーセントの方よりもの多いと統計的にいえるか。
p1=0.60、p2=0.50としてeffect_sizeを計算し、サンプルサイズ(n)を算出する。
effect_size = ES.h(p1=0.60, p2=0.50)
pwr.2p.test(h=effect_size, sig.level=0.05, power=0.75,alternative='greater')
0.8にすると、