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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 1033 views
  • 0 likes
  • 2 in conversation