Computes the specified quantile of a data set using the SAS Method 4.
See Also
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | x(:) |
An N-element array containing the data. |
||
| real(kind=real64), | intent(in) | :: | q |
The quantile to compute (e.g. 0.25 computes the 25% quantile). |
Quantile; empty/nonfinite data or q outside [0, 1] give NaN.
Computes a quantile using the array implementation on a copy.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(data_column), | intent(in) | :: | x |
The input column, unchanged; unallocated storage is treated as empty. |
||
| real(kind=real64), | intent(in) | :: | q |
The quantile probability in [0, 1], using the array routine's interpolation. |
Quantile; empty/nonfinite data or invalid/nonfinite q give NaN.