Hello everyone:
How I can recognize in Stata the last date of a register. I mean, I have something like this by ID and I want to keep only the registers from the last date (that is why i have created the variable Date_1). How I can keep them by ID?
ID Date Date_1
33589911 2019-08-13 0813
33589911 2019-09-04 0904
40776365 2019-08-26 0826
40776365 2019-09-09 0909
.
.
.
.
.
Thank you,
Luciana
How I can recognize in Stata the last date of a register. I mean, I have something like this by ID and I want to keep only the registers from the last date (that is why i have created the variable Date_1). How I can keep them by ID?
ID Date Date_1
33589911 2019-08-13 0813
33589911 2019-09-04 0904
40776365 2019-08-26 0826
40776365 2019-09-09 0909
.
.
.
.
.
Thank you,
Luciana
Comment