region.confi.count Function (GPL)

Syntax

region.confi.count(<algebra>, <function>)

or

region.confi.count(<statistic function>, <function>)

<algebra>. Graph algebra, such as x or x*y. In the second case, the confidence interval for the count 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.

<statistic function>. Another statistic function. The result of the embedded statistic is used to calculate region.confi.count.

Description

Calculates the confidence interval around the count. 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 count and one showing the confidence interval above the count.

Examples

Figure 1. Example: Creating error bars
ELEMENT: interval(position(region.confi.count(jobcat)), shape(shape.ibeam))

Statistic Functions

See GPL Functions .