/** Two-Sample t tests using raw data, cutting blade example **/ libname sasdata '\\storage.wpi.edu\academics\courses\MA\SAS-Data\sasdata8'; /*********************************************************** Data are found in sasdata.blades2 Two-sided test: ***********************************************************/ proc ttest data=sasdata.blades2 alpha=.1; class manufacturer; var y; ods select Ttests; run; * Gives p-minus; proc ttest data=sasdata.blades2 alpha=.1 sides=l; class manufacturer; var y; ods select Ttests; run; * Gives p-plus; proc ttest data=sasdata.blades2 alpha=.1 sides=u; class manufacturer; var y; ods select Ttests; run;