summary.proportion.count.cumulative Function (GPL)
summary.proportion.count.cumulative(<algebra>, <base function>)
or
summary.proportion.count.cumulative(<binning function>, <base function>)
or
summary.proportion.count.cumulative(<statistic function>, <base function>)
<algebra>. Graph algebra, such as x
or x*y
.
In the second case, the proportion is calculated for cases with non-missing y
-variable
values. Refer to Brief Overview of GPL Algebra for an introduction to graph algebra.
<base function>. A function that specifies the percentage
base for summary.proportion.count.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.proportion.count.cumulative
.
Description
Calculates the cumulative proportion of cases within each group
compared to the total number of cases. This function is similar to summary.percent.count.cumulative
except
it reports a value between 0 and 1 instead of 0 and 100.
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.proportion.count.cumulative(jobcat)))
Statistic Functions
See GPL Functions .