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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ADJUST= {BONFERRONI} ORIGIN=COLUMN<br />

{NONE }<br />

Row, column, and layer elements each have the general form<br />

varname {[C]} [summary ‘label’ format...] {+} varname ...<br />

{[S]} {>}<br />

When nesting (>) and concatenation (+) are combined, as in a + b > c, nesting occurs before<br />

concatenation; parentheses can be used to change precedence, as in (a + b) > c.<br />

CTABLES 377<br />

Summary functions available for all variables: COUNT ROWPCT.COUNT COLPCT.COUNT<br />

TABLEPCT.COUNT SUBTABLEPCT.COUNT LAYERPCT.COUNT LAYERROWPCT.COUNT<br />

LAYERCOLPCT.COUNT ROWPCT.VALIDN COLPCT.VALIDN TABLEPCT.VALIDN<br />

SUBTABLEPCT.VALIDN LAYERPCT.VALIDN LAYERROWPCT.VALIDN LAYERCOLPCT.VALIDN<br />

ROWPCT.TOTALN COLPCT.TOTALN TABLEPCT.TOTALN SUBTABLEPCT.TOTALN LAYERPCT.TOTALN<br />

LAYERROWPCT.TOTALN LAYERCOLPCT.TOTALN<br />

Summary functions available for scale variables and for totals, and subtotals of numeric variables: MAXIMUM<br />

MEAN MEDIAN MINIMUM MISSING MODE PTILE RANGE SEMEAN STDDEV SUM TOTALN<br />

VALIDN VARIANCE ROWPCT.SUM COLPCT.SUM TABLEPCT.SUM SUBTABLEPCT.SUM<br />

LAYERPCT.SUM LAYERROWPCT.SUM LAYERCOLPCT.SUM<br />

Summary functions available for multiple response variables and their totals: RESPONSES<br />

ROWPCT.RESPONSES COLPCT.RESPONSES TABLEPCT.RESPONSES SUBTABLEPCT.RESPONSES<br />

LAYERPCT.RESPONSES LAYERROWPCT.RESPONSES LAYERCOLPCT.RESPONSES<br />

ROWPCT.RESPONSES.COUNT COLPCT.RESPONSES.COUNT TABLEPCT.RESPONSES.COUNT<br />

SUBTABLEPCT.RESPONSES.COUNT LAYERPCT.RESPONSES.COUNT LAYERROWPCT.RESPONSES.COUNT<br />

LAYERCOLPCT.RESPONSES.COUNT ROWPCT.COUNT.RESPONSES COLPCT.COUNT.RESPONSES<br />

TABLEPCT.COUNT.RESPONSES SUBTABLEPCT.COUNT.RESPONSES LAYERPCT.COUNT.RESPONSES<br />

LAYERROWPCT. COUNT.RESPONSES LAYERCOLPCT.COUNT.RESPONSES<br />

For unweighted summaries, prefix U to a function name, as in UCOUNT.<br />

Formats for summaries: COMMAw.d DOLLARw.d Fw.d NEGPARENw.d NEQUALw.d PARENw.d<br />

PCTw.d PCTPARENw.d DOTw.d CCA...CCEw.d Nw.d Ew.d and all DATE formats<br />

Examples<br />

CTABLES /TABLE POLVIEWS [COLPCT] BY AGECAT.<br />

CTABLES /TABLE $MLTNEWS [COUNT COLPCT] BY SEX<br />

/SLABELS VISIBLE=NO<br />

/CATEGORIES VARIABLES=SEX TOTAL=YES.<br />

CTABLES /TABLE (CONFINAN + CONBUS + CONBUS + CONEDUC<br />

+ CONPRESS + CONMEDIC)[COUNT ROWPCT]<br />

/CLABELS ROWLABELS=OPPOSITE.<br />

Overview<br />

The Custom Tables procedure produces tables in one, two, or three dimensions and provides<br />

a great deal of flexibility for organizing and displaying the contents.<br />

• In each dimension (row, column, and layer), you can stack multiple variables to concatenate<br />

tables and nest variables to create subtables. See the TABLE subcommand.<br />

• You can let Custom Tables determine summary statistics according to the measurement<br />

level in the dictionary, or you can assign one or more summaries to specific variables and<br />

override the measurement level without altering the dictionary. See the TABLE<br />

subcommand.

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

Saved successfully!

Ooh no, something went wrong!