The typical goal in noninferiority testing is to conclude that a new treatment or process or product is not appreciably worse than some standard. This is accomplished by convincingly rejecting a onesided null hypothesis that the new treatment is appreciably worse than the standard. When designing such studies, investigators must define precisely what constitutes “appreciably worse.”
You can use the POWER procedure for sample size analyses for a variety of noninferiority tests, by specifying custom, onesided null hypotheses for common tests. This example illustrates the strategy (often called Blackwelder’s scheme; Blackwelder 1982) by comparing the means of two independent lognormal samples. The logic applies to onesample, twosample, and pairedsample problems involving normally distributed measures and proportions.
Suppose you are designing a study hoping to show that a new (less expensive) manufacturing process does not produce appreciably more pollution than the current process. Quantifying “appreciably worse” as 10%, you seek to show that the mean pollutant level from the new process is less than 110% of that from the current process. In standard hypothesis testing notation, you seek to reject

in favor of

This is described graphically in Output 71.4.1. Mean ratios below 100% are better levels for the new process; a ratio of 100% indicates absolute equivalence; ratios of 100–110% are “tolerably” worse; and ratios exceeding 110% are appreciably worse.
Output 71.4.1: Hypotheses for the Pollutant Study
An appropriate test for this situation is the common twogroup t test on logtransformed data. The hypotheses become




Measurements of the pollutant level will be taken by using laboratory models of the two processes and will be treated as independent lognormal observations with a coefficient of variation () between 0.5 and 0.6 for both processes. You will end up with 300 measurements for the current process and 180 for the new one. It is important to avoid a Type I error here, so you set the Type I error rate to 0.01. Your theoretical work suggests that the new process will actually reduce the pollutant by about 10% (to 90% of current), but you need to compute and graph the power of the study if the new levels are actually between 70% and 120% of current levels.
Implement the sample size analysis by using the TWOSAMPLEMEANS statement in PROC POWER with the TEST=RATIO option. Indicate power as the result parameter by specifying the POWER= option with a missing value (.). Specify a series of scenarios for the mean ratio between 0.7 and 1.2 by using the MEANRATIO= option. Use the NULLRATIO= option to specify the null mean ratio of 1.10. Specify SIDES=L to indicate a onesided test with the alternative hypothesis stating that the mean ratio is lower than the null value. Specify the significance level, scenarios for the coefficient of variation, and the group sample sizes by using the ALPHA=, CV=, and GROUPNS= options. Generate a plot of power versus mean ratio by specifying the PLOT statement with the X=EFFECT option to request a plot with mean ratio on the X axis. (The result parameter, here power, is always plotted on the other axis.) Use the STEP= option in the PLOT statement to specify an interval of 0.05 between computed points in the plot.
The following statements perform the desired analysis:
ods listing style=htmlbluecml; ods graphics on; proc power; twosamplemeans test=ratio meanratio = 0.7 to 1.2 by 0.1 nullratio = 1.10 sides = L alpha = 0.01 cv = 0.5 0.6 groupns = (300 180) power = .; plot x=effect step=0.05; run; ods graphics off;
The ODS LISTING STYLE=HTMLBLUECML statement specifies the HTMLBLUECML style, which is suitable for use with PROC POWER because it allows both marker symbols and line styles to vary. See the section ODS Styles Suitable for Use with PROC POWER for more information.
Note the use of SIDES=L, which forces computations for cases that need a rejection region that is opposite to the one providing the most onetailed power; in this case, it is the lower tail. Such cases will show power that is less than the prescribed Type I error rate. The default option DIST=LOGNORMAL specifies the assumption of lognormally distributed data. The default MIN= and MAX= options in the plot statement specify an X axis range identical to the effect size range in the TWOSAMPLEMEANS statement (mean ratios between 0.7 and 1.2).
Output 71.4.2 and Output 71.4.3 show the results.
Output 71.4.2: Power for Noninferiority Test of Ratio
Fixed Scenario Elements  

Distribution  Lognormal 
Method  Exact 
Number of Sides  L 
Null Geometric Mean Ratio  1.1 
Alpha  0.01 
Group 1 Sample Size  300 
Group 2 Sample Size  180 
Computed Power  

Index  Geo Mean Ratio 
CV  Power 
1  0.7  0.5  >.999 
2  0.7  0.6  >.999 
3  0.8  0.5  >.999 
4  0.8  0.6  >.999 
5  0.9  0.5  0.985 
6  0.9  0.6  0.933 
7  1.0  0.5  0.424 
8  1.0  0.6  0.306 
9  1.1  0.5  0.010 
10  1.1  0.6  0.010 
11  1.2  0.5  <.001 
12  1.2  0.6  <.001 
Output 71.4.3: Plot of Power versus Mean Ratio for Noninferiority Test
The “Computed Power” table in Output 71.4.2 shows that power exceeds 0.90 if the true mean ratio is 90% or less, as surmised. But power is unacceptably low (0.31–0.42) if the processes happen to be truly equivalent. Note that the power is identical to the alpha level (0.01) if the true mean ratio is 1.10 and below 0.01 if the true mean ratio is appreciably worse (>110%). In Output 71.4.3, the line style identifies the coefficient of variation. The plotting symbols identify locations of actual computed powers; the curves are linear interpolations of these points.