Multiple choice technology programming languages

While using CLASS and BY Statements in PROC MEANS one should keep in mind :

  1. Use the CLASS Statement when number of observation >10000

  2. Use the By Statement when number of observation <1000

  3. Using the BY Statement requires that the input data set be sorted by the values of the classification variables

  4. Using the CLASS Statement requires that the input data set be sorted by the values of the classification variables

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The BY statement requires input data to be sorted by the BY variables before PROC MEANS executes. The CLASS statement does NOT require sorting - it handles unsorted data automatically. Option C correctly states the BY statement's sorting requirement. The observation count thresholds in options A and B are arbitrary and incorrect.