I have 2 SAS dataset. dataset a has the total number of employees for each dept. dataset b has the total number of employees of interest for each dept. I need to generate a histogram that list each dept with the total of number of employees, the number of employees of interest, and the percentage. Both dataset have the following format: SSN, Dept, Job_Title, and Num_Emp.
For example,
Dept Total Emp Num of Emp Percentage
Machine Shop 80 20 25%
Analysts 50 10 20%
How do I do that? The only way I know how to do it is manually. I can have a freq table for each dataset and then just write down the numbers and calculate the percentage myself. But that doesn't give me a histogram.
thanks in advance for the help!
For example,
Dept Total Emp Num of Emp Percentage
Machine Shop 80 20 25%
Analysts 50 10 20%
How do I do that? The only way I know how to do it is manually. I can have a freq table for each dataset and then just write down the numbers and calculate the percentage myself. But that doesn't give me a histogram.
thanks in advance for the help!