SAS Certified Base Programmer 123 Questions (101)
The following SAS program is submitted:
proc freq data=sales; <insert TABLES statement here> run;
Exhibit: output from the FREQ procedure.
The FREQ Procdure Table of Region by Product |
||||
Region | Product | |||
Frequency Percent Row Pct Col Pct |
Boot | Sandal | Slipper | Total |
Africa | 8 12.70 33.33 38.10 |
8 12.70 33.33 38.10 |
8 12.70 33.33 38.10 |
24 38.10 |
Asia | 2 3.17 33.33 9.52 |
2 3.17 33.33 9.52 |
2 3.17 33.33 9.52 |
6 9.52 |
Canada | 5 7.94 33.33 23.81 |
5 7.94 33.33 23.81 |
5 7.94 33.33 23.81 |
15 23.81 |
Pacific | 6 9.52 33.33 28.57 |
6 9.52 33.33 28.57 |
6 9.52 33.33 28.57 |
18 28.57 |
Total | 21 33.33 |
21 33.33 |
21 33.33 |
63 100.00 |
Which one of the following statements completes the program and produces the output?
A. tables region product;
B. tables region* product;
C. tables product region;
D. tables product region*;
Topics:
SAS Base Questions |
1 Comment »
B