nerdexam
SAS_Institute

A00-201 · Question #60

The following SAS program is submitted: proc report data = sasuser.houses nowd headline headskip; column style price; where price < 100000; <insert code here> title; run; Click the Exhibit button to…

The correct answer is C. .define style / display 'Style'; define price / sum 'Price' format = dollar9. See the full explanation below for the reasoning.

Question

The following SAS program is submitted: proc report data = sasuser.houses nowd headline headskip; column style price; where price < 100000; <insert code here> title; run; Click the Exhibit button to view the output from the REPORT procedure. Assuming that the PRICE variable is numeric, which one of the following completes the program and produces the output displayed in the exhibit?

Options

  • A.define style / group 'Style'; define price / mean 'Price' format = dollar9.;
  • B.define style / display 'Style'; define price / across 'Price' format = dollar9.;
  • C.define style / display 'Style'; define price / sum 'Price' format = dollar9.;
  • D.define style / order 'Style'; define price / mean 'Price' format = dollar9.;

How the community answered

(35 responses)
  • A
    17% (6)
  • B
    9% (3)
  • C
    71% (25)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full A00-201 Practice