VAR Function


Returns the variance

Category: Descriptive Statistics

Syntax

VAR ( argument,argument, )

Arguments

argument

  • is numeric. At least two nonmissing arguments are required. Otherwise, the function returns a missing value. The argument list can consist of a variable list, which is preceded by OF.

Examples

SAS Statements

Results

x1=var(4,2,3.5,6);

2.7291666667

x2=var(4,6,.);

2

x3=var(of x1-x2);

0.2658420139




SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 704

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net