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.

FIRST First value.<br />

LAST Last value.<br />

SPCT Percentage of total sum.<br />

NPCT Percentage of total number of cases.<br />

OLAP CUBES 1107<br />

SPCT(var) Percentage of total sum within specified variable. The specified variable<br />

must be one of the grouping variables.<br />

NPCT(var) Percentage of total number of cases within specified variable. The specified<br />

variable must be one of the grouping variables.<br />

HARMONIC Harmonic mean.<br />

GEOMETRIC Geometric mean.<br />

ALL All cell information.<br />

CREATE Subcommand<br />

CREATE allows you to calculate and display arithmetic and percentage differences between<br />

groups or between variables. You can also define labels for these difference categories.<br />

GAC (gvar(cat1 cat2)) Arithmetic difference (change) in the summary variable(s) statistics<br />

between each specified pair of grouping variable categories. The<br />

keyword must be followed by a grouping variable name specified in<br />

parentheses, and the variable name must be followed by one or more<br />

pairs of grouping category values. Each pair of values must be<br />

enclosed in parentheses inside the parentheses that contain the<br />

grouping variable name. String values must be enclosed in single or<br />

double quotation marks. You can specify multiple pairs of category<br />

values, but you can only specify one grouping variable, and the<br />

grouping variable must be one of the grouping variables specified at<br />

the beginning of the OLAP CUBES command, after the BY keyword.<br />

The difference calculated is the summary statistic value for the second<br />

category specified minus the summary statistic value for the first category<br />

specified: cat2 – cat1.<br />

GPC (gvar(cat1 cat2)) Percentage difference (change) in the summary variable(s) statistics<br />

between each specified pair of grouping variable categories. The<br />

keyword must be followed by a grouping variable name enclosed in<br />

parentheses, and the variable name must be followed by one or more<br />

pairs of grouping category values. Each pair of values must be<br />

enclosed in parentheses inside the parentheses that contain the<br />

grouping variable name. String values must be enclosed in single or<br />

double quotation marks. You can specify multiple pairs of category<br />

values, but you can only specify one grouping variable, and the<br />

grouping variable must be one of the grouping variables specified at<br />

the beginning of the OLAP CUBES command, after the BY keyword.

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

Saved successfully!

Ooh no, something went wrong!