Exploring, modeling, predicting and reporting with SAS Visual Analytics and SAS Visual Statistics

Combing Binary Measures into a Category

Reply
New Contributor
Posts: 2

Combing Binary Measures into a Category

GIven a set of numeric measures which contain only 0/1 values, is it possible to collapse these into a Category where each measure becomes a value in the category?  For if measure Car was 1, then it would become "Car" in the category Vehicle.  If measure Truck was 1, then it would become "Truck" in the Vehicle category.

 

Searching around the community and Google hasn't uncovered a way to do this.

 

Thank you.

Respected Advisor
Posts: 4,624

Re: Combing Binary Measures into a Category

Have you considered combining them into a long character string?  "001000000" could be mapped pretty easily.

Post a Question
Discussion Stats
  • 1 reply
  • 88 views
  • 0 likes
  • 2 in conversation