summary.percent.sum.cumulative Function (GPL)
summary.percent.sum.cumulative(<algebra>, <base function>)
or
summary.percent.sum.cumulative(<binning function>, <base function>)
or
summary.percent.sum.cumulative(<statistic function>, <base function>)
<algebra>. Graph algebra, such as x*y
.
Refer to Brief Overview of GPL Algebra for an introduction to graph algebra.
<base function>. A function that specifies the percentage
base for summary.percent.sum.cumulative
. This is
optional. The default is base.all()
.
<binning function>. A binning function.
<statistic function>. Another statistic function.
The result of the embedded statistic is used to calculate summary.percent.sum.cumulative
.
Description
Calculates the cumulative percentage within each subgroup based
on a summed variable compared to the sum across all groups. summary.percent.cumulative
is
an alias for this function. To obtain cumulative percentages of counts,
use the summary.percent.count.cumulative
function.
See the topic summary.percent.count.cumulative Function (GPL) for more information.
Note: If there
are multiple ELEMENT
statements, you
cannot use cumulative statistics for some graphic elements but not for others.
This behavior is prohibited because the results of each statistic function
would be blended on the same scale. The units for cumulative statistics do
not match the units for non-cumulative statistics, so blending these results
is impossible.
Examples
ELEMENT: interval(position(summary.percent.sum.cumulative(jobcat*salary)))
Statistic Functions
See GPL Functions .