Hi everyone, So I have a 9000 line data set (work.data) that displays loans and their associated values with them. One of the values: PERIOD_END_LSTAT tells me if the payments are overdue ("In Grace Period" or "Late (31-120 days)" or "Late (16-30 days)"). Since the payments that occur more than once for the same loan, there are multiple rows of late payments (duplicates). As you can see in the screenshot, the observation 339 & 340 are the same, but I just want it to show up once. Below, I've sorted all of the late payments from the data set, but I just want to know how many unique loans have late payments: Proc Print Data=work.data;
where PERIOD_END_LSTAT = "In Grace Period"
or PERIOD_END_LSTAT = "Late (31-120 days)"
or PERIOD_END_LSTAT = "Late (16-30 days)";
Run; How can I remove the same loans that appear more than once? I just want it to show up once so I can count the unique loans. Thanks!
... View more