Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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