Dear All, I have this data
and wish to tag three observations (in the same sample) with values nearest to the current value for each observation? Any suggestions? Thanks.
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input float gdp 38.2203 148.788 160.813 179.149 228.366 17.9307 35.0746 77.0319 80.3094 309.432 75.864 108.08 end
Comment