Select the best answer
for each question. Check your answers using the answer key in the
appendix.
-
The default statistics
produced by the MEANS procedure are n-count,
mean, minimum, maximum, and which one of the following statistics:
-
-
-
-
standard error of the
mean
-
Which statement limits
a PROC MEANS analysis to the variables Boarded, Transfer, and Deplane?
-
by boarded transfer deplane;
-
class boarded transfer deplane;
-
output boarded transfer deplane;
-
var boarded transfer deplane;
-
The data set Survey.Health
includes the following numeric variables. Which is a poor candidate
for PROC MEANS analysis?
-
Which of the following
statements is true regarding BY-group processing?
-
BY variables must be
either indexed or sorted.
-
Summary statistics are
computed for BY variables.
-
BY-group processing
is preferred when you are categorizing data that contains few variables.
-
BY-group processing
overwrites your data set with the newly grouped observations.
-
Which group processing
statement produced the PROC MEANS output shown below?
-
Which program can be
used to create the following output?
-
proc means data=clinic.diabetes;
var age height weight;
class sex;
output out=work.sum_gender
mean=AvgAge AvgHeight AvgWeight;
run;
-
proc summary data=clinic.diabetes print;
var age height weight; class sex;
output out=work.sum_gender
mean=AvgAge AvgHeight AvgWeight;
run;
-
proc means data=clinic.diabetes noprint;
var age height weight;
class sex;
output out=work.sum_gender
mean=AvgAge AvgHeight AvgWeight;
run;
-
-
By default, PROC FREQ
creates a table of frequencies and percentages for which data set
variables?
-
-
-
both character and numeric
variables
-
none: variables must
always be specified
-
Frequency distributions
work best with variables that contain which types of values?
-
Which PROC FREQ step
produced this two-way table?
-
proc freq data=clinic.diabetes;
tables height weight;
format height htfmt. weight wtfmt.;
run;
-
proc freq data=clinic.diabetes;
tables weight height;
format weight wtfmt. height htfmt.;
run;
-
proc freq data=clinic.diabetes;
tables height*weight;
format height htfmt. weight wtfmt.;
run;
-
proc freq data=clinic.diabetes;
tables weight*height;
format weight wtfmt. height htfmt.;
run;
-
Which PROC FREQ step
produced this table?
-
proc freq data=clinic.diabetes;
tables sex weight / list;
format weight wtfmt.;
run;
-
proc freq data=clinic.diabetes;
tables sex*weight / nocol;
format weight wtfmt.;
run;
-
proc freq data=clinic.diabetes;
tables sex weight / norow nocol;
format weight wtfmt.;
run;
-
proc freq data=clinic.diabetes;
tables sex*weight / nofreq norow nocol;
format weight wtfmt.;
run;