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
Repeated measures linear regression model with turkey adjustment for multiple comparisonsDear statalisters, I have a panel data I set the data like this xtset c_op_id visit panel variable: …
marginalized zero inflated modeling using STATAI have STATA 14 and I was informed that if I purchase STATA 16 I can now do marginalized zero inflat…
Comparing means across multiple groups using svy commandsI am looking to test for differences in means between three groups. Normally I would just run a onew…
Inheritance and virtual functionsHi everyone, my question is in the use of virtual functions and they are actually two questions: 1…
Cannot use cd within programsHello, I am having problems with the following code (for example). As you can see, the cd command do…
Subscribe to:
Post Comments (Atom)
0 Response to Second minimum date
Post a Comment