Which INFORMAT reads this raw data and stores it as a SAS date value?

Given the following raw data record: 07Jan2005 Which INFORMAT reads this raw data and stores it as a SAS date value?A . dmy9. B. date9. C. ddMMMyy9. D. ddmmmyyyy9.View AnswerAnswer: B

September 14, 2022 No Comments READ MORE +

Which statement(s) completed the program and produced a non-missing value for the variable TOTQUANTITY in the final observation of the output data set?

1941 1 The following SAS program is submitted: data coins; infile ‘yearamt’; input year quantity; <insert statement(s) here> run; Which statement(s) completed the program and produced a non-missing value for the variable TOTQUANTITY in the final observation of the output data set?A . totquantity + quantity; B. totquantity = sum(totquantity...

September 14, 2022 No Comments READ MORE +

Which expression successfully completed the program and created the variable DAY?

Given the SAS data set ONE: ONE ObsDte ------------- 109JAN2005 212JAN2005 The following SAS program is submitted: data two; set one; day = <insert expression here>; format dte date9.; run; The data set TWO is created: TWO ObsDteDay 109JAN20051 12JAN20054 Which expression successfully completed the program and created the variable...

September 14, 2022 No Comments READ MORE +

What are the length and value of the variable ADDRESS?

The following SAS program is submitted: data one; addressl = ‘214 London Way’; run; data one; set one; address = tranwrd(address1, ‘Way’, ‘Drive’); run; What are the length and value of the variable ADDRESS?A . Length is 14; value is ‘214 London Dri’. B. Length is 14; value is ‘214...

September 14, 2022 No Comments READ MORE +

What is written to the output raw data file?

Given the SAS data set PEPM.STUDENTS: PERM.STUDENTS NAME AGE Alfred 14 Alice13 Barbara13 Carol14 The following SAS program is submitted: libname perm ‘SAS data library’; data students; set perm. Students; file ‘file specification’; put name $15. @5 age 2.; run; What is written to the output raw data file?A ....

September 13, 2022 No Comments READ MORE +

Which statement correctly computes the average of four numerical values?

Which statement correctly computes the average of four numerical values?A . average = mean(num1, num4); B. average = mean(num1 - num4); C. average = mean(ofnum1 - num4) D. average = mean(num1 num2 num3 num4);View AnswerAnswer: C

September 13, 2022 No Comments READ MORE +

How many observations are written the WORK SALES data set?

The following SAS program is submittad: data work.sales; do year = 1 to 5; do month=1 to 12; x+1; output end; end; run; How many observations are written the WORK SALES data set?A . 0 B. 1 C. 5 D. 60View AnswerAnswer: D

September 13, 2022 No Comments READ MORE +

How will the EXAM variable value be displayed in the REPORT procedure output?

The following SAS program is submitted: proc format value score 1 - 50 = ‘Fail’ 51 - 100 = ‘Pass’; run; proc report data = work.courses nowd; column exam; define exam / display format = score.; run; The variable EXAM has a value of 50.5. How will the EXAM variable...

September 13, 2022 No Comments READ MORE +

How many observations will be displayed?

Given the following code: proc print data=SASHELP.CLASS(firstobs=5 obs=15); where Sex='M'; run; How many observations will be displayed?A . 11 B. 15 C. 10 or fewer D. 11 or fewerView AnswerAnswer: D

September 13, 2022 No Comments READ MORE +

Which output is correct?

Given the SAS data set WORK.TEMPS: The following program is submitted: Which output is correct? A . Option A B. Option B C. Option C D. Option DView AnswerAnswer: C

September 13, 2022 No Comments READ MORE +