percentile

As per Apache Math commons definition

Return

the percentile

Parameters

data

the array of data. will be sorted

p

the percentile, must be within (0, 1)