Hi,
I have a question for my t-test code listed below. After I ran my code, I got an error message as below. I checked the variable flag for class statement. It is 2-category variable. Could anyone give me some hint? Thanks so much!
proc ttest data=mydata;
var score;
class flag;
run;
ERROR: N, MEAN, or STD value occurs twice in class or by group.