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.
2025 SAS Hackathon: There is still time!
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!