hi, i need to write code to build classification tree in sas, but it shows error.
coudl you please help?
Are you using SAS UE? If so, I don't think HP procedures are available.
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 ?
It depends on the model. Proc score exists as well as a CODE statement in various procs.
If you are using PROC HPSPLIT , check CODE statement. proc hpsplit .......... ...... code 'score.sas'; .... data want; set test; %include 'socre.sas'; run;
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
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!
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.