MacroHeaderForm edit

Macro Name

Partial Least Squares

Description This file contains some sample SAS codes to run partial least squares (PLS). The codes below

1. read in a matrix of gene expression values of size n x p (here p=3846) and a vector of class indicator (0 or 1) and
2. run PROC PLS.

The expression matrix here is SPACE delimited. If your expression matrix is TAB delimited (or another type), change the the line: delimiter=' ' (space) to delimitor=''(tab), etc.

Comments can be found below along with the codes. For details on PLS see the SAS documentation for PROC PLS (pp.2691-2734), SAS/STAT User's Guide, Version 8, SAS Institute Inc. (1999). Many examples are given there.

The data set OUTPLS includes the variables xscr1-xscr&lv, which are the PLS gene components. You can run your favorite classification routine in SAS, such as PROC LOGISTIC or PROC DISCRIM, or you can save the PLS gene components and input it into your favorite program.
Macro Parameters NA
Programmer DanhNguyen?
Revision 1
Disclaimer NA
Example(s)

Special Features NA
Called Macros NA
Notes NA
See Also Partial Least Squares
Partial Least Squares (R)
Topic attachments
I Attachment Action Size Date Who Comment
txttxt samplepls.txt manage 3.6 K 17 Mar 2009 - 14:00 CTSpediaAdmin sample pls sas
Topic revision: r4 - 25 Mar 2009 - 18:18:19 - NancyHills
CTSpedia.PartialLeastSquaresSAS moved from CTSpedia.PartialLeastSquaresMacro on 17 Mar 2009 - 22:50 by CTSpediaAdmin - put it back
 
Copyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding CTSPedia? Send feedback