Quiz:
Computing
Frequency Distributions
Select the best answer for each question and click Score My Quiz.
-
By default, PROC FREQ creates
a table of frequencies and percentages for which data set variables?
-
Frequency distributions work best
with variables that contain:
-
The data set Finance.Loans
includes the following variables. Which is unsuitable for frequency
analysis?
-
Unless otherwise specified, in
what order are values displayed in frequency distributions?
-
Which ORDER= option will force
frequency distributions to be displayed by frequency count?
-
Which option was used to produce
the table shown below?
proc format;
value htfmt low-64='Short'
65-70='Medium'
71-high='Tall';
run;
proc freq data=clinic.diabmed ... ;
tables height;
format height htfmt.;
run;
Height |
Frequency |
Percent |
Cumulative
Frequency |
Cumulative
Percent |
Medium |
7 |
35.00 |
7 |
35.00 |
Short |
8 |
40.00 |
15 |
75.00 |
Tall |
5 |
25.00 |
20 |
100.00 |
-
Which PROC FREQ step produced
this two-way table?
Frequency
Percent
Row Pct
Col Pct |
|
Table of Weight by Height |
Weight |
Height |
Total |
< 5'5" |
5'5-10" |
> 5'10" |
< 140 |
2
10.00
100.00
28.57 |
0
0.00
0.00
0.00 |
0
0.00
0.00
0.00 |
2
10.00
|
140-180 |
5
25.00
50.00
71.43 |
5
25.00
50.00
62.50 |
0
0.00
0.00
0.00 |
10
50.00
|
> 180 |
0
0.00
0.00
0.00 |
3
15.00
37.50
37.50 |
5
25.00
62.50
100.00 |
8
40.00
|
Total |
7
35.00 |
8
40.00 |
5
25.00 |
20
100.00 |
|
-
When three variables are joined
in a TABLES statement, where does each appear in the layout of the
tables?
-
Which PROC FREQ step produced
this table?
Sex |
Weight |
Height |
Frequency |
Percent |
Cumulative
Frequency |
Cumulative
Percent |
F |
< 140 |
< 5'5" |
2 |
10.00 |
2 |
10.00 |
F |
140-180 |
< 5'5" |
5 |
25.00 |
7 |
35.00 |
F |
140-180 |
5'5-10" |
4 |
20.00 |
11 |
55.00 |
M |
140-180 |
5'5-10" |
1 |
5.00 |
12 |
60.00 |
M |
> 180 |
5'5-10" |
3 |
15.00 |
15 |
75.00 |
M |
> 180 |
> 5'10" |
5 |
25.00 |
20 |
100.00 |
-
Which PROC FREQ step produced
this table?
|
Table of Sex by Weight |
Sex |
Weight |
Total |
< 140 |
140-180 |
> 180 |
F |
10.00 |
45.00 |
0.00 |
55.00 |
M |
0.00 |
5.00 |
40.00 |
45.00 |
Total |
2
10.00 |
10
50.00 |
8
40.00 |
20
100.00 |
|
|