SAS_Institute
A00-201 · Question #46
The following SAS program is submitted: proc sort data = sasuser.houses out = houses; by style; run; proc print data = houses; <insert statement(s) here> run; Click on the Exhibit button to view the…
The correct answer is C. id style; by style; var bedrooms baths price. See the full explanation below for the reasoning.
Question
The following SAS program is submitted: proc sort data = sasuser.houses out = houses; by style; run; proc print data = houses; <insert statement(s) here> run; Click on the Exhibit button to view the report produced. Which of the following SAS statement(s) create(s) the report? Report: style bedrooms baths price CONDO 2 1.5 80050 3 2.5 79350 4 3.5 122150 2 2.0 110700 RANCH 2 1.0 64000 3 3.0 86650 3 1.0 89100 1 1.0 54550 SPLIT 1 1.0 65850 4 3.0 92250 4 2.5 73450 TWOSTORY 4 3.0 107350 2 1.0 65850 2 1.0 69250 4 2.5 102950
Options
- Aid style;
- Bid style; var bedrooms baths price;
- Cid style; by style; var bedrooms baths price;
- Did style; by style; var style bedrooms baths price;
How the community answered
(36 responses)- A3% (1)
- B11% (4)
- C81% (29)
- D6% (2)
Community Discussion
No community discussion yet for this question.