Dear users,
I go straight to the point asking maybe a silly question.
Is there a function to get the 2nd, 3rd, 4th,.... minimum value from a variable?
I know about
But it gives you the first minimum. And looking to other STATA function related to
seems to be no help
Would you be so kind to give some advice on that?
Thanks
I go straight to the point asking maybe a silly question.
Is there a function to get the 2nd, 3rd, 4th,.... minimum value from a variable?
I know about
Code:
egen wanted=min(variable)
Code:
min
Would you be so kind to give some advice on that?
Thanks
Comment