Hi everyone,
I'm running a macro that aims to find the best the best buckets for intervals of rating corporates companies that has a probability of default. Sadly I can't provide the macro here (because corporate policies and also because isn't something that I can do any changes) but I have a few parameters that I can minimally handle the provided results. Those are, the min percentage of of default on each intervals of rating and the percentage of total clients on each bucket.
These two parameters can change from 0.05% until 100%.
What i'm intending is to find the best combination of those two percentage numbers in a macro.
In other posts is easy to find solutions using macros that uses this kind of logic:
%do i = 1 %to &k ;
end ;
%end ;
But not for percentage numbers.
Can anyone help me how to handle that ?
Thanks in advance.