P1 = Proportion of success in first group (Out of 1) (e .g. 25% = 0.25).
P2 = Proportion of success in second group (Out of 1) (e .g. 25% = 0.25).
r= Sample size in first group : Sample Size in second group = N2 / N1
Z 1-α = the standard normal deviate corresponding the confidence level
Φ(x)=P(Z ≤ x). It is the cumulative distribution function (CDF) of normal distribution. Simply, it is the area of the standard normal curve towards left side of x.