Question: When using PROC IMPORT to read in a raw data file, what is the appropriate syntax to use with the OUT = option to





When using PROC IMPORT to read in a raw data file, what is the appropriate syntax to use with the OUT = option to read the data into a new dataset called news in the articles library? Select one: a. OUT = news.articles b. OUT articles.news c. OUT = news d. OUT = (LIB articles, DATA news) e. OUT articles = = In a PROC IMPORT step, what is the purpose of the GETNAMES statement? Select one: a. To indicate if the first row of data corresponds to variable (column) names b. To indicate that the file name is correct c. To describe the names used for the rows (observations) in the data d. To describe the type of delimiter If you have a SAS dataset (.sas7bdat file), how can you gain access to that dataset in SAS? Select one: a. Use PROC IMPORT b. Use PROC SORT to move the data file c. Place the file in a SAS library d. Change the file extension to .sas e. Use a DATA step to read the data in TRUE or FALSE: A SET statement in a DATA step can be used to read in a raw data file (a file not yet processed by SAS). Select one: True O False In a DATA step, what is the purpose of a SET statement? Select one: a. To make a copy of an existing dataset b. To define an outputted dataset's library c. To create new variables d. To set the type of raw data to read in e. To define the delimiter of the data
Step by Step Solution
3.35 Rating (155 Votes )
There are 3 Steps involved in it
Answer First Question Option a is the correct answer When using PROC IMPORT to read in a raw data file the appropriate syntax to use with the OUT opti... View full answer
Get step-by-step solutions from verified subject matter experts
