Resources

SASŪ High-Performance Analytics Samples

The SAS High-Performance Analytics sample programs and install verification tests can be run only after you edit and submit this file. The file contains site-specific information about your environment so that the procedures can run successfully.

Getting Started Example for PROC HPSAMPLE

/****************************************************************/
/*          S A S   S A M P L E   L I B R A R Y                 */
/*                                                              */
/*    NAME: hpsamg01                                            */
/*   TITLE: Getting Started Example for PROC HPSAMPLE           */
/* PRODUCT: HPA                                                 */
/*  SYSTEM:                                                     */
/*    KEYS:                                                     */
/*   PROCS: HPSAMPLE                                            */
/*    DATA:                                                     */
/*                                                              */
/* SUPPORT:  Ye Liu                                             */
/*     REF:                                                     */
/*    MISC: Example from the Getting Started section of the     */
/*          HPSAMPLE chapter of HPA                             */
/****************************************************************/

 proc hpsample data=Sampsio.Hmeq  out=Smp samppct=10 seed=1234 partition;
     var loan derog mortdue value yoj delinq
         clage ninq clno debtinc;
     class bad reason job;
     target bad;
 run;
 proc print data=Smp;run;