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.

398 CTABLES<br />

Example<br />

CTABLES /TABLE AGECAT<br />

/CATEGORIES VARIABLES=AGECAT TOTAL=YES LABEL=’Total Respondents’.<br />

Age<br />

category<br />

Example<br />

CTABLES /TABLE AGE [MEAN ’Average’ F5.1] > SEX<br />

/CATEGORIES VARIABLES=SEX TOTAL=YES LABEL=’Combined’.<br />

Age of<br />

respondent<br />

• The summary function for AGE appears in cells determined by the values of SEX. The<br />

total is requested for SEX to obtain the average age across both sexes.<br />

Empty Categories<br />

Less than 25<br />

25 to 34<br />

35 to 44<br />

45 to 54<br />

55 to 64<br />

65 or older<br />

Total Respondents<br />

Gender<br />

Male<br />

Female<br />

Combined<br />

Count<br />

242<br />

627<br />

679<br />

481<br />

320<br />

479<br />

2828<br />

Average<br />

44.6<br />

46.3<br />

45.6<br />

Empty categories are those for which no cases appear in the data. For an explicit category<br />

list, this includes all explicitly named values and all labeled values implied by THRU,<br />

OTHERNM, or MISSING. For an implicit category list, this includes all values for which value<br />

labels exist.<br />

EMPTY Whether to show categories whose count is zero. You can specify<br />

EMPTY=INCLUDE (the default) or EMPTY=EXCLUDE.<br />

TITLES Subcommand: Titles, Captions, and Corner Text<br />

The TITLES subcommand specifies table annotations. If the subcommand is used, a title,<br />

caption, or corner text must be specified. No caption, title, or corner text is displayed by<br />

default.<br />

/TITLES CAPTION= [’text’ ’text’...]<br />

CORNER= [’text’ ’text’...]<br />

TITLE= [’text’ ’text’...]<br />

CAPTION Caption lines. The caption appears below the table. Multiple lines can be specified.<br />

Each line must be quoted.

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

Saved successfully!

Ooh no, something went wrong!