I have 2000 + events and I would like to know a simple way to generate dummies to identify the 180 days prior to a event (i.e. if a event occurred in Jun 1st 1994, the dummies identify the prior 180 days to this date). I know the general idea is generate 180 dummies for each event and then loop to 2000+ events. How do I write code to generate 180 dummies? How do I loop to all events? Thanks!
-
Login or Register
- Log in with
Comment