Correct Answer : Get Lastest Questions and Answer : Explanation: As soon as compilation phase finished descriptor portion of the dataset will be generated. But no observations will be created.
Question : You have been wring the SAS programs, now you want to override the behavior of output generations, which of the option or statement you will choose
Correct Answer : Get Lastest Questions and Answer : Explanation: You need to understand the purpose of given each option in questions. DROP= and KEEP= option will help you to what columns/variables you want in the output observations. BY statement will help you to group the observations. END= option to tell SAS to create a temporary numeric value whose value is used to detect the last observation. OUTPUT statement: The OUTPUT statement tells SAS to write the current observation to a SAS data set immediately, not at the end of the DATA step. If no data set name is specified in the OUTPUT statement, the observation is written to the data set or data sets that are listed in the DATA statement.
Question : You have been given below datasets
Which of the following program will generate result as Course100 dataset using Course101 and Course102?
1. data course100; set course101; set course102; run;
2. data course100; set course101 set course102; run;
4. data course100; merge course101 set course102; by course_id; run;
Correct Answer : Get Lastest Questions and Answer : Explanation: if you know, how are all the different ways data will be joined together than this question will be easy for you. Observe results from Course100 - It has number of observation equal to smaller dataset - Same variable values have been overwritten by second dataset Hence, above two things can happen when you try to combine data from two dataset using one-to-one matching set statements.