BookmarkSubscribeRSS Feed
tojojosh
Fluorite | Level 6

Please I keep getting this error :

ERROR: Procedure DTREE not found.

Please see my code below :

title 'Loan Grant Decision';

Proc dtree
Stagein=Stage6 Probin=Prob6 Payoffs=Payoff6
Summary target=investigation nowarning;
Modify 'Order Investigation' reward -500;
Evaluate;
Options linesize=85;
Summary/target=Application;
Options linesize=80;

5 REPLIES 5
Reeza
Super User

What type of SAS installation do you have?

 

DTREE is part of SAS OR so you may not have a license for SAS\OR.

 

Check what's licensed with:

 

proc setinit;run;

versus what's installed:

 

proc product_status;run;
tojojosh
Fluorite | Level 6
I use the university edition.
Is that the cause of the error
Reeza
Super User

Yes, SAS/OR is not part of SAS UE. What are you trying to achieve, perhaps there's another option?

 

PROC CLUSTER/DISCRIM & PROC TREE?

 

 

tojojosh
Fluorite | Level 6
Im just trying to do a decison tree analysis on if a loan officer should issue out a student loan of 30000 at 15% interest rate
Reeza
Super User

Ah, well, a good option for that would be Logistic Regression instead.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 1525 views
  • 0 likes
  • 2 in conversation