Previous Page | Next Page

Functions and CALL Routines

STD Function



Returns the standard deviation of the nonmissing arguments.
Category: Descriptive Statistics

Syntax
Arguments
Examples

Syntax

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


Arguments

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.


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

Previous Page | Next Page | Top of Page