Use the DISCRIM macro. 1. Issue the following commands to SAS (with appropriate substitutions for "U:\"). LIBNAME GFLib 'U:\dm\sasdata' ; LIBNAME RCLib 'U:\dm\RC' ; 2. If necessary, apply macros to convert Excel data to SAS (EXCELSAS, see MacroInstr.txt), to divide the data into training/test or training/validation/test subsets (RANSPLIT, see MacroInstr.txt), or to explore the data (UNIVAR and FREQ/FREQUENCY, see MacroInstr2.txt). 3. If necessary, assign numerical designations to categories and shorten variable names. Illustrative code may be found in MacroInstr5.txt. 4. Apply the DISCRIM macro. How to fill in the blanks is described on pages 278-282 of the textbook. For output like that in {GFLIB.Diabet181.rtf} (i.e., to receive suggestions for selecting variables), try: GFLIB.Diabet1 YES Group [blank] x1 x2 x3 x4 x5 [blank] PROP ID [blank] 81 U:\dm\RC\ word [blank] For output like that in {GFLIB.Diabet183.rtf} (i.e., to perform discriminant analysis with the variables of your choosing), try: GFLIB.Diabet1 [blank] Group YES x1 x2 x3 x4 [blank] PROP ID GFLIB.Diabet2 83 U:\dm\RC\ word [blank]