What is output?

The SAS data set WORK.ONE contains a numeric variable named Num ana character variable named Char: WORK.ONE Num Char —— —— 1 23 3 23 1 77 The following SAS program is submitted: proc print data=WORK.ONE; where Num=’1′; run; What is output?A . Num Char— —- 1 23 B. Num Char— —- 1 231...

Which statement is true?

The following SAS program is submitted: data work.total; set work.salary(keep = department wagerate); by department; if first.department then payroll = 0; payroll + wagerate; if last.department; run; The SAS data set named WORKSALARY contains 10 observations for each department, and is currently ordered by DEPARTMENT. Which statement is true?A . The BY statement in...

What new variables are created?

The following SAS program is submitted: data work.test; set work.staff (keep = jansales febsales marsales); array diff_sales{3} difsales1 – difsales3; array monthly{3} jansales febsales marsales; run; What new variables are created?A . JANSALES, FEBSALES and MARSALES B. MONTHLY1, MONTHLY2 and MONTHLY3 C. DIFSALES1, DIFSALES2 and DIFSALES3 D. DIFF_SALES1, DIFF_SALES2 and DIFF_SALES3 View Answer Answer:...