08-06-2012 08:10 AM
Hello, I am having some difficulties to use the proc logistic with my grouped variables. I first created new formats for my continuos variables and now I want them on the modell, I mean for example:
value AVG_DELAY_L24Mgroup low-0.5 = 'delay1'
0.5-high = 'delay2';
for the frequency tables I have to specify, that I want the new format and so I did:
PROC FREQ data=score2;
format AVG_DELAY_L24M AVG_DELAY_L24Mgroup.;
ok, untill here. But what should I do for the modell, I tried:
proc logistic data = score2 descending;
format AVG_DELAY_L24M AVG_DELAY_L24Mgroup. Credit_limit Credit_limitgroup. DUR_CUST_REL DUR_CUST_RELgroup.;
class BRANCH_LEVEL_AGG Regis_date;
model bad_client = AVG_DELAY_L24M BRANCH_LEVEL_AGG Credit_limit DUR_CUST_REL;
but the programm doesn't understand that I want the grouped variables and keep modelling with the original ones. How should I say to SAS what I want?
08-09-2012 08:41 AM
Thank you Reeza, I solved writing the new variable format on the dataset:
AVG_DELAY_L24M_cat = put(AVG_DELAY_L24M,AVG_DELAY_L24Mgroup.);