Previous Page | Next Page

The GMAP Procedure

Example 4: Specifying the Statistic for the Response Variable


Procedure features:

BLOCK statement options:

STATISTIC=

LEVELS=

RELZERO

Sample library member: GMPSTAT

[Specifying a Statistic for the Response Variable]

This example specifies the statistic for the response variable that is displayed by the block map. The STATISTIC= option specifies that the statistic is frequency rather than the default statistic (sum).

 Note about code
goptions reset=all border;
 Note about code
title1 "Number of ZIP Codes per State";
footnote j=r "GMPSTAT";
 Note about code
proc gmap map=maps.us data=sashelp.zipcode all;
   id state;
   block zip / statistic=frequency
                     levels=5 relzero;
run;
quit;

Previous Page | Next Page | Top of Page