Statistics[Quartile] - compute quartiles
|
Calling Sequence
|
|
Quartile(A, q, ds_options)
Quartile(X, q, rv_options)
|
|
Parameters
|
|
A
|
-
|
Array or Matrix data set; data sample
|
X
|
-
|
algebraic; random variable or distribution
|
q
|
-
|
algebraic; quartile
|
ds_options
|
-
|
(optional) equation(s) of the form option=value where option is one of ignore, method, or weights; specify options for computing the quartile of a data set
|
rv_options
|
-
|
(optional) equation of the form numeric=value; specifies options for computing the quartile of a random variable
|
|
|
|
|
Description
|
|
•
|
The Quartile function computes the specified quartile of the specified random variable or data set.
|
•
|
The second parameter q is the quartile.
|
|
|
Options
|
|
|
For a description of the available options, see the Statistics[Quantile] help page. Calling Quartile with quartile is equivalent to calling Quantile with probability .
|
|
|
Compatibility
|
|
•
|
The A parameter was updated in Maple 16.
|
|
|
Examples
|
|
>
|
|
Compute the quartile of the Weibull distribution with parameters a and b.
>
|
|
| (1) |
Use numeric parameters.
>
|
|
| (2) |
>
|
|
| (3) |
Generate a random sample of size 100000 drawn from the above distribution and compute the sample quartile.
>
|
|
>
|
|
| (4) |
Consider the following Matrix data set.
>
|
|
| (5) |
We compute the third quartile of each of the columns.
>
|
|
| (6) |
|
|
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?