Power of the test of two proportions with unequal sample sizes (arcsine transformation), or the effect size, a sample size or the significance level for a given power. Equivalent to pwr::pwr.2p2n.test() in R.
pwr::pwr.2p2n.test()
pwr2p2nTest({ h: 0.3, n1: 80, n2: 120 }).power; // 0.5471899635264242pwr2p2nTest({ h: 0.3, n1: 200, power: 0.8 }).n2; // 154.6399892648981 Copy
pwr2p2nTest({ h: 0.3, n1: 80, n2: 120 }).power; // 0.5471899635264242pwr2p2nTest({ h: 0.3, n1: 200, power: 0.8 }).n2; // 154.6399892648981
Power of the test of two proportions with unequal sample sizes (arcsine transformation), or the effect size, a sample size or the significance level for a given power. Equivalent to
pwr::pwr.2p2n.test()in R.