Chapter Contents

Previous

Next
VAR

VAR



Returns the variance

Category: Descriptive Statistics


Syntax
Arguments
Examples

Syntax

VAR(argument,argument, . . .)

Arguments

argument
is numeric. At least two arguments are required. The argument list may 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


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.