Yes, you can calculate that statistic. Please provide some sample data in the form of a DATA step. Be sure to explain which columns correspond to the various counts. I assume you have M = max(M_i) total columns, but I don't understand how the counts for the n-digit classes are arranged/named in the data.
The 2025 SAS Hackathon has begun!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.