CV Function

Returns the coefficient of variation.

Category: Descriptive Statistics
Returned data type: DOUBLE

Syntax

Arguments

expression

specifies any valid expression that evaluates to a numeric value.

Requirement At least two arguments are required.
Data type DOUBLE
See <sql-expression>
FedSQL Expressions

Example

The following statements illustrate the CV function:
Statements
Results
select cv(5,9,3,6);
43.4782608695652 
select cv(5,8,9,6,.);
26.0820265478651
select cv(8,9,6,.);
19.9242421519819
Last updated: February 23, 2017