math/
percentiles.pro
top source percentiles
Math
result = percentiles(values, conflimit=conflimit)
Determines what range of a distribution lies within a percentile range.
Return value
A 2-element vector of values that encompass a fraction CONFLIMIT of the distribution. For example, if CONFLIMIT=0.68 then Result gives the 16th and 85th percentiles.
Parameters
- values in
Array containing the distribution.
Keywords
- conflimit in
The fraction of the distribution encompassed. Default: 0.68
Examples
IDL> a = 0.01*FINDGEN(101)
IDL> PRINT, PERCENTILES(a, CONFLIMIT=0.8)
0.1000000 0.900000
Author information
- History:
Written by: Jeremy Bailin 12 June 2008 Public release in JBIU
File attributes
| Modification date: | Wed Apr 15 16:07:56 2009 |
| Lines: | 47 |
![[attach.png]](../idldoc-resources/attach.png)