Wednesday, June 24, 2009

Creating Special Missing Values

data student_score;
student = 1; score=50; output;
student = 2; score =.a; output;
student = 3; socre=.n; output;
run;

proc print;
run;

Here special numeric value a means that student was absent and n means incomplete test. So single missing values can have multiple meaning in SAS.

No comments:

Post a Comment