|
|
T-Test in SAS DATA A; INPUT GROUP $ HEIGHT; mars 72 venus 56 venus 68 mars 69 venus 71 . . . PROC SORT; BY GROUP; PROC TTEST; CLASS GROUP; RUN:
Notes: the dollar sign on the input statement indicates that the variable "group" is alphabetic. TTest requires the groups to be ordered, the PROC SORT assures that the groups will be ordered. |