27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

902<br />

MAPS<br />

Example<br />

MAPS<br />

/GVAR = VAR(state)<br />

/GSET = ’United States’<br />

/TITLE = ’Sales by Customer Type’<br />

/PIEMAP= VAR(sale_prd) BY VAR(industry)<br />

SUM=(SUM)<br />

GRADUATED = YES<br />

LEGENDTITLE = ’’.<br />

• This command produces a map of the United States with a pie chart in each state indicating<br />

the sum of product sales by customer type (industry).<br />

• Because GRADUATED=YES, the pies are scaled so that their diameters are proportional to<br />

the total sales for each state relative to that of the other states.<br />

• The null legend title prevents the variable label for INDUSTRY from being printed there,<br />

since the title is used to give that information.<br />

Summary Functions<br />

The following functions are available for any map theme. Some may be inappropriate, such<br />

as means and standard deviations in pie charts or individual values charts, and are not available<br />

through the graphical user interface, but you are not prevented from using them in the<br />

command language. To obtain counts, use $COUNT in place of VAR(varname) as indicated in<br />

the sections on theme subcommands.<br />

First Values. The value found in the first case for each category in the data file at the time the<br />

summary function was assigned.<br />

Last Values. The value found in the last case for each category in the data file that created it.<br />

Maximum Values. The largest value within each category.<br />

Means. The arithmetic average for each category.<br />

Medians. The value below which half of the cases fall in each category. If there is an even<br />

number of cases, the median is the average of the two middle cases when they are sorted in<br />

ascending or descending order.<br />

Minimum Values. The smallest value within each category.<br />

Modes. The most frequently occurring value within each category. If multiple modes exist,<br />

the smallest value is used.<br />

Number of Cases Above (N of Cases >). The number of cases having values above the specified<br />

value.<br />

Number of Cases Between (N Between). The number of cases between two specified values.<br />

Number of Cases Equal to (N of Cases =). The number of cases equal to the specified value.<br />

Number of Cases Greater Than or Equal to (N of Cases >=). The number of cases having values<br />

above or equal to the specified value.

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

Saved successfully!

Ooh no, something went wrong!