VAR Function

Returns the variance.

Category: Descriptive Statistics
Returned data type: DOUBLE

Syntax

Arguments

expression

specifies any valid expression that evaluates to a numeric value. The argument list can consist of a variable list.

Requirement At least two non-null or nonmissing arguments are required. Otherwise, the function returns a null or missing value.
Data type DOUBLE
See <sql-expression>
FedSQL Expressions

Example

The following statements illustrate the VAR function:
Statements
Results
select var(4,2,3.5,6);
2.7291666667
select var(4,6,.);
2
Last updated: February 23, 2017