I am trying to find the equivalent of the Stata code "egen group" in SAS. The goal is: I have three variables x, y, and z. I want to create a new variable which will assign a different ordinal number for each combination of values of x, y, and z. How can I do this in SAS?
... View more