Hi. My data comprises several observations for each date. I want to generate a sequential numeric variable, that groups together the same date. For example, in the data below, all 22646 ==1, 22648==2, 22649==3...
I'd greatly appreciate any help in doing so.
I'd greatly appreciate any help in doing so.
Code:
input float appt_date 22646 22646 22646 22646 22648 22648 22648 22648 22648 22648 22649 22649 22649 22649 22649 22649 22649 22649 22650 22650 22650 22650 22650 22651 22651 22651 22651 22651 22652 22652 22652 22652 22652 22652
Comment