Hello,
I'd like to make a decision tree that starts with the 'age' variable and then processes the variable 'DebtRatio'.
And another decision tree that starts this time by 'DebtRatio' then 'age'.
Because I want only 2 split, I want to see the difference of decisions in these 2 cases.
How to do this?
Thanks for your help.
proc hpsplit data=train seed=15531 maxdepth=2 splitonce ;
model SeriousDlqin2yrs = DebtRatio age ;
grow Ftest;
prune costcomplexity;
code file='treesc.sas';
rules file='projetrules.txt';
output out = scoredtraining ;
run;
quit;