BookmarkSubscribeRSS Feed
Macy
Calcite | Level 5

hi, i need to write code to build classification tree in sas, but it shows error.

coudl you please help?

 

 


Untitled.png
6 REPLIES 6
Reeza
Super User

Are you using SAS UE? If so, I don't think HP procedures are available. 

Macy
Calcite | Level 5

hi,

i am using sas studio, but it is solved now.

 

one more question, do you know how to score model in sas studio, what is the code i shall write ?

Reeza
Super User

It depends on the model. Proc score exists as well as a CODE statement in various procs. 

Ksharp
Super User
If you are using PROC HPSPLIT , check CODE statement.

proc hpsplit ..........
......
code 'score.sas';
....

data want;
 set test;
 %include 'socre.sas';
run;


Shmuel
Garnet | Level 18

Beside to @Reeza's answer, I have general remarks:

   when you need help with writing a code program - post yout code

   when you have error while running - post your log, thus displaying the code and the error message

   when you doubt about how to deal with your data - post a sample of input data, your wanted output and your code

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!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 6 replies
  • 1607 views
  • 3 likes
  • 5 in conversation