Question: Review the following code: data work.comp; set orion.sales; if Job _ Title = 'Sales Rep. IV ' then Bonus = 1 0 0 0 ;
Review the following code:
data work.comp;
set orion.sales;
if JobTitle 'Sales Rep. IV then
Bonus;
if JobTitle 'Sales Manager' then
Bonus;
if JobTitle 'Senior Sales Manager' then
Bonus;
if JobTitle 'Chief Sales Officer' then
Bonus;
run;
Is it possible for more than one condition to be true for a single observation?
Question options:
Yes, more than one condition can be true.
No the conditions are mutually exclusive, so only one conclusion can be true.
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
