본문 바로가기

SAS/Chapter Review Quiz

(5)
Chapter 2. Accessing Data 1. In this PROC CONTENTS output, what is the default length of the variable Month? [숫자형 변수의 기본 length] (b) d 라고 답해서 틀림. Monthis a numeric variable, and the default length of numeric variables is 8 bytes. 2. Which PROC step successfully prints a list of all data sets in the orion library without printing descriptor portions for the individual data sets? [PROC CONTETNS] (b) A PROC CONTENTS step pr..
Chapter 1. SAS Programs 1. How many step boundaries does this program contain? [프로그램 step boundaries] (c) RUN, QUIT, DATA, and PROC statements function as step boundaries, which determine when SAS statements take effect and indicate the end of the current step or the beginning of a new step. 2. Which of the following is a SAS syntax requirement? [SAS syntax] (d) All SAS statements must end with a semicolon, but they ar..
Chapter 13. Data Transformations 1. The variable Address2 contains values such as Piscataway, NJ. Select the statement that extracts and assigns the two-letter state abbreviation to a new variable named State. [SCAN 함수] (a) d 선택해서 틀림 In this case, you do not need to specify delimiters, because the blank and the comma are default delimiters. 'NJ' 만 추출하려면 scan 함수를 사용해야 한다. 2. Due to growth within the 919 area code, the telephone ..
Chapter 15. Producing Descriptive Statistics Q. The default statistics produced by the MEAN procedure are n-count, mean,minimum,maximun, and which one if the following statistics: (standard deviation) By default, the MEANS procedure produces the n, mean, minimum, maximum, and standard deviation. n mean minimum maximum standard deviation Q. Which statement limits a PROC MEANS analysis to the variables Boarded, Transfer, and Deplane? - PROC ..
Chapter 8. By-Group Processing Q. BY statement 사용과 관련하여 틀린 것은? ( FIRST. and LAST. are stored in the data set. ) When you use the BY statement with the SET statement, the DATA step creates the temporary variables FIRST. and LAST. They are not stored in the data set. The data sets. listed in the SET statement must be indexed or sorted by the values of the BY variable or variables. The DATA step automatically creates two variabl..