/****************************************************************/ /* S A S S A M P L E L I B R A R Y */ /* */ /* NAME: hpdmdg01 */ /* TITLE: Getting Started Example for PROC HPDMDB */ /* PRODUCT: HPA */ /* SYSTEM: */ /* KEYS: */ /* PROCS: HPDMDB */ /* DATA: */ /* */ /* SUPPORT: */ /* REF: */ /* MISC: Example from the Getting Started section of the */ /* HPDMDB chapter of HPA */ /****************************************************************/ proc hpdmdb data=Sampsio.Hmeq classout=cout varout=vout; var loan derog mortdue value yoj delinq clage ninq clno debtinc; class bad(desc) reason(ascending) job; run; proc print data=cout;run; proc print data=vout;run; data ex; input x1 x2 x3 x4 y$ w f y2; cards; 1 2 1 1 m .90 1 0 1 2 1 2 m .91 2 1 1 2 1 3 x .89 1 4 1 2 1 4 x .90 2 4 1 3 1 1 m .91 1 1 1 3 1 2 m .89 2 1 2 3 1 3 x .90 1 5 2 3 1 4 x .89 2 5 3 1 2 1 z .90 1 2 3 1 2 2 z .89 2 2 3 1 2 3 y .90 1 7 3 1 2 4 y .89 2 7 3 4 2 1 z .90 1 3 3 4 2 2 z .89 2 3 4 4 2 3 y .90 1 6 4 4 2 4 y .89 2 6 ; run;