I have different date variables and want to find the second minimum date. That is when you order the dates from lowest to highest, what is the second lowest date after the first? Can someone help me with this, please? Below is an example dataset. Thank you very much.
ID age date1 date2 date3 date4
1. 30. 16/12/2012 10/06/2000 01/01/1999 06/05/2001
2. 19. 16/07/2014 09/04/2002 02/10/1999 07/04/1998
Related Posts with Second minimum date
Launch of Cross Sectional Dependence Tests in StataHi Dear, Can you please tell me when or in which year and month Stata introduced cross sectional de…
Loop to avoid using more variables than Stata allowsHi everyone, I am working with a lot of data and could really use your help. I am trying to create …
FMMwith GLM yields strange results on simulated dataHello Statalist Community, I am trying to test the capabilities of STATA 15's FMM procedure to esti…
Pooled cross section the best way to analyze non-panel longitudinal data?There are a bunch of datasets, e.g. world values survey, alcohol usage report etc which present good…
FMM with GLM yields strange results on simulated dataHello Statalist Community, I am trying to test the capabilities of STATA 15's FMM procedure to esti…
Subscribe to:
Post Comments (Atom)
0 Response to Second minimum date
Post a Comment