I have a variable, date (in %d format). There are numerous observations with
the same date, although the number of observations with the same date is not
constant. (also, there are gaps in the days). I want to create an indicator
variable to group date in increments of 10 days. (for the first 10 days, i
want the variable to be 1, the next 10 days, the observation to be 2 and so
forth. Any help would be appreciated (if tried the -egen- seq commands, but
haven't been able to get it to condition on date. Thank you!