BookmarkSubscribeRSS Feed
meighanj
Obsidian | Level 7

I have a continuous variable which I want to run PROC HPBIN on, however, the problem is that there are a number of special characters in the data. When I run the HPBIN it treats the special characters as continuous data and messes up the bins. Is there anyway for me to specify for the special charcters to each go into their own bin and then bin the rest of the data normally?

1 REPLY 1
WendyCzika
SAS Employee

If you mean you have values like -999 in the data, then I think the only thing you can do is re-code those as missing values, then all the missing values will go into Bin 0 and won't affect the binning of the regular values.  

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!

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