One reason for using DoW loops is usually cause you're doing more than one calculation at a time, and it can be more efficient to have one pass of the data if you require any statistics that for some reason cannot be summarized via a PROC MEANS.
... View more