|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home MathPack Statis Functions PercentileOfArray|
|See also: QuickSelect, Percentile|
The function PercentileOfArray returns the percentile with the probability of prob percent. The calculation of the percentile is based on the distribution of all cells of the array Data between (and including) FirstIx, and LastIx. The calculated percentile is returned in the variable parameter Percentile.
The function returns the following error codes:
0 ... everything is OK, returned percentile is valid
Please note that the 50%-percentile (prob = 50) is also known as the median of the distribution.