Returns the skewness
Category: Descriptive Statistics
SKEWNESS ( argument,argument,argument, ... )
argument
is numeric. At least three nonmissing arguments are required. Otherwise, the function returns a missing value. The argument list may consist of a variable list, which is preceded by OF.
SAS Statements | Results |
---|---|
x1=skewness(0,1,1); | -1.732050808 |
x2=skewness(2,4,6,3,1); | 0.5901286564 |
x3=skewness(2,0,0); | 1.7320508076 |
x4=skewness(of x1-x3); | -0.953097714 |