Question: Using SAS Create a bonus variable of $ 1 , 0 0 0 . 0 0 for employees who are leads, managers, or directors, and
Using SAS
Create a bonus variable of $ for employees who are leads, managers, or directors, and $ otherwise.
Here is what I did:
Data bonus;
Set employees;
If indexTitle 'Lead', 'Manager','Director' Then Bonus;
Else Bonus;
run;
When I run this everything comes up under bonus because the titles are listed as "Engineering manager" or "Lead java engineer" Im not sure how to sort to find just the lead manager director words
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
