region.spread.se Function (GPL)

Syntax

region.spread.se(<algebra>, <function>)

or

region.spread.se(<binning function>, <function>)

or

region.spread.se(<statistic function>, <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 region.spread.se.

<function>. One or more valid functions. These are optional. If no multiple function is specified, 1 is used for the multiplier.

Description

Calculates the mean minus the standard error and the mean plus the standard error for the variable identified by the algebra. 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 standard error around the mean. All other graphic elements result in two separate elements, one showing the standard error below the mean and one showing the standard error above the mean.

Examples

Figure 1. Example: Creating an error bar
ELEMENT: interval(position(region.spread.se(jobcat*salary)))
Figure 2. Example: Creating an error bar for 2 standard errors
ELEMENT: interval(position(region.spread.se(jobcat*salary, multiple(2))))

Statistic Functions

See GPL Functions .