What is the cause of the syntax errors?
The following SAS program is submitted, but fails due to syntax errors. What is the cause of the syntax errors?A . The keep= data set option should be (keep=MonthExp*).B . An array can only be referenced in a KEEP statement and not within a keep= data set option.C . An...
Which code segment generates the new data set, EX2, which contains a single record per subject and includes the Duration of Treatment?
This item will ask you to determine the missing code. In the data shown below, each record represents a single treatment period and contains a character SUBJID and non-missing numeric dates EXSTDT and EXENDT. The Duration of Treatment (in days) for a single period is defined as Treatment End Date...
Which DO LOOP will create the output SAS data set WORK.LAB_NEW?
This question will ask you to provide a section of missing code. Given the input SAS data set LABRAW: Which DO LOOP will create the output SAS data set WORK.LAB_NEW?A . do i=1 to 2; visit=i; date=dat{i}; result=num{i}; output; end;B . do i=1 to 2; visit=i; date=dat{i}; result=num{i}; end; output;C...
What information can be found in the SAS Dictionary tables? There are two correct answer, Please select two correct answer.
What information can be found in the SAS Dictionary tables? There are two correct answer, Please select two correct answer.A . datasets contained within a specified libraryB . values contained within a specified formatC . variables contained within a specified datasetD . values contained within a specified variableView AnswerAnswer: A...
What is the cause of this error message?
A SAS program is submitted and the following log is written. What is the cause of this error message?A . The ARRAY declaration is syntactically incorrect.B . The IF statement is syntactically incorrect.C . The DO loop tries to get a value from a variable which does not exist.D ....
What will lead to substantial differences between the original Excel spreadsheet and the resulting SAS data set?
You have been asked to import an Excel spreadsheet. What will lead to substantial differences between the original Excel spreadsheet and the resulting SAS data set?A . the number of rows to be read from the Excel fileB . the number of columns to be read from the Excel fileC...
Which line of code would produce the merge issue notes in the log?
This question will ask you to provide a line of missing code. Given the following log entry: Which line of code would produce the merge issue notes in the log?A . if indm ne indisp then output 'MERGE ISSUE: ' subjid= indm= indisp=;B . if indm ne indisp then put...
Which statement will create a report footnote that identifies the date and time that the SAS program was executed?
Which statement will create a report footnote that identifies the date and time that the SAS program was executed?A . footnote1 "Created on &sysdate9 &systime";B . footnote1 = "Created on &sysdate9 &systime";C . footnote1 'Created on &sysdate9 &systime';D . footnote1 = 'Created on &sysdate9 &systime';View AnswerAnswer: A
Given the following code executed with system date and time of April 29, 2020 at 10:33 AM:
Given the following code executed with system date and time of April 29, 2020 at 10:33 AM: data _null_; daytim=put("&sysdate"d,date9.)||" "||put("&systime"t,time8.); call symputx("nowdate", daytim); run; %put &nowdate; The output of the macro variable "nowdate" in the log will be:A . &nowdateB . 29APR2020 10:33 AMC . daytimD . 29APR2020 10:33:00View...
If the value for the variable Subjcode is "WGT2", what is the value of the variable Description?
The following SAS program is submitted: If the value for the variable Subjcode is "WGT2", what is the value of the variable Description?A . missing character valueB . UnknownC . OverD . Wgt2View AnswerAnswer: B