SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
Returns the standard deviation
Category: Descriptive Statistics
Syntax
STD ( 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=std(2,6); | 2.8284271247 |
x2=std(2,6,.); | 2.8284271427 |
x3=std(2,4,6,3,1); | 1.9235384062 |
x4=std(of x1-x3); | 0.5224377453 |