Table 59.42: Some Useful SAS Functions
SAS Function |
Definition |
---|---|
|
|
|
Returns the value of the AIRY function. |
|
|
|
|
|
Each element is replaced by |
|
Standardize values |
|
Cumulative distribution function |
|
Standard normal cumulative distribution function |
|
|
|
Calculate commonly used constants |
|
cosine(x) |
|
|
|
std(x) / mean(x) * 100 |
|
Derivative of the AIRY function |
|
Returns the numbers of elements in the Nth dim of array m |
x1 eq x2 |
Returns 1 if x1 = x2; 0 otherwise |
x1**x2 |
|
|
|
|
Returns differences between the argument and its Nth lag |
|
|
|
|
|
1 - erf(x) |
|
|
|
Greatest integer |
|
|
|
|
|
Modified Bessel function of order nu evaluated at x |
|
Bessel function of order nu evaluated at x |
|
Returns values from a queue |
|
Returns the largest element |
|
|
|
|
|
|
|
lgamma() + lgamma() - lgamma() |
|
Log of a left cumulative distribution function |
|
Log of a probability density (mass) function |
|
Log of a survival function |
|
Returns if ; otherwise |
|
|
|
Returns the median of nonmissing values |
|
Returns if ; otherwise |
|
Returns 1 if x is missing; 0 otherwise |
|
Returns the remainder from |
|
Returns number of nonmissing values |
|
Number of missing values |
|
Computes the quantile from a specific distribution |
|
Probability density (mass) functions |
|
|
|
Returns a value that uses a specified format |
|
Rounds x |
|
|
|
Survival function |
|
Returns –1 if ; 0 if ; 1 if |
|
sine(x) |
|
Returns the smallest component of |
|
Sorts the values of the variables |
|
|
|
Standard deviation of (n-1 in denominator) |
|
|
|
Derivative of the DIGAMMA(x) function |
|
Uncorrected sum of squares |
Here are examples of some commonly used transformations: