generates all combinations of elements taken at a time
generates all permutations of elements
computes the absolute value
applies the exponential function
truncates a value
computes the natural logarithm
computes the modulo (remainder)
computes the square root
returns random combinations of elements taken at a time
returns random permutations of elements
You can also call any function in Base SAS software, such as those documented in the following sections:
finds the maximum value of a matrix
finds the smallest element of a matrix
multiplies all elements
computes the sum of squares of all elements
sums all elements
checks for all nonzero elements
checks for any nonzero elements
returns the number of missing values
returns the number of nonmissing values
returns the number of unique values
conditionally chooses and changes elements
finds indices for the nonzero elements of a matrix
finds the number of columns of a matrix
finds the size of an element
finds the number of rows of a matrix
determines the type of a matrix
sorts a matrix by specified columns
creates a sorted index for a matrix
finds locations of unique BY groups in a sorted or indexed matrix
forms block-diagonal matrices
computes a block transpose
creates a diagonal matrix
produces an arithmetic series
converts a matrix stored in a sparse format into a full (dense) matrix
creates an identity matrix
inserts one matrix inside another
creates a matrix of identical values
discards elements from a matrix
creates a new matrix of repeated values
reshapes and repeats values
reshapes and repeats values by columns
converts a matrix that contains many zeros into a matrix stored in a sparse format
converts a symmetric matrix to a square matrix
converts a symmetric matrix which is stored columnwise to a square matrix
converts a square matrix to a symmetric matrix
transposes a matrix
creates a vector from the columns of the lower triangular elements of a matrix
creates a vector from a diagonal
translates numbers to ordinal characters
replaces text
produces a character representation of a matrix
concatenates elementwise strings
reshapes and repeats character values
finds the lengths of character matrix elements
lists the names of arguments
produces a numeric representation of a character matrix
concatenates rows without using blank compression
concatenates rows by using blank compression
takes substrings of matrix elements
You can also call functions in Base SAS software such as those documented in Character and Formatting Functions and Character String Matching Functions and Subroutines.
generates a pseudorandom normal deviate
generates random numbers from specified distributions
initializes seed for subsequent RANDGEN calls
generates pseudorandom uniform deviates
You can also call functions in Base SAS software such as those documented in Random Number Functions and Subroutines.
divides numeric values into a set of disjoint intervals
computes bivariate ranks
computes correlation statistics
counts the number of missing values
counts the number of nonmissing values
returns the number of unique values
computes a sample variance-covariance matrix
computes cumulative sums
computes cumulative products
creates a design matrix
creates a full-rank design matrix
computes geometric means
creates a Hadamard matrix
computes harmonic means
performs an iterative proportional fit of a contingency table
performs linear least absolute value regression by solving the norm minimization problem
performs robust least median of squares (LMS) regression
performs robust least trimmed squares (LTS) regression
finds the univariate (scaled) median absolute deviation
evaluates marginal totals in a multiway contingency table
computes the subsets of a matrix system that maximize the quadratic form
finds the minimum covariance determinant estimator
computes sample means
finds the minimum volume ellipsoid estimator
rescales qualitative data to be a least squared fit to qualitative data
computes sample quantiles (percentiles)
returns the range of values for a set of matrices.
ranks elements of a matrix, breaking ties arbitrarily
ranks elements of a matrix
performs discrete sequential tests
performs estimates of scales associated with discrete sequential tests
performs estimates of means associated with discrete sequential tests
computes a sample standard deviation
counts the number of unique values in a vector
sweeps a matrix
computes a sample variance
You can also call functions in Base SAS software such as those documented in Descriptive Statistics Functions and Subroutines.
computes an autocovariance sequence for an autoregressive moving average (ARMA) model
computes the log likelihood and residuals for an ARMA model
simulates an ARMA series
computes convexity of a noncontingent cash flow
computes autocovariance estimates for a vector time series
computes the difference between a value and a lagged value
computes modified duration of a noncontingent cash flow
computes the autocovariance function for an autoregressive fractionally integrated moving average (ARFIMA) model of the form ARFIMA()
estimates the parameters of an ARFIMA() model
computes the log-likelihood function of an ARFIMA() model
generates an ARFIMA() process
computes a fractionally differenced process
computes forward rates
computes the one-step prediction and the filtered estimate , in addition to their covariance matrices. The call uses forward recursions, and you can also use it to obtain -step estimates.
uses backward recursions to compute the smoothed estimate and its covariance matrix, , where is the number of observations in the complete data set
computes the one-step forecast of state vectors in a state space model (SSM) by using the diffuse Kalman filter. The call estimates the conditional expectation of , and it also estimates the initial random vector, , and its covariance matrix.
computes the smoothed state vector and its mean squares error matrix from the one-step forecast and mean squares error matrix computed by the KALDFF subroutine.
computes lagged values
computes the present value
converts interest rates from one base to another
computes spot rates
performs Bayesian seasonal adjustment modeling
analyzes nonstationary time series by using smoothness priors modeling
analyzes nonstationary or locally stationary time series by using a method that minimizes Akaike’s information criterion (AIC)
analyzes nonstationary or locally stationary multivariate time series by using a method that minimizes Akaike’s information criterion (AIC)
estimates vector autoregressive (VAR) processes by minimizing the AIC
analyzes periodic autoregressive (AR) models by minimizing the AIC
provides predicted values of univariate and multivariate ARMA processes when the ARMA coefficients are given
computes AR and moving average (MA) coefficients from the characteristic roots of the model, or computes the characteristic roots of the model from the AR and MA coefficients
analyzes time series that are nonstationary in the covariance function
determines the order of an AR process by minimizing the AIC, and estimates the AR coefficients
computes the theoretical cross-covariance matrices for a stationary vector autoregressive moving average (VARMA()) model
computes the log-likelihood function for a VARMA() model
generates VARMA() time series
generates multivariate normal random series
computes the characteristic roots for a VARMA() model
computes yield-to-maturity of a cash-flow stream
You can also call functions in Base SAS software such as those documented in Financial Functions.
computes a B-spline basis
performs the finite Fourier transform
computes the inverse finite Fourier transform
computes the first nonzero roots of a Bessel function of the first kind and the derivative of the Bessel function at each root
performs numerical integration of first-order vector differential equations with initial boundary conditions
generates orthogonal polynomials on a discrete set of data
provides columnwise orthogonalization by the Gram-Schmidt process and stepwise QR decomposition by the Gram-Schmidt process
finds zeros of a real polynomial
multiplies matrices of polynomials
performs numerical integration of scalar functions in one dimension over infinite, connected semi-infinite, and connected finite intervals
divides matrix polynomials
fits a cubic spline to data
fits a cubic spline to data and returns the spline coefficients
evaluates a cubic spline at new data points
computes thin-plate smoothing splines
evaluates the thin-plate smoothing spline at new data points
computes a complete orthogonal decomposition
computes a complete orthogonal decomposition by Householder transformations
finds a convex hull of a set of planar points
computes the determinant of a square matrix
reduces a matrix to row-echelon normal form
computes eigenvalues and eigenvectors
computes eigenvalues
computes eigenvectors
computes eigenvalues and eigenvectors of a generalized eigenproblem
computes a generalized inverse
computes the Gram-Schmidt orthonormalization
computes the Cholesky decomposition
generates a Hankel matrix
performs a horizontal direct product
reduces a matrix to Hermite normal form
solves homogeneous linear systems
computes the inverse
updates a matrix inverse
solves a sparse general linear system by iteration
provides updating and downdating for rank-deficient linear least squares solutions, complete orthogonal factorization, and Moore-Penrose inverses
computes the QR decomposition of a matrix by Householder transformations
downdates and updates QR and Cholesky decompositions
performs the Cholesky decomposition of a matrix
updates QR and Cholesky decompositions
updates QR and Cholesky decompositions
solves a system of linear equations
solves a sparse symmetric system of linear equations by direct decomposition
computes the singular value decomposition
generates a Toeplitz or block-Toeplitz matrix
sums diagonal elements
solves linear systems with triangular matrices
performs extended-precision matrix multiplication
solves the linear complementarity problem
solves the linear programming problem
performs nonlinear optimization by conjugate gradient method
performs nonlinear optimization by double-dogleg method
approximates derivatives by finite-differences method
computes feasible points subject to constraints
computes hybrid quasi-Newton least squares
computes Levenberg-Marquardt least squares
performs nonlinear optimization by Nelder-Mead simplex method
performs nonlinear optimization by Newton-Raphson method
performs nonlinear optimization by Newton-Raphson ridge method
performs nonlinear optimization by quasi-Newton method
performs nonlinear optimization by quadratic method
performs nonlinear optimization by trust-region method
lists the nonlinear optimization and related subroutines in SAS/IML software
finds elements that are contained in a set
compares elements of two matrices
performs unions of sets
sorts and removes duplicates
intersects sets
ends PROC IML
applies a module to arguments
calls a subroutine or function
groups statements as a unit
iteratively executes a DO group
iteratively executes statements until a condition is satisfied
iteratively executes statements while a condition is satisfied
ends a DO loop or DO statement
executes statements at run time
denotes the end of a module
frees matrix storage space
jumps to a new statement
conditionally executes statement
jumps to another statement
associates printing attributes with matrices
interrupts module execution
prints matrix values
removes observations marked for deletion and renumbers records
pushes statements to the beginning of the command input stream
queues statements at the end of the command input stream
exits from PROC IML
removes matrices from storage
sets processing options
resumes execution
returns to caller
executes statements in a module
prints system information
produces a tone
defines a module
stops execution of statements
lists names of matrices and modules in storage
stores matrices and modules in library storage
performs indirect assignment
assigns values by indirect reference
adds observations to SAS data set
closes a SAS data set
closes a file
returns the variables in a SAS data set
creates a new SAS data set
obtains the names of SAS data sets
deletes a SAS data set
marks observations in a data set for deletion
repeats a loop until an end of file occurs
opens a SAS data set for editing
opens or points to an external file
finds observations
is an alias for the SAVE statement
indexes a variable in a SAS data set
opens a file for input
inputs data
displays observations of a data set
loads modules and matrices from library storage
writes data to an external file
reads observations from a data set
renames a SAS data set
replaces values in observations and updates observations
saves data
makes a data set current for input
makes a data set current for output
sorts a SAS data set
computes summary statistics for SAS data sets
opens a SAS data set for reading
displays fields in a display window
defines a blanking viewport
deletes the blanking viewport
closes the graphics segment
deletes a graphics segment
draws a polyline
draws individual lines
draws a grid
includes a graphics segment
opens a graphics segment
draws pie slices
converts from polar to world coordinates
plots points
draws and fills a polygon
defines a viewport
pops the viewport
stacks the viewport
computes round numbers for labeling axes
writes multiple text strings with special fonts
sets attributes for a graphics segment
shows a graph
initializes the graphics system
deactivates the graphics system
finds the string length
places text horizontally on a graph
places text vertically on a graph
defines the data window
draws a horizontal axis
draws a vertical axis
produces scatter plots
renders a graph by using ODS Statistical Graphics
opens a display window
computes a wavelet transform of one dimensional data
returns requested information about a wavelet transform
inverts a wavelet transform after applying thresholding to the detail coefficients
displays information about a wavelet transform
applies specified thresholding to the detail coefficients of a wavelet transform
terminates a genetic algorithm and frees memory resources
gets requested members and objective values from the current solution population
gets objective function values for a requested member of current solution population
initializes the initial solution population
reevaluates the objective function for all solutions in the current population
specifies a current crossover operator
specifies a current mutation operator
specifies a current objective function
specifies a current selection parameters
sets up a specific genetic algorithm optimization problem
calls an external routine that has no return code
calls an external routine that returns a character
calls an external routine that returns a numeric value
calls SAS procedures, DATA steps, or macros. You can also use the R option to call functions in the R language.
defines a block of submitted statements. All statements between the SUBMIT and ENDSUBMIT statements are sent to the SAS System or R for processing.
transfers data from a SAS data set into an R data frame
transfers data from a SAS/IML matrix into an R matrix
transfers data from a matrix or data frame into a SAS data set
transfers data from a matrix or data frame into a SAS/IML matrix