
$$n=p(1-p)\left(\frac$ is the standard Normal quantile function This calculator uses the following formulas to compute sample size and power, respectively: $H_0:p-p_0\le\delta$ $H_1:p-p_0>\delta$and $\delta$ is the superiority or non-inferiority margin. This is particularly popular in clinical studies, where the margin is chosen based on clinical judgement and subject-domain knowledge.


Unless the difference is greater than a threshold, $\delta$. The idea is that statistically significant differences between the proportion and the reference value may not be of interest In this setting, we wish to test whether a proportion, $p$, is non-inferior/superior to a reference value, $p_0$. Whether the null hypothesis represents 'non-inferiority' or 'superiority' depends on the contextĪnd whether the non-inferiority/superiority margin, $\delta$, is positive or negative. This calculator is useful for the types of tests known as non-inferiority and superiority tests.
