Statistics[Percentile] - compute percentiles
|
Calling Sequence
|
|
Percentile(A, p, ds_options)
Percentile(X, p, rv_options)
|
|
Parameters
|
|
A
|
-
|
Array or Matrix data set; data sample
|
X
|
-
|
algebraic; random variable or distribution
|
p
|
-
|
algebraic; percentile
|
ds_options
|
-
|
(optional) equation(s) of the form option=value where option is one of ignore, method, or weights; specify options for computing the percentile of a data set
|
rv_options
|
-
|
(optional) equation of the form numeric=value; specifies options for computing the percentile of a random variable
|
|
|
|
|
Description
|
|
•
|
The Percentile function computes the specified percentile of the specified random variable or data set.
|
•
|
The second parameter p is the percentile.
|
|
|
Options
|
|
|
For a description of the available options, see the Statistics[Quantile] help page. Calling Percentile with percentile is equivalent to calling Quantile with probability .
|
|
|
Compatibility
|
|
•
|
The A parameter was updated in Maple 16.
|
|
|
Examples
|
|
>
|
|
Compute the percentile of the Weibull distribution with parameters a and b.
>
|
|
| (1) |
Use numeric parameters.
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
Generate a random sample of size 100000 drawn from the above distribution and compute the sample percentile.
>
|
|
>
|
|
| (6) |
>
|
|
| (7) |
Consider the following Matrix data set.
>
|
|
| (8) |
We compute 29th percentile of each of the columns.
>
|
|
| (9) |
|
|
References
|
|
|
Stuart, Alan, and Ord, Keith. Kendall's Advanced Theory of Statistics. 6th ed. London: Edward Arnold, 1998. Vol. 1: Distribution Theory.
|
|
|
Download Help Document
Was this information helpful?