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
Trend analysisDear Listers, I plan to run a trend analysis to explore how original wellbeing score (bad vs. good …
Compressing several loopsHi all, I have the 16 loops below, that I want to compress it: HTML Code: mat Y = J(21, 32, .) fo…
reference option Oaxaca decompositionHi I am interesting to use my own reference model. so, I tried to use the reference option with Oaxa…
Removing the last three digits of a four-digit numeric variableHi Statalist, I am working with a four-digit integer variable, ISCO08_1. I would like to simply dro…
Plotting non linearities in regression (as dy/dx) and interaction effects from reghdfe (multiple fixed effects)Hello everyone, First of all, thank you in advance for any answers to this post. It's very rare to …
Subscribe to:
Post Comments (Atom)
0 Response to Second minimum date
Post a Comment