Sample size calc for two sample proportions

kris_d

New Member
When you use the formula below, is n equal to the total sample size for both groups or just 1?
n = (Zα/2+Zβ)^2 * (p1(1-p1)+p2(1-p2)) / (p1-p2)^2