I have what's probably a simple issue for most. I'm using data from experimental games and trying to create an ordering variable based on dates. So, all observations recorded on the first date 14may2013 would be coded as 1, second date 15may2013 as 2, third date 17may2013 as 3, etc. Note that not all dates are consecutive, that is date + 1. There are anywhere from 24-45 observations per date. I'm tinkering with egen seq() and levelsof commands but to no avail. Any tips would be much appreciated. Let me know any additional clarification that's needed.
-
Login or Register
- Log in with
Comment