region.confi.proportion.count Function (GPL)
Syntax
region.confi.proportion.count(<algebra>, <function>, <base function>)
or
region.confi.proportion.count(<statistic function>, <function>, <base function>)
<algebra>. Graph algebra, such as x
or x*y
.
In the second case, the confidence interval for 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.
<function>. One or more valid functions. These are
optional. If no alpha
function is specified, 0.95
is used for the alpha.
<base function>. A function that specifies the percentage
base for region.confi.proportion.count
. This is optional.
The default is base.all()
.
<statistic function>. Another statistic function.
The result of the embedded statistic is used to calculate region.confi.proportion.count
.
Description
Calculates the confidence interval around the proportion within
each group compared to the total number of cases. The function creates
two values. When using the interval
, area
,
or edge
graphic elements, this function results in
one graphic element showing the range of the confidence interval.
All other graphic elements result in two separate elements, one showing
the confidence interval below the proportion value and one showing
the confidence interval above the proportion value.
Examples
ELEMENT: interval(position(region.confi.proportion.count(jobcat)), shape(shape.ibeam))
Statistic Functions
See GPL Functions .