:The true population proportion
:The null proportion
:The alternative proportion
: The α-level upper critical value of Normal distribution
: The α/2-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.