a10 - EXAMPLE A10 SAS Program options ls=100 ps=45 nodate...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: EXAMPLE A10 SAS Program options ls=100 ps=45 nodate pageno=1; data prindata; input region : $8. state $2. +1 month monyy5. headcnt revenue expenses; format month monyy5. revenue dollar12.2; datalines; SOUTHERN FL JAN78 10 10000 8000 SOUTHERN FL FEB78 10 11000 8500 SOUTHERN FL MAR78 9 13500 9800 SOUTHERN GA JAN78 5 8000 2000 SOUTHERN GA FEB78 7 6000 1200 PLAINS NM MAR78 2 500 1350 NORTHERN MA MAR78 3 1000 1500 NORTHERN NY FEB78 4 2000 4000 NORTHERN NY MAR78 5 5000 6000 EASTERN NC JAN78 12 20000 9000 EASTERN NC FEB78 12 21000 8990 EASTERN NC MAR78 12 20500 9750 EASTERN VA JAN78 10 15000 7500 EASTERN VA FEB78 10 15500 7800 EASTERN VA MAR78 11 16600 8200 CENTRAL OH JAN78 13 21000 12000 CENTRAL OH FEB78 14 22000 13000 CENTRAL OH MAR78 14 22500 13200 CENTRAL MI JAN78 10 10000 8000 CENTRAL MI FEB78 9 11000 8200 CENTRAL MI MAR78 10 12000 8900 CENTRAL IL JAN78 4 6000 2000 CENTRAL IL FEB78 4 6100 2000 CENTRAL IL MAR78 4 6050 2100 ; run: proc sort; by region state month; run; proc print; run; proc print label; by region state ; format expenses dollar10.2 ; label state= State month= Month revenue='Sales Revenue' expenses='Overhead Expenses'; id region state; sum revenue expenses; sumby region; title ' Sales report by state and region'; run;...
View Full Document

Page1 / 7

a10 - EXAMPLE A10 SAS Program options ls=100 ps=45 nodate...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online