PROC TTEST for T-test

data exercise;
input Subject_ID $ Posttest Treatment $;
cards;
A 24 T
B 26 C
C 25 T
D 44 C
E 45 T
F 24 C
G 25 T
;
run;

PROC TTEST;
class treatment;
var Posttest;
RUN;

Leave a Reply