Functions and CALL Routines |
Returns the standard deviation of the nonmissing arguments.
Category: |
Descriptive Statistics
|
STD(argument-1,argument-2<,...argument-n>)
|
-
argument
-
specifies a numeric constant, variable,
or expression. 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.
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
|
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.