: The sample size of each group
:The proportion of 1st population
:The proportion of 2nd population
: The -level upper critical value of Normal distribution
: The -level two-side critical value of Normal distribution
:The cumulative distribution function of the standard normal distribution
Origin uses an iterative algorithm with the power equation. At each iteration,the power for a trial
sample size are evaluated and iteration stops when the power evaluated reaches the values which corresponding to an integer sample size, and which is nearest to, yet greater than, the target value.