Hello, I would like to generate a stacked bar chart in Enterprise Miner where the bars are all 100% while showing the relative proportions by the group variable.
The options tried so far:
- the Graph Explore node does not seem to provide this functionality;
- EM macros within a SAS Code node do not seem to support the g100 option for the bar graph.
The current graph is attached, the goal is to normalize the stacked bars to 100%.
Any advice would be highly appreciated.
Grig
Click on the arrow on the variable in Rows. Select Add Table Calculation; Calculation Type: Percent of Total; Compute Using: Cell.
Thank you very much for your reply! However I don't seem to find this option in the Graph Explore node of Enterprise Miner. Is this the node I should be using?
Sorry, I got my wires crossed. I gave you instructions for doing this in Tableau. I would have to research how to do this in SAS EM.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.