Example 9.1 OBS ID Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10 HEIGHT AGE 1 101 1 1 3 2 4 10 16 14 15 15 68 23 2 102 1 4 3 3 2 12 12 14 13 16 72 21 3 103 2 3 3 4 2 14 14 12 12 10 66 28 4 104 1 5 5 3 2 16 16 13 14 12 66 22
The code works but there are reasons to not prefer this simple-minded style (common in beginning SAS programmers).