BookmarkSubscribeRSS Feed
TomasHlavsa
Fluorite | Level 6

Hi,

I am trying to build the decision tree model. Based on help I have found (http://support.sas.com/resources/papers/proceedings15/SAS1940-2015.pdf, or http://support.sas.com/documentation/cdl/en/stathpug/68163/HTML/default/viewer.htm#stathpug_hpsplit_...) I try to learn the procedure.

 

Using the example "Wine" (syntaxe above in the second link) SAS returns notification about the error: "ERROR: Regression trees (interval target) can only use VARIANCE and FTEST criteria". But my target variable (class) is nominal type, expressed by number (1, 2, and 3).

 

Can anybody help me to solve it?

 

Thank you,

Tomas

 

2 REPLIES 2
AnnKuo
SAS Employee

If you are encountering any errors with your PROC HPSPLIT code, then first make sure that you are running SAS/STAT 14.1 (9.4TS1M3) or later.  Errors can occur when trying to use older releases.

 

Accordingly to SAS Note 50555 the HPSPLIT procedure is first available as a stand-alone procedure in SAS/STAT 14.1, which corresponds to SAS 9.4 TS1M3.

 

I've run the code provided in the Getting Started section of PROC HPSPLIT in SAS/STAT(R) 14.1 User's Guide in a 9.4TS1M3 environment, and the error message no longer exists.

                                                                                                                                                             

If you still having the same issue in a supported release, please contact SAS Technical Support:

 

Contact SAS Technical Support

 

Thank you!

 

Ann

 

 

 

TomasHlavsa
Fluorite | Level 6
Thank you Ann, it was due to the version of SAS which I have.
Really appreciated your comment!
Tomas

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 3371 views
  • 0 likes
  • 2 in conversation