![]() Chapter Contents |
![]() Previous |
![]() Next |
| The UNIVARIATE Procedure |
| Procedure features: |
| |||||||||||||||||||||||||||||||||||
| Other features: |
| |||||||||||||||||||||||||||||||||||
| Data set: | METROPOP |
| Program |
| | goptions htitle=4 htext=3 ftext=swiss ftitle=swiss; |
| | proc format;
value Regnfmt 1='Northeast'
2='South'
3='Midwest'
4='West';
run; |
| | proc univariate data=metropop noprint;
var populationcount; |
| | class region decade(order=freq); |
| | histogram /nrows=4 ncols=2 intertile=1 cfill=cyan vscale=count
vaxis=0 4 8 12 vaxislabel='No. of States'
midpoints=0 to 30 by 5; |
| | inset sum='Total Population:' (4.1) / noframe position=ne
height=2 font=swissxb; |
| | format region regnfmt.; title 'United States Census of Population and Housing'; run; |
| Output |
Two-way Comparative Histogram
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.