Chapter Quiz

Select the best answer for each question. Check your answers using the answer key in the appendix.
  1. Which of the following statements is false when you use the BY statement with the SET statement?
    1. The data sets listed in the SET statement must be indexed or sorted by the values of the BY variable or variables.
    2. The DATA step automatically creates two variables, FIRST. and LAST., for each variable in the BY statement.
    3. FIRST. and LAST. identify the first and last observation in each BY group, respectively.
    4. FIRST. and LAST. are stored in the data set.
  2. Your data does not require any preprocessing if the observations in all of the data sets occur in which of the following patterns?
    1. Ascending or descending ...

Get SAS Certification Prep Guide, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.