summary.variance Function (GPL)
Syntax
summary.variance(<algebra>)
or
summary.variance(<binning function>)
or
summary.variance(<statistic function>)
<algebra>. Graph algebra, such as x*y
.
Refer to Brief Overview of GPL Algebra for an introduction to graph algebra.
<binning function>. A binning function.
<statistic function>. Another statistic function.
The result of the embedded statistic is used to calculate summary.variance
.
Description
Calculates the variance, which is the sum of squared deviations from the mean divided by one less than the number of cases. If the function is evaluating graph algebra, the variance 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.variance(jobcat*salary)))
Statistic Functions
See GPL Functions .