Use SAS to verify this data Sample size determination date s
Use SAS to verify this data (Sample size determination)
date
sigma =30
nullmean =120
alternative mean =115
1-alpha =0.95
1-beta =.80
Solution
proc power;
pairedmeans test=diff
meandiff = 5
stddev = 30
npairs = .
power = .80;
run;
As I do not have SAS software but go through this link which will surely solve your problem
http://www.stat.purdue.edu/~bacraig/SCS/Power%20and%20Sample%20Size%20Calculation.doc
