Lec9_ReviewQuestions - initialized to zero automatically retained increased by the value of Salary for each observation 3 If a data set is not

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Review questions 1. What statement prevents SAS from reinitializing the values in a variables? 2. Describe the effect on Total_Salary if it is used in this statement: Total_Salary + Salary; 3. If a data set is not sorted, can it be used as the input data set for BY-group processing? 4. In BY-group processing, two temporary variables are created fro each variable listed in the BY statement. What are the names of the temporary variables? 5. How can multiple data sets be created in a DATA step? 6. When the KEEP= data set option is specified on an input data set, all variables are available for processing. True or False?
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Review questions - Answers 1. What statement prevents SAS from reinitializing the values in a variables? Either the RETAIN statement or the sum statement prevents SAS from reinitializing the values in a variables. 2. Describe the effect on Total_Salary if it is used in this statement: Total_Salary + Salary;
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: initialized to zero/ automatically retained/ increased by the value of Salary for each observation. 3. If a data set is not sorted, can it be used as the input data set for BY-group processing? No. BY-group processing depends on the input data set being sorted. 4. In BY-group processing, two temporary variables are created fro each variable listed in the BY statement. What are the names of the temporary variables? First BY-variable and Last.BY-variable where the BY-variable is the name of the variable used in the BY-statement. 5. How can multiple data sets be created in a DATA step? List the described data set names in the DATA statement. 6. When the KEEP= data set option is specified on an input data set, all variables are available for processing. True or False? False. Only the variables listed in KEEP= will be in the PDV and available for processing....
View Full Document

This note was uploaded on 06/12/2011 for the course ASB 1001,2522, taught by Professor Nicole during the One '09 term at University of New South Wales.

Page1 / 2

Lec9_ReviewQuestions - initialized to zero automatically retained increased by the value of Salary for each observation 3 If a data set is not

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online