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.

Example<br />

CTABLES /TABLE HAPPY.<br />

General<br />

happiness<br />

• The counts for HAPPY are in the rows.<br />

Example<br />

CTABLES /TABLE BY HAPPY.<br />

• The counts for HAPPY are in the columns.<br />

Example<br />

CTABLES /TABLE BY BY HAPPY<br />

• The counts for HAPPY are in layers.<br />

Stacking and Nesting<br />

Very happy<br />

Pretty happy<br />

Not too happy<br />

Count<br />

891<br />

1575<br />

340<br />

Very<br />

General happiness<br />

Pretty Not too<br />

happy happy happy<br />

Count Count Count<br />

891 1575 340<br />

General happiness Very happy<br />

Count<br />

891<br />

CTABLES 381<br />

Stacking (or concatenating) variables creates multiple logical tables within a single table<br />

structure.<br />

Example<br />

CTABLES /TABLE HAPPY + HAPMAR BY CHILDCAT.<br />

General<br />

happiness<br />

Happiness<br />

of marriage<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<br />

3-4 5 or more<br />

Count Count Count Count<br />

197 412 221 59<br />

499 662 314 97<br />

98 136 79 27<br />

111 462 232 49<br />

51 238 133 22<br />

5 18 10 4

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

Saved successfully!

Ooh no, something went wrong!