29.12.2013 Views

Base SAS 9.1.3 Procedures Guide - Acsu Buffalo

Base SAS 9.1.3 Procedures Guide - Acsu Buffalo

Base SAS 9.1.3 Procedures Guide - Acsu Buffalo

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1262 Output 4 Chapter 48<br />

Format the output. The FORMAT statement assigns formats to the variables Region,<br />

Division, and Type.<br />

format region regfmt. division divfmt. type usetype.;<br />

Specify the titles.<br />

title ’Energy Expenditures for Each Region’;<br />

title2 ’(millions of dollars)’;<br />

run;<br />

Output<br />

The universal class variable ALL provides subtotals and totals in this<br />

table.<br />

Energy Expenditures for Each Region 1<br />

(millions of dollars)<br />

----------------------------------------------------------------<br />

| | Customer <strong>Base</strong> | |<br />

| |-------------------------| |<br />

| |Residential | Business | All |<br />

| | Customers | Customers | Customers |<br />

|-----------------------+------------+------------+------------|<br />

|Region |Division | | | |<br />

|-----------+-----------| | | |<br />

|Northeast |New England| 7,477| 5,129| 12,606|<br />

| |-----------+------------+------------+------------|<br />

| |Middle | | | |<br />

| |Atlantic | 19,379| 15,078| 34,457|<br />

| |-----------+------------+------------+------------|<br />

| |Subtotal | 26,856| 20,207| 47,063|<br />

|-----------+-----------+------------+------------+------------|<br />

|West |Division | | | |<br />

| |-----------| | | |<br />

| |Mountain | 5,476| 4,729| 10,205|<br />

| |-----------+------------+------------+------------|<br />

| |Pacific | 13,959| 12,619| 26,578|<br />

| |-----------+------------+------------+------------|<br />

| |Subtotal | 19,435| 17,348| 36,783|<br />

|-----------------------+------------+------------+------------|<br />

|Total for All Regions | $46,291| $37,555| $83,846|<br />

----------------------------------------------------------------

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!