summary.percentile Function (GPL)
Syntax
summary.percentile(<algebra>, <function>)
or
summary.percentile(<binning function>, <function>)
or
summary.percentile(<statistic function>, <function>)
<algebra>. Graph algebra, such as x*y
.
Refer to Brief Overview of GPL Algebra for an introduction to graph algebra.
<function>. One or more valid functions. These are
optional. If no alpha
function is specified, 0.95
is used for the alpha. If the alpha is 0.5, the result is equivalent
to summary.median
.
Description
<binning function>. A binning function.
<statistic function>. Another statistic function.
The result of the embedded statistic is used to calculate summary.percentile
.
Description
Calculates the percentile value at the specified alpha. If the function is evaluating graph algebra, the percentile value of the analysis variable is returned. For more information about analysis variables, see the discussion in Brief Overview of GPL Algebra .
Examples
ELEMENT: interval(position(summary.percentile(jobcat*salary, alpha(0.25))))
Statistic Functions
See GPL Functions .