Identifier for repetitive series
Posted: Sat Mar 26, 2011 3:44 pm
Dear Forum Members
I have a column of repetitive dates in my workfile and I like to assign unique values to each date even though they repeat a couple of times. The format is the following way 19910702 where each data corresponds to daily stock returns. For example, this single observation (19910702) repeats 20 times, but I want it to have a unique ID for all the repetitions. I tried Proc>Structure/Resize Current Page>Undated with ID Series but it kept saying that I have non-unique observations. I would very much appreciate if you could help with this issue.
Thanks
I have a column of repetitive dates in my workfile and I like to assign unique values to each date even though they repeat a couple of times. The format is the following way 19910702 where each data corresponds to daily stock returns. For example, this single observation (19910702) repeats 20 times, but I want it to have a unique ID for all the repetitions. I tried Proc>Structure/Resize Current Page>Undated with ID Series but it kept saying that I have non-unique observations. I would very much appreciate if you could help with this issue.
Thanks