Given the following PROC FORMAT step, how is the value 70 displayed when the AGEGRP. format is applied? proc format; picture agegrp 1-<13=’00 Youth’ 13-<20=’00 Teen’ 20-<70=’00 Adult’ 70-high=’000 Senior’; run;
-
000 Senior
-
70 Adult
-
70 Senior
-
070 Senior
C
Correct answer
Explanation
The value 70 falls in the '70-high' range, which uses the '000 Senior' picture format. The 70 replaces the first two zeros, resulting in '70' with 'Senior' label. The format directive specifies 3 digits before the label, so 70 is displayed as '70' (not padded) followed by 'Senior'.