Data Prep Sheet

Action Principale : assess

Preparation Code

Script awaiting validation
Copied!
1/* Load HMEQ data into CAS */
2PROC CASUTIL;
3 load DATA=sampsio.hmeq outcaslib="casuser" casout="hmeq" replace;
4QUIT;
5 
6/* Run logistic regression and score the data */
7PROC CAS;
8 logistic.regress TABLE={name='hmeq'},
9 class={'JOB', 'REASON'},
10 model={depvar='BAD', effects={'LOAN', 'MORTDUE', 'VALUE', 'REASON', 'JOB', 'YOJ', 'DEROG', 'DELINQ', 'CLAGE', 'NINQ', 'CLNO', 'DEBTINC'}},
11 OUTPUT={casout={name='hmeq_scored', replace=true}, into={'P_BAD1'='P_BAD1', 'P_BAD0'='P_BAD0'}};
12QUIT;
Actions using this script
  • percentile assess En cours
  • No other action uses this exact script.