Questions
Which option is added to
PROC CONTENTS
to the variables to print in the order in which they are in the dataset, not in alphabetical order?What does
ge 10 and le 20
mean?Why would a programmer want to attach user-defined formats to a categorical variable with five categories coded 1, 2, 3, 4, and 5?
Why might a SAS warehouse choose not to use labels and formats?
Imagine a new programmer is hired at a SAS warehouse. Should they be told to use
PROC PRINT
orPROC SQL
to view data?In this chapter, we used a user-defined format to make a continuous variable, BMI, display in categories. What is the main problem with doing this?
How is knowing the observation number of a row in
PROC PRINT
helpful?