Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Statscraft 0.7.0, release v0.7.0

MEANS

Statistics of dependent variables within groups of control variables.

Syntax

MEANS [TABLES=]deps [BY controls [BY ...]] [/deps BY ...] [/CELLS=cell ...]
      [/STATISTICS=ANOVA | LINEARITY | NONE] [/MISSING=TABLE | INCLUDE | DEPENDENT].
cell: MEAN COUNT STDDEV MEDIAN GMEDIAN SEMEAN SUM MIN MAX RANGE VARIANCE KURT SEKURT SKEW
SESKEW FIRST LAST NPCT SPCT NPCT(var) SPCT(var) HARMONIC GEOMETRIC DEFAULT ALL; DEFAULT is MEAN
COUNT STDDEV. GMEDIAN is the grouped median: each value is the midpoint of its interval.
NPCT(var) and SPCT(var) give the percent of the N and of the sum of the cases in the same
category of var, which must be a control of every table list (all cases on its Total rows).
One Report table per dependent and combination of controls: every group of the first control,
the next nested inside, each level with a Total. A Case Processing Summary per table list.
A string dependent gets COUNT, FIRST and LAST only. ANOVA gives the analysis of variance by the
first control with eta; LINEARITY adds the linear term and r (three or more numeric groups).
Without /MISSING each dependent with its controls leaves out its own missing cases; any /MISSING
leaves out cases missing on any variable of the list (INCLUDE: user-missing values count;
DEPENDENT: they count for the controls only). Weighted when a weight variable is set.

Example

MEANS TABLES=income BY region BY gender /CELLS=MEAN COUNT STDDEV MEDIAN /STATISTICS=ANOVA.

statscraft help MEANS prints the same text in the terminal. All commands