Thank you, is there a way to deliver the output inside the data step (inside the loop), instead of creating and merging the datasets at the end? I am thinking if in case that there are more threshold levels (for example. starting at 800 and 50), there will be more levels that have count = 0, creating data and then merge them is not really efficient. Thank you.
... View more