Hey everyone, I'm pretty new to SAS, and am having trouble calculating the mean time for a dataset. My data is in military time, but the problem is that the central peak of the distribution is centered at midnight. So, instead of having a single peak at midnight, SAS gives me two peaks: one around 11:59 PM and another around 12:01 AM (or, as my dataset has, one peak at 2359 and another 0001). I was wondering how I might code SAS to realize that time is continuous through midnight. By the way, my code so far looks like this: proc univariate data=timesr; var hour; histogram; run; Thank you in advance!
... View more