Statistical Functions

BIN function

divides numeric values into a set of disjoint intervals

BRANKS function

computes bivariate ranks

CORR function

computes correlation statistics

COUNTMISS function

counts the number of missing values

COUNTN function

counts the number of nonmissing values

COUNTUNIQUE function

returns the number of unique values

COV function

computes a sample variance-covariance matrix

CUSUM function

computes cumulative sums

CUPROD function

computes cumulative products

DESIGN function

creates a design matrix

DESIGNF function

creates a full-rank design matrix

DISTANCE function

computes pairwise distances betweens rows of a matrix

GEOMEAN function

computes geometric means

HADAMARD function

creates a Hadamard matrix

HARMEAN function

computes harmonic means

IPF call

performs an iterative proportional fit of a contingency table

LAV call

performs linear least absolute value regression by solving the $L_1$ norm minimization problem

LMS call

performs robust least median of squares (LMS) regression

LTS call

performs robust least trimmed squares (LTS) regression

MAD function

finds the univariate (scaled) median absolute deviation

MARG call

evaluates marginal totals in a multiway contingency table

MAXQFORM call

computes the subsets of a matrix system that maximize the quadratic form

MCD call

finds the minimum covariance determinant estimator

MEAN function

computes sample means

MVE call

finds the minimum volume ellipsoid estimator

OPSCAL function

rescales qualitative data to be a least squared fit to qualitative data

QNTL call

computes sample quantiles (percentiles)

RANGE function

returns the range of values for a set of matrices.

RANK function

ranks elements of a matrix, breaking ties arbitrarily

RANKTIE function

ranks elements of a matrix

SEQ call

performs discrete sequential tests

SEQSCALE call

performs estimates of scales associated with discrete sequential tests

SEQSHIFT call

performs estimates of means associated with discrete sequential tests

STD function

computes a sample standard deviation

TABULATE call

counts the number of unique values in a vector

SWEEP function

sweeps a matrix

VAR function

computes a sample variance

You can also call functions in Base SAS software such as those documented in the section Descriptive Statistics Functions and Subroutines.