Quiz:
Creating
Bar and Pie Charts
Select the best answer for each question and click Score My Quiz.
-
Which SAS statement below invokes
a SAS/GRAPH procedure to produce a chart using a SAS data set named
Sales1999 in a SAS data library assigned the libref
Stats?
-
Given the program below, which
statement would you add to produce a horizontal bar chart that calculates
the average of the variable
Profits for each value of
the variable Style ?
proc gchart data=houses.sales;
???
footnote1 '1999 New House Profits';
run;
-
One statement in the following
program contains an error. Which statement is it?
proc gchart data=crimes.misdmnr;
pie region / type=sum;
where robbery gt 300;
title2 'Crimes by Region';
run;
-
Which statement would you add
to the program below to create a vertical bar chart displaying the
sum of the variable
Balance for each value of the variable
Account?
proc gchart data=store1.ledger;
???
where status='PAST DUE';
run;
-
What statistic is displayed in
the bar chart produced by the following program?
proc gchart data=houses.rentals;
vbar style;
run;
-
If you are using RUN-group processing
in interactive mode, which of the following methods would NOT end
the PROC GCHART procedure?
-
In the PROC GCHART step below,
which statement or statements contain an error?
proc gchart data=sales.houses;
pie style / type=cfreq;
vbar style / sumvar=saleprice type=percent;
hbar style / sumvar=saleprice type=mean;
run;
-
To view a permanently stored chart
in a subsequent SAS session, which of the following windows can you
use?
-
Which of the following statements
is false?
-
Which statement is true for both
pie and bar charts?
|