As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Tips:Rank of a matrix

From sasCommunity
Revision as of 17:59, 20 May 2017 by ArtCarpenter (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is a simple tip that came from Dale McLerran during a discussion about invertibility of matrices.

SAS/IML does not have an inbuilt function to produce the rank of a matrix. The inbuilt rank function ranks the entries of the matrix.

In order to obtain the rank, one can use the following function.

ranka=round(trace(ginv(a)*a));

Submitted by Murphy Choy. Contact me at my Discussion Page.

....see also