PSS-One-Var-Algorithm
One-sided power:
Two-sided power
:distribution function of the chi-square distribution with k degrees of freedom, where k = n -1
:inverse CDF evaluated at C for a chi-square distribution with k degrees of freedom
:significance level
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.