The user sasprofessionals.net had the problem of inability to group his data set into several variables, where the variable values are interchangeable as part of the observation, because they carried the same value.
In the sample dataset, observations 2,3 and 7 are the same, since each of them has the values A14, A14, and A10 as the values for Stat1-Stat3, and this is only the order is different. They should be grouped by graph. Observations 5 and 6 form another group, which should be summarized by counting.
Dataset example:
Obs Stat1 Stat2 Stat3 Count
1 A14 A14 A14 53090
2 A14 A14 A10 6744
3 A14 A10 A14 5916
4 A01 A01 A01 4222
5 A10 A10 A10 3085
6 A10 A10 A10 2731
7 A10 A14 A14 2399
Desired Result:
Obs Stat1 Stat2 Stat3 Count
1 A14 A14 A14 53090
4 A01 A01 A01 4222
6 A10 A10 A10 5816
7 A10 A14 A14 15059
The actual data set is bigger and more complex. I do not know if the user tried to use any methods to solve the problem.
sasprofessionals.net, StackOverflow . StackOverflow Q & A.