As the first step in the decommissioning of 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:SVD in SAS

From sasCommunity
Revision as of 12:52, 16 October 2017 by Paulkaefer (Talk | contribs)

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

We can conduct SVD (Singular value decomposition) in SAS by using PROC PRINCOMP:

data X; 
     array _X{*} X1-X100;
     do ID=1 to 1E6;
        do j=1 to dim(_X);
proc princomp data=X  noint cov  outstat=X_stat;
     var X1-X100;

Submitted by Liang Xie. Contact me at my Discussion Page.

%SVD_MacroSVD ApplicationCompute SVD and pseudo-inverse in SAS