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.

OLAP CUBES<br />

OLAP CUBES {varlist} BY varlist [BY...]<br />

[/CELLS= [MEAN**] [COUNT**] [STDDEV**]<br />

[NPCT**] [SPCT**] [SUM** ]<br />

[MEDIAN] [GMEDIAN] [SEMEAN]<br />

[MIN] [MAX] [RANGE]<br />

[VARIANCE] [KURT] [SEKURT]<br />

[SKEW] [SESKEW] [FIRST] [LAST]<br />

[NPCT(var)][SPCT(var)]<br />

[HARMONIC] [GEOMETRIC]<br />

[DEFAULT]<br />

[ALL] [NONE] ]<br />

[/CREATE [{’catname’}...] = {GAC } (gvarname {(gvarvalue gvarvalue) }<br />

{DEFAULT } {GPC } [{(gvarvalue gvarvalue)...}])]<br />

{GAC GPC}<br />

--or--<br />

[/TITLE =’string’][FOOTNOTE= ’string’]<br />

**Default if the subcommand is omitted.<br />

Example<br />

Overview<br />

Options<br />

OLAP CUBES sales BY quarter by region<br />

/CELLS= SUM SPCT(region).<br />

{VAC } {(svarname svarname)}<br />

{VPC } {(svarname svarname)...}<br />

{VAC VPC}<br />

OLAP CUBES produces summary statistics for continuous, quantitative variables within categories<br />

defined by one or more categorical grouping variables.<br />

Cell Contents. By default, OLAP CUBES displays means, standard deviations, cell counts,<br />

sums, percentage of total N, and percentage of total sum. Optionally, you can request any<br />

combination of available statistics.<br />

Group Differences. You can display arithmetic and/or percentage differences between categories<br />

of a grouping variable or between different variables with the CREATE subcommand.<br />

Format. You can specify a title and a caption for the report using the TITLE and FOOTNOTE<br />

subcommands.<br />

1104

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

Saved successfully!

Ooh no, something went wrong!