P1 = Estimated first sample proportion.
P2 = Estimated second sample proportion.
r = Ratio of Sample Sizes in two groups (N2:N1).
Z 1-α = the standard normal deviate corresponding the confidence level
β = 1 – Power (Out of 1) (e.g. 80% = 0.8)
Z 1-β = the standard normal deviate corresponding to 1- β.