nerdexam
SAS_Institute

A00-211 · Question #179

The following code was modified to generate the results further below: proc format; value agegrp low-12 ='Pre-Teen' 13-high = 'Teen'; run; proc means data=SASHELP.CLASS; var Height; class Sex Age…

The correct answer is C. proc means data=SASHELP.CLASS min max mean maxdec=1. See the full explanation below for the reasoning.

Question

The following code was modified to generate the results further below:

proc format; value agegrp low-12 ='Pre-Teen' 13-high = 'Teen'; run; proc means data=SASHELP.CLASS; var Height; class Sex Age; format Age agegrp.; run; The following results were generated to display only specific statistics and limit the decimals with the modification: Which statement below was modified or added to generate the results above:

Exhibit

A00-211 question #179 exhibit

Options

  • Avar Height / nobs min max mean maxdec=1;
  • Bproc means data=SASHELP.CLASS maxdec=1 ;
  • Cproc means data=SASHELP.CLASS min max mean maxdec=1;
  • Doutput nobs min max mean maxdec=1;

How the community answered

(26 responses)
  • A
    19% (5)
  • B
    4% (1)
  • C
    69% (18)
  • D
    8% (2)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice