SAS_Institute
A00-211 · Question #213
A00-211 Question #213: Real Exam Question with Answer & Explanation
The correct answer is C. define style / group width = 9;. See the full explanation below for the reasoning.
Question
Read the table: Given the SAS data set SASUSER.HOUSES: Obsstylebedroomsbathspricesqteetstreet 1CONDO21.5800501200MAIN 2CONDO32.5793501300ELM 3CONDO42.51271501400OAK 4CONDO22.01107001100FIFTH 5TWOSTORY43.01072502100SECOND 6TWOSTORY21.0556501600WEST 7TWOSTORY21.0692501450NORTH 6TWOSTORY42.5102950 2000SOUTH The following SAS program is submitted: proc report data = sasuser.houses nowd headline; column style price; where price It 100000; <insert DEFINE statement here> define price / mean width = 9 format = dollar12.; title; run; The following output is desired: styleprice ------------- CONDO$79,700 TWOSTORY$62550 Which DEFINE statement completes the program and produces the desired output?
Exhibit
Options
- Adefine style / width = 9,
- Bdefine style / orderwidth = 9;
- Cdefine style / group width = 9;
- Ddefine style / display width = 9;
Community Discussion
No community discussion yet for this question.
