Hello,

I was wondering whether anyone can help me- as I am very new to Stata.

I have multiple patients with multiple data with random IDs. I wish to change these IDs into numerical order ( 1,2,3,4 etc). Does anyone know how can I do it, please?

many thanks,
maria