SAS programming for sample size and power calculation of measurement data in non-inferior trials

AIM:To calculate sample size and power of measurement data in non-inferior trials using SAS programming. METHODS:Two calculation method,formula and SAS programming,were compared based on examples and the SAS macro for power was given as well. RESULTS:The calculation results of SAS programming was consistent with the formula,and SAS programming can directly give the result was more convenient without looking-up table to obtain the relevant parameters. CONCLUSION:It is helpful for investigator to have a better understanding at this programming to calculate sample size and power provided in this paper.