I am trying to calculate the 98th percentile from some air quality data I have. The dataset is rather large consisting of 20,000 + values, growing daily. I have tried ranking the data, but this too long, in excess of 10 minutes.
The other method is to find the 19th highest value as this equates to 97.8 percentile. To do this I am sorting the data in descending order, knowing the value I want will be the 19th row. Does anyone know how I can automatically select the data contained in the 19th row of a table?
Cheers
Ian Grand
The other method is to find the 19th highest value as this equates to 97.8 percentile. To do this I am sorting the data in descending order, knowing the value I want will be the 19th row. Does anyone know how I can automatically select the data contained in the 19th row of a table?
Cheers
Ian Grand