Features: |
PROC TABULATE statement option: OUT=
TABLE statement option: PRINTMISS |
Other features: |
PRINT procedure |
Data set: | ENERGY |
proc tabulate data=energy format=dollar12.;
class region division type / preloadfmt;
var expenditures;
table region*division, type*expenditures / rts=25 printmiss;
format region regfmt. division divfmt. type usetype.;
title 'Energy Expenditures for Each Region'; title2 '(millions of dollars)'; run;
proc tabulate data=energy format=dollar12. out=tabdata;
class region division type / preloadfmt exclusive;
var expenditures;
table region*division, type*expenditures / rts=25;
format region regfmt. division divfmt. type usetype.;
title 'Energy Expenditures for Each Region'; title2 '(millions of dollars)'; run;
proc print data=tabdata; run;
Northeast
and Pacific
.