i'm cleaning a dataset and i encounter repeated ids. i want to keep them
unique, but the problem is that for some repeated ids the variables differ.
i want to keep just one of the repeated ids. so i'm using:
bysort id: keep if _n == 1
now i would like to know if this will keep the same id whenever the program
is run. or does the ordering change?
sorry for such a basic question but right now i don't have access to the
manuals.