Previous Page | Next Page

Functions and CALL Routines

CV Function



Returns the coefficient of variation.
Category: Descriptive Statistics

Syntax
Arguments
Examples

Syntax

CV(argument-1,argument-2<,...argument-n>)


Arguments

argument

specifies a numeric constant, variable, or expression. At least two arguments are required. The argument list can consist of a variable list, which is preceded by OF.


Examples

SAS Statements Results
x1=cv(5,9,3,6);
43.47826087
x2=cv(5,8,9,6,.);
26.082026548
x3=cv(8,9,6,.);
19.924242152
x4=cv(of x1-x3);
40.953539216

Previous Page | Next Page | Top of Page