Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started