Multiple choice technology programming languages

There are 45 records having the variable REGION value as missing.How to display the SUM and MEAN of TOTREV for these records?

  1. PROC MEANS DATA= ORGANIZATION SUM MEAN ; CLASS REGION; VAR TOTREV / MISSING; run;

  2. PROC MEANS DATA= ORGANIZATION SUM MEAN MAXDEC=0 NMISS; CLASS REGION; VAR TOTREV; run;

  3. PROC MEANS DATA= ORGANIZATION SUM MEAN MAXDEC=0 if not MISSING; CLASS REGION; VAR TOTREV; run;

  4. PROC MEANS DATA= ORGANIZATION SUM MEAN MAXDEC=0 MISSING; CLASS REGION; VAR TOTREV; run;

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

To include missing CLASS variable values in PROC MEANS output, use the MISSING option in the PROC MEANS statement. Option D correctly places MISSING as a global option. Option A incorrectly places it on the VAR statement, while option B uses NMISS (which counts missing values but doesn't include them in output). Option C has invalid syntax.