Hi all,
I am trying to do something like: bysort lat lon (date): xtile pct_rain = rainfall, nq(100).
However, xtile cannot be used with by. I essentially want the percentile value of each observation within lat and lon.
Any leads are appreciated!
Thanks!
I am trying to do something like: bysort lat lon (date): xtile pct_rain = rainfall, nq(100).
However, xtile cannot be used with by. I essentially want the percentile value of each observation within lat and lon.
Any leads are appreciated!
Thanks!
Comment