Quiz:
Enhancing
Reports
Select the best answer for each question and click Score My Quiz.
-
TITLE statements stay in effect
until . . .
-
Which title(s) will appear on
the second report produced by this program?
proc print data=data.houses;
title1 'Houses for Sale';
title2 'Orange County';
run;
proc print data=data.houses;
where style='Ranch';
title3 'Ranch Houses';
run;
-
Which statement cancels all of
the titles currently in effect?
title1 'Sales Report'
title2 'Produce'
proc print data=produce.sales;
var store day sales1 sales2
?
run;
-
Which footnote(s) will be displayed
with the second report?
footnote1 'Site 1 Data';
footnote2 'Greater Metro Area';
proc print data=air.quality;
var date hour ozone windspeed;
run;
footnote1 'Site 2 Data';
proc tabulate data=air.quality;
var date hour ozone windspeed;
table max*(ozone windspeed);
run;
-
Which of the following is not
true when assigning footnotes using the FOOTNOTES window?
-
Which of the following is not
true for SAS formats?
-
Which SAS program creates the
output shown below?
Obs |
SquareFeet |
Bedrooms |
Baths |
Price |
1 |
1632 |
3
|
2.5
|
$151,900.00 |
2 |
1692 |
4
|
2.5
|
$150,100.00 |
3 |
1606 |
3
|
2
|
$150,000.00 |
4 |
1708 |
3
|
2.5
|
$153,280.00 |
5 |
1845 |
3
|
2
|
$153,500.00 |
6 |
1499 |
3
|
2.5
|
$154,500.00 |
-
The FORMAT statement below displays
the variable
Total using . . .
format total comma4.;
-
Which statement enables you to
display the variable
Store with the descriptive name
Store Location ?
-
Which SAS program produced the
output shown below?
Obs |
Category |
Store |
Total
Sales |
Total
Returns |
1 |
Biography |
South
Plaza |
72.04 |
22.67 |
2 |
Cooking |
South
Plaza |
117.09 |
25.21 |
3 |
Fiction
|
South
Plaza |
47.05 |
23.13 |
4 |
Sci
Fi |
South
Plaza |
50.09 |
21.91 |
5 |
Self
Help |
South
Plaza |
103.58 |
22.71 |
|