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.

CTABLES 399<br />

CORNER Corner text. Corner text appears in the corner cell of the table, above row titles and<br />

next to column titles. Multiple lines can be specified. Each line must be quoted.<br />

Pivot tables show all corner text that fits in the corner cell. The specified text is<br />

ignored if the table has no corner cell.<br />

The system default TableLook uses the corner area for display of row dimension<br />

labels. To display CTABLES corner text, the Row Dimension Labels setting in Table<br />

Properties should be set to Nested. This choice can be preset in the default<br />

TableLook.<br />

TITLE Title text. The title appears above the table. Multiple lines can be specified. Each<br />

line must be quoted.<br />

The following symbols can be used within any caption, corner text, or title line. Each must<br />

be specified using an opening right parenthesis and all uppercase letters.<br />

)DATE Current date. Displays a locale-appropriate date stamp that includes the year,<br />

month, and day.<br />

)TIME Current time. Displays a locale-appropriate time stamp.<br />

)TABLE Table description. Inserts a description of the table, which consists of the table<br />

expression stripped of measurement levels, statistics specifications, and “/TABLE.”<br />

If variable labels are available, they are used instead of variable names in the table<br />

expression.<br />

Example<br />

CTABLES /VLABELS VARIABLES=SEX HAPMAR DISPLAY=NONE<br />

/TABLE SEX > HAPMAR BY CHILDCAT [COLPCT]<br />

/SLABELS VISIBLE=NO<br />

/TITLE TITLE = ’Marital Happiness for Men and Women ’+<br />

’by Number of Children’<br />

CAPTION= ’Report created at )TIME on )DATE’ ’)TABLE’.<br />

Male<br />

Female<br />

Marital Happiness for Men and Women by Number of Children<br />

Very happy<br />

Pretty happy<br />

Not too happy<br />

Very happy<br />

Pretty happy<br />

Not too happy<br />

Number of children (grouped categories)<br />

None 1-2 3-4 5 or more<br />

63.2% 64.9% 62.2% 71.4%<br />

32.9% 33.0% 35.4% 26.2%<br />

3.9% 2.1% 2.4% 2.4%<br />

69.2% 63.9% 61.6% 57.6%<br />

28.6% 33.2% 35.5% 33.3%<br />

2.2% 2.9% 2.8% 9.1%<br />

Report created at 08:33:53 AM on 08/26/2002<br />

Gender > Happiness of marriage BY Number of children (grouped categories)<br />

• The VLABELS subcommand suppresses the display of variable labels for SEX and<br />

HAPMAR.<br />

• The SLABELS subcommand suppresses the default label for the summary function.

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

Saved successfully!

Ooh no, something went wrong!