What variable X contains what value?

The following SAS program is submitted: data WORK.DATE_INFO; X="01Jan1960" D; run; What variable X contains what value?A . the numeric value 0 B. the character value "01Jan1960" C. the date value 01011960 D. the code contains a syntax error and does not execute.View AnswerAnswer: A

September 9, 2022 No Comments READ MORE +

What is contained in the output?

Given the SAS data set EMPLOYEES: EMPLOYEES NAME SALARY -------- ------------ Innis60000 Jolli50000 Ellis55000 Liu45000 The following SAS program is submitted: proc print data = employees; where name like ‘_i%’; run; What is contained in the output?A . Liu only B. Innis and Ellis only C. Innis, Ellis, and Liu...

September 9, 2022 No Comments READ MORE +

Which ODS statements complete the program and send the report to an HTML file?

The following SAS program is submitted: <insert ODS statement here> proc means data = sasuser.shoes; where product in (‘Sandal’ , ‘Slipper’ , ‘Boot’); run; <insert ODS statement here> Which ODS statements complete the program and send the report to an HTML file?A . ods html = ‘sales.html’; ods html close;...

September 9, 2022 No Comments READ MORE +

Which report is produced?

Given the SAS data set ONE: Given the SAS data set WORK.ONE: The following SAS program is submitted: Which report is produced? A . Option A B. Option B C. Option C D. Option DView AnswerAnswer: B

September 9, 2022 No Comments READ MORE +

Which SAS program correctly reads in the raw data?

Given the following raw data record: ----I----10---I----20---I----30 son Travis, The following output is desired: Obs relation firstname 1 son Travis Which SAS program correctly reads in the raw data?A . data family ( dIm = ‘,’); infile ‘tile specification’; input relation $ firstname $; run; B. options dIm = ‘,’;...

September 9, 2022 No Comments READ MORE +

Which statement successfully completes the program so that TOTAL has a value of 505-6465-09090?

The following SAS program is submitted: data combine; prefix=’505’; middle=’6465 ‘; end=’09090’; <insert statement here>; run; Which statement successfully completes the program so that TOTAL has a value of 505-6465-09090?A . total = cat(’-’, prefix, middle, end); B. total = catx(’-’, prefix, middle, end); C. total = prefix !!’-’!! middle...

September 9, 2022 No Comments READ MORE +

Which SAS statement completes the program and results in a value of ‘Printing750’ for the DEPARTMENT variable?

Given the raw data record DEPT: ----|----10---|----20---|----30 Printing 750 The following SAS program is submitted: data bonus; infile ‘dept’; inputdept$ 1-11 number 13- 15; <insert statement here> run; Which SAS statement completes the program and results in a value of ‘Printing750’ for the DEPARTMENT variable?A . department = dept II...

September 9, 2022 No Comments READ MORE +