BookmarkSubscribeRSS Feed
kisumsam
Quartz | Level 8

Hello, I'm given the task to build decision tree using SAS 9.1 (yes, very old, I know).

 

There is no Proc DTREE in SAS 9.1 and I was told to try doing it with just base SAS (data step and proc step). I tried looking up some documentations on online but I can't seem to find any. Does anyone have any resources that can guide me on how to build the decision tree model using just SAS base (no Proc Dtree)?

 

Thanks!

1 REPLY 1
DougWielenga
SAS Employee

SAS/STAT 14.1 which runs on SAS 9.4 introduced the HPSPLIT procedure which builds tree-based statistical models for classification and regression, so you might want to check into getting a machine that can run SAS 9.4.

 

There is no procedure for building decision trees in SAS 9.1 other SAS Enterprise Miner.  The TREE procedure that is available in SAS/STAT produces a tree diagram, also known as a dendrogram or phenogram, from a data set created by the CLUSTER or VARCLUS procedure that contains the results of hierarchical clustering as a tree structure, but this is a visualization tool rather than a tree-based statistical model.

 

Hope this helps!

Doug  

 

 

 

 

 

 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1527 views
  • 0 likes
  • 2 in conversation