Question: SAS question THERE IS NO DATA SET NEEDED answer is in code, PROGRAM DOES NOT NEED TO BE RUN IN SAS data work.aggregate; set work.payroll;

SAS question

THERE IS NO DATA SET NEEDED

answer is in code, PROGRAM DOES NOT NEED TO BE RUN IN SAS

data work.aggregate; set work.payroll; by Branch; if first.Branch then aggregate=0; aggregate+Salary; if last.Branch; run;

The data set payroll is sorted by Branch and contains the numeric variable Salary that provides each employee's annual salary. work.payroll contains 320 observations (20 observations for each of 16 Branchs.)

How many observations will the data set aggregate contain after the program is run?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!