14.03.2014 Views

Scripting Guide - SAS

Scripting Guide - SAS

Scripting Guide - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

640 JSL Syntax Reference Appendix A<br />

Numeric Functions<br />

V Min(matrix)<br />

Description<br />

Returns a row vector containing the minimum of each column of matrix.<br />

V Std(matrix)<br />

Description<br />

Returns a row vector containing the standard deviations of each column of matrix.<br />

V Sum(matrix)<br />

Description<br />

Returns a row vector containing the sum of each column of matrix.<br />

Vec Diag(A)<br />

Description<br />

Creates a vector from the diagonals of a square matrix A.<br />

Returns<br />

The new matrix.<br />

Arguments<br />

A square matrix.<br />

Note<br />

Using a matrix that is not square results in an error.<br />

Vec Quadratic(symmetric matrix, rectangular matrix)<br />

Description<br />

Constructs an n-by-m matrix. Used in calculation of hat values.<br />

Returns<br />

The new matrix.<br />

Arguments<br />

Two matrices. The first must be symmetric.<br />

Equivalent Expression<br />

Vec Diag(X*Sym*X‘)<br />

Numeric Functions<br />

Abs(n)<br />

Description<br />

Calculates the absolute value of n.<br />

Returns<br />

Returns a positive number of the same magnitude as the value of n.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!